(--enable-checking, --enable-profiling): Use
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 4 Jul 2009 08:12:10 +0000 (08:12 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 4 Jul 2009 08:12:10 +0000 (08:12 +0000)
AS_HELP_STRING.

ChangeLog
configure
configure.in

index 1501dc9..f5f7ec2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-04  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * configure.in (--enable-checking, --enable-profiling): Use
+       AS_HELP_STRING.
+
 2009-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * configure.in (--enable-profiling): New option.
index 3b76c7a..4211198 100755 (executable)
--- 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:
index 414d9b2..b6257a5 100644 (file)
@@ -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"