From b2ec6e0a3e2c5b66ecb9d539236040e1391a833a Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Sun, 26 Feb 2006 08:25:22 +0000 Subject: [PATCH] Update SpiderMonkey configure check Debian compatibility Support the new libmozjs packages in Debian unstable that replace the old libsmjs packages. --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 6e49ba6f..c1b3b5fa 100644 --- a/configure.in +++ b/configure.in @@ -570,8 +570,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"