mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[configure.ac] Disable spidermonkey by default. Refs #85
If you want to build Spidermonkey support with autotools, you must explicitly add --with-spidermonkey to ./configure invocation and use C++ compiler as CC.
This commit is contained in:
parent
b8db1173c1
commit
df2540be55
@ -636,7 +636,7 @@ fi
|
|||||||
|
|
||||||
# This option sets the $with_spidermonkey variable.
|
# This option sets the $with_spidermonkey variable.
|
||||||
AC_ARG_WITH([spidermonkey],
|
AC_ARG_WITH([spidermonkey],
|
||||||
[AS_HELP_STRING([--without-spidermonkey],
|
[AS_HELP_STRING([--with-spidermonkey],
|
||||||
[disable SpiderMonkey Mozilla JavaScript engine support])])
|
[disable SpiderMonkey Mozilla JavaScript engine support])])
|
||||||
|
|
||||||
# CONFIG_SPIDERMONKEY is initially blank. We change it to "yes" or "no"
|
# CONFIG_SPIDERMONKEY is initially blank. We change it to "yes" or "no"
|
||||||
@ -646,14 +646,14 @@ CONFIG_SPIDERMONKEY=
|
|||||||
EL_SAVE_FLAGS
|
EL_SAVE_FLAGS
|
||||||
|
|
||||||
case "$with_spidermonkey" in
|
case "$with_spidermonkey" in
|
||||||
no)
|
"" | no)
|
||||||
# The user specified --without-spidermonkey.
|
# The user specified --without-spidermonkey.
|
||||||
# That overrides the other SpiderMonkey options.
|
# That overrides the other SpiderMonkey options.
|
||||||
AC_MSG_CHECKING([for SpiderMonkey])
|
AC_MSG_CHECKING([for SpiderMonkey])
|
||||||
AC_MSG_RESULT([disabled])
|
AC_MSG_RESULT([disabled])
|
||||||
CONFIG_SPIDERMONKEY="no"
|
CONFIG_SPIDERMONKEY="no"
|
||||||
;;
|
;;
|
||||||
"" | yes)
|
yes)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_WARN([This version of ELinks does not support --with-spidermonkey=DIRECTORY.])
|
AC_MSG_WARN([This version of ELinks does not support --with-spidermonkey=DIRECTORY.])
|
||||||
|
Loading…
Reference in New Issue
Block a user