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 commitsb2ec6e0a3e
and368504f736
in ELinks 0.12.GIT. --KON ]
This commit is contained in:
parent
770b24f41e
commit
98f8f536c4
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user