]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add AS_HELP_STRING to options missing it, fix --disable-core-libedit-support value...
authorStefan Knoblich <stkn@freeswitch.org>
Mon, 12 May 2008 19:12:37 +0000 (19:12 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Mon, 12 May 2008 19:12:37 +0000 (19:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8371 d0543943-73ff-0310-b7d9-9358b9ac24b2

build/config/ax_check_java.m4
configure.in

index efee0782abfe57da91855d97f598a4a0669f8338..321fb8d48c0ecba5a1a3c683b419c162f14e0387 100644 (file)
@@ -9,9 +9,9 @@ dnl prerequisites:
 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=''
index f03bb07ce87435eb8f76f70f7efc01d28941bd49..cf3a65df8054b17c949daed656dfb18a0071a1b6 100644 (file)
@@ -31,7 +31,8 @@ AC_SUBST(switch_srcdir)
 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])
@@ -408,10 +409,10 @@ LIBCURL_CHECK_CONFIG([yes], [7.13.0], [LIBCURL_DEPS=''], [LIBCURL_DEPS='${switch
 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,,