1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-23 00:45:39 +00:00

[configure.ac] Fix build without spidermonkey

This commit is contained in:
Witold Filipczyk 2021-07-21 21:29:58 +02:00
parent 4a2f105738
commit 0951190949

View File

@ -701,13 +701,12 @@ done
if test -z "$CONFIG_SPIDERMONKEY"; then
# Didn't find SpiderMonkey anywhere.
CONFIG_SPIDERMONKEY=no
else
CONFIG_XML=yes
fi
EL_RESTORE_FLAGS
if test "x$CONFIG_SPIDERMONKEY" = xyes; then
CONFIG_XML=yes
EL_CONFIG(CONFIG_ECMASCRIPT_SMJS, [SpiderMonkey document scripting])
else
CONFIG_ECMASCRIPT_SMJS=no