diff --git a/configure.in b/configure.in index 30aa6f8a..3d8790c4 100644 --- a/configure.in +++ b/configure.in @@ -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"