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.

[ From commits b2ec6e0a3e and
  368504f736 in ELinks 0.12.GIT.  --KON ]
This commit is contained in:
Miciah Dashiel Butler Masters 2006-02-26 08:28:15 +00:00 committed by Kalle Olavi Niemitalo
parent 770b24f41e
commit 98f8f536c4

View File

@ -505,8 +505,8 @@ 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"; do
for spidermonkeylib in js smjs; 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"