1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00: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:28:15 +00:00 committed by Miciah Dashiel Butler Masters
parent b2ec6e0a3e
commit 368504f736

View File

@ -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"