1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Update SpiderMonkey configure check Debian compatibility

Support the new libmozjs packages in Debian unstable that replace the
old libsmjs packages.
This commit is contained in:
Miciah Dashiel Butler Masters 2006-02-26 08:25:22 +00:00 committed by Miciah Dashiel Butler Masters
parent 59ad38bc53
commit b2ec6e0a3e

View File

@ -570,8 +570,8 @@ if test -z "$disable_spidermonkey"; then
withval=""; withval="";
fi fi
for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey /opt/js; do for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey /opt/js; do
for spidermonkeyinclude in "/include" "/include/js" "/include/smjs"; do for spidermonkeyinclude in "/include" "/include/js" "/include/smjs /include/mozjs"; do
for spidermonkeylib in js smjs; do for spidermonkeylib in js smjs mozjs; do
if test "$cf_result" = no; then if test "$cf_result" = no; then
SPIDERMONKEY_LIBS="-l$spidermonkeylib" SPIDERMONKEY_LIBS="-l$spidermonkeylib"