Kaydet (Commit) 4c5589a3 authored tarafından Michael Stahl's avatar Michael Stahl

configure: adjust beanshell/javascript options to

the changes in a72a7dc5.

Change-Id: I79fba4dbe8a72b65625a9ed11fa0b3cebdf80426
üst 3d556fcc
......@@ -637,12 +637,14 @@ AC_ARG_ENABLE(ext-report-builder,
AC_ARG_ENABLE(ext-scripting-beanshell,
AS_HELP_STRING([--enable-ext-scripting-beanshell],
[Enable support for scripts in BeanShell.])
[DEPRECATED: use --enable-scripting-beanshell instead.])
,AC_MSG_ERROR([--enable-ext-scripting-beanshell is no longer supported.])
)
AC_ARG_ENABLE(ext-scripting-javascript,
AS_HELP_STRING([--enable-ext-scripting-javascript],
[Enable support for scripts in JavaScript.])
[DEPRECATED: use --enable-scripting-javascript instead.])
,AC_MSG_ERROR([--enable-ext-scripting-javascript is no longer supported.])
)
AC_ARG_ENABLE(ext-typo,
......@@ -1455,6 +1457,12 @@ AC_ARG_WITH(hsqldb-jar,
[Specify path to jarfile manually.]),
HSQLDB_JAR=$withval)
AC_ARG_ENABLE(scripting-beanshell,
AS_HELP_STRING([--disable-scripting-beanshell],
[Disable support for scripts in BeanShell.]),
,
)
AC_ARG_WITH(system-beanshell,
AS_HELP_STRING([--with-system-beanshell],
[Use beanshell already on system.]),,
......@@ -1465,6 +1473,12 @@ AC_ARG_WITH(beanshell-jar,
[Specify path to jarfile manually.]),
BSH_JAR=$withval)
AC_ARG_ENABLE(scripting-javascript,
AS_HELP_STRING([--disable-scripting-javascript],
[Disable support for scripts in JavaScript.]),
,
)
AC_ARG_WITH(system-rhino,
AS_HELP_STRING([--with-system-rhino],
[Use rhino already on system.]),,)
......@@ -10176,9 +10190,9 @@ AC_SUBST(COMMONS_HTTPCLIENT_JAR)
AC_SUBST(COMMONS_LOGGING_JAR)
AC_SUBST(TOMCAT_TARBALL)
# scripting provider for BeanShell extension?
AC_MSG_CHECKING([whether to build extension for support of scripts in BeanShell])
if test "x$enable_ext_scripting_beanshell" = "xyes" -a "x$enable_extension_integration" != "xno" -a "x$with_java" != "xno"; then
# scripting provider for BeanShell?
AC_MSG_CHECKING([whether to build support for scripts in BeanShell])
if test "${enable_scripting_beanshell}" != "no" -a "x$with_java" != "xno"; then
AC_MSG_RESULT([yes])
ENABLE_SCRIPTING_BEANSHELL=YES
......@@ -10210,9 +10224,9 @@ AC_SUBST(SYSTEM_BSH)
AC_SUBST(BSH_JAR)
AC_SUBST(BSH_TARBALL)
# scripting provider for JavaScript extension?
AC_MSG_CHECKING([whether to build extension for support of scripts in JavaScript])
if test "x$enable_ext_scripting_javascript" = "xyes" -a "x$enable_extension_integration" != "xno" -a "x$with_java" != "xno"; then
# scripting provider for JavaScript?
AC_MSG_CHECKING([whether to build support for scripts in JavaScript])
if test "${enable_scripting_javascript}" != "no" -a "x$with_java" != "xno"; then
AC_MSG_RESULT([yes])
ENABLE_SCRIPTING_JAVASCRIPT=YES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment