From 7df24305ed8d85172aaa9084ed5b3f7d8e354bba Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 4 Jul 2009 08:12:10 +0000 Subject: [PATCH] (--enable-checking, --enable-profiling): Use AS_HELP_STRING. --- ChangeLog | 5 +++++ configure | 16 +++++++--------- configure.in | 18 +++++++++--------- 3 files changed, 21 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1501dc98bdd..f5f7ec27858 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-04 Andreas Schwab + + * configure.in (--enable-checking, --enable-profiling): Use + AS_HELP_STRING. + 2009-07-03 Dan Nicolaescu * configure.in (--enable-profiling): New option. diff --git a/configure b/configure index 3b76c7a9f5a..42111988396 100755 --- a/configure +++ b/configure @@ -1346,15 +1346,13 @@ Optional Features: --enable-locallisppath=PATH directories Emacs should search for lisp files specific to this site - --enable-checking=LIST - enable expensive run-time checks. With LIST, - enable only specific categories of checks. - Categories are: all,yes,no. - Flags are: stringbytes, stringoverrun, stringfreelist, - xmallocoverrun, conslist - --enable-profiling - Build emacs with profiling support. - This might not work on all platforms. + --enable-checking[=LIST] + enable expensive run-time checks. With LIST, enable + only specific categories of checks. Categories are: + all,yes,no. Flags are: stringbytes, stringoverrun, + stringfreelist, xmallocoverrun, conslist + --enable-profiling build emacs with profiling support. This might not + work on all platforms --disable-largefile omit support for large files Optional Packages: diff --git a/configure.in b/configure.in index 414d9b236bb..b6257a5b067 100644 --- a/configure.in +++ b/configure.in @@ -210,12 +210,12 @@ elif test "${enableval}" != "yes"; then fi) AC_ARG_ENABLE(checking, -[ --enable-checking[=LIST] - enable expensive run-time checks. With LIST, - enable only specific categories of checks. - Categories are: all,yes,no. - Flags are: stringbytes, stringoverrun, stringfreelist, - xmallocoverrun, conslist], +[AS_HELP_STRING([--enable-checking@<:@=LIST@:>@], + [enable expensive run-time checks. With LIST, + enable only specific categories of checks. + Categories are: all,yes,no. + Flags are: stringbytes, stringoverrun, stringfreelist, + xmallocoverrun, conslist])], [ac_checking_flags="${enableval}"],[]) IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," for check in $ac_checking_flags @@ -274,9 +274,9 @@ if test x$ac_gc_check_cons_list != x ; then fi AC_ARG_ENABLE(profiling, -[ --enable-profiling - Build emacs with profiling support. - This might not work on all platforms.], +[AS_HELP_STRING([--enable-profiling], + [build emacs with profiling support. + This might not work on all platforms])], [ac_enable_profiling="${enableval}"],[]) if test x$ac_enable_profiling != x ; then PROFILING_CFLAGS="-DPROFILING=1 -pg" -- 2.39.2