From 98f8f536c4d9bcfaef0de19fc211382abf1f24e0 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Sun, 26 Feb 2006 08:28:15 +0000 Subject: [PATCH] Update SpiderMonkey configure check Debian compatibility Support the new libmozjs packages in Debian unstable that replace the old libsmjs packages. [ From commits b2ec6e0a3e2c5b66ecb9d539236040e1391a833a and 368504f73689f9f34913c29f5567596e4ab34b53 in ELinks 0.12.GIT. --KON ] --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 626625a35..5608522ab 100644 --- a/configure.in +++ b/configure.in @@ -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"