mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-01 03:36:26 -04:00
configure.in: Do not test if jsapi.h exists.
One can add eg. CPPFLAGS="-I/usr/include/xulrunner" LDFLAGS="-L/usr/lib/xulrunner -Wl,-R/usr/lib/xulrunner" to the ./configure Before xulrunner wasn't found. Now it is possible.
This commit is contained in:
parent
0ec2f8eaa8
commit
a42cd2bb67
@ -636,8 +636,7 @@ if test -z "$disable_spidermonkey"; then
|
||||
for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey /opt/js; do
|
||||
for spidermonkeyinclude in "/include" "/include/js" "/include/smjs" "/include/mozjs"; do
|
||||
for spidermonkeylib in js smjs mozjs; do
|
||||
if test "$cf_result" = no &&
|
||||
test -f "$spidermonkeydir$spidermonkeyinclude/jsapi.h"; then
|
||||
if test "$cf_result" = no; then
|
||||
SPIDERMONKEY_LIBS="-L$spidermonkeydir/lib -l$spidermonkeylib"
|
||||
SPIDERMONKEY_CFLAGS="-I$spidermonkeydir$spidermonkeyinclude"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user