# HG changeset patch # User Andreas Schwab # Date 1246695130 0 # Node ID 7bebd9bb90fccc3ceafd5ac23cf4afe2c62fa7cb # Parent 7bad97f82eb6f574fb79c7b9432109752ca6946a (--enable-checking, --enable-profiling): Use AS_HELP_STRING. diff -r 7bad97f82eb6 -r 7bebd9bb90fc ChangeLog --- a/ChangeLog Fri Jul 03 15:32:02 2009 +0000 +++ b/ChangeLog Sat Jul 04 08:12:10 2009 +0000 @@ -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 -r 7bad97f82eb6 -r 7bebd9bb90fc configure --- a/configure Fri Jul 03 15:32:02 2009 +0000 +++ b/configure Sat Jul 04 08:12:10 2009 +0000 @@ -1346,15 +1346,13 @@ --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 -r 7bad97f82eb6 -r 7bebd9bb90fc configure.in --- a/configure.in Fri Jul 03 15:32:02 2009 +0000 +++ b/configure.in Sat Jul 04 08:12:10 2009 +0000 @@ -210,12 +210,12 @@ 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 @@ 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"