mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
configure.in: Faster lookup for SpiderMonkey.
This commit is contained in:
parent
9ef3dd5e29
commit
0ff55c3ac2
@ -630,7 +630,8 @@ if test -z "$disable_spidermonkey"; then
|
|||||||
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" "/include/mozjs"; do
|
for spidermonkeyinclude in "/include" "/include/js" "/include/smjs" "/include/mozjs"; do
|
||||||
for spidermonkeylib in js smjs mozjs; do
|
for spidermonkeylib in js smjs mozjs; do
|
||||||
if test "$cf_result" = no; then
|
if test "$cf_result" = no &&
|
||||||
|
test -f "$spidermonkeydir$spidermonkeyinclude/jsapi.h"; then
|
||||||
SPIDERMONKEY_LIBS="-l$spidermonkeylib"
|
SPIDERMONKEY_LIBS="-l$spidermonkeylib"
|
||||||
|
|
||||||
if test ! -z "$spidermonkeydir"; then
|
if test ! -z "$spidermonkeydir"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user