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.
This commit is contained in:
parent
59ad38bc53
commit
b2ec6e0a3e
@ -570,8 +570,8 @@ if test -z "$disable_spidermonkey"; then
|
|||||||
withval="";
|
withval="";
|
||||||
fi
|
fi
|
||||||
for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey /opt/js; do
|
for spidermonkeydir in "$withval" "" /usr /usr/local /opt/spidermonkey /opt/js; do
|
||||||
for spidermonkeyinclude in "/include" "/include/js" "/include/smjs"; do
|
for spidermonkeyinclude in "/include" "/include/js" "/include/smjs /include/mozjs"; do
|
||||||
for spidermonkeylib in js smjs; do
|
for spidermonkeylib in js smjs mozjs; do
|
||||||
if test "$cf_result" = no; then
|
if test "$cf_result" = no; then
|
||||||
SPIDERMONKEY_LIBS="-l$spidermonkeylib"
|
SPIDERMONKEY_LIBS="-l$spidermonkeylib"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user