diff --git a/configure.in b/configure.in index c1b3b5fa..0ae8db26 100644 --- a/configure.in +++ b/configure.in @@ -570,7 +570,7 @@ if test -z "$disable_spidermonkey"; then withval=""; fi for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey /opt/js; do - for spidermonkeyinclude in "/include" "/include/js" "/include/smjs /include/mozjs"; 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 SPIDERMONKEY_LIBS="-l$spidermonkeylib"