1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00

configure.in: Faster lookup for SpiderMonkey.

This commit is contained in:
Witold Filipczyk 2007-07-03 14:21:32 +02:00 committed by Kalle Olavi Niemitalo
parent 9ef3dd5e29
commit 0ff55c3ac2

View File

@ -630,7 +630,8 @@ 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; then
if test "$cf_result" = no &&
test -f "$spidermonkeydir$spidermonkeyinclude/jsapi.h"; then
SPIDERMONKEY_LIBS="-l$spidermonkeylib"
if test ! -z "$spidermonkeydir"; then