AC_DEFUN([AX_CHECK_JAVA],
[
AC_ARG_WITH([java],
- AC_HELP_STRING([ --with-java=PFX], [prefix where 'java' is installed.]),
- [with_java_prefix=$withval],
- [with_java_prefix=${JAVA_INSTALL_PATH:-/usr/java/j2sdk1.4.1_01}])
+ [AC_HELP_STRING([--with-java=PFX], [prefix where 'java' is installed.])],
+ [with_java_prefix="$withval"],
+ [with_java_prefix="${JAVA_INSTALL_PATH:-/usr/java/j2sdk1.4.1_01}"])
have_java='no'
LIB_JAVA=''
JAVA_FLAGS=''
AC_SUBST(switch_builddir)
# Where to install the modules
-AC_ARG_WITH(modinstdir, [ --with-modinstdir (default=$prefix/mod)], modinstdir=$withval, modinstdir="${prefix}/mod")
+AC_ARG_WITH([modinstdir],
+ [AS_HELP_STRING([--with-modinstdir=DIR], [Install modules into this location (default: $prefix/mod)])], [modinstdir="$withval"], [modinstdir="${prefix}/mod"])
AC_SUBST(modinstdir)
AC_DEFINE_UNQUOTED([SWITCH_MOD_DIR],"${modinstdir}",[where to install the modules to])
AC_SUBST(LIBCURL_DEPS)
AC_ARG_ENABLE(core-odbc-support,
- [ --enable-core-odbc-support Compile with ODBC Support],,[enable_core_odbc_support="no"])
+ [AS_HELP_STRING([--enable-core-odbc-support], [Compile with ODBC Support])],,[enable_core_odbc_support="no"])
AC_ARG_ENABLE(core-libedit-support,
- [ --disable-core-libedit-support Compile without libedit Support],,[enable_core_libedit_support="yes"])
+ [AS_HELP_STRING([--disable-core-libedit-support], [Compile without libedit Support])], [enable_core_libedit_support="$enableval"], [enable_core_libedit_support="yes"])
if test "$enable_core_libedit_support" = "yes" ; then
AC_CHECK_LIB(ncurses, tgetent,,