Commit 7df24305 authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(--enable-checking, --enable-profiling): Use

AS_HELP_STRING.
parent 0a3472c7
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> 2009-07-03 Dan Nicolaescu <dann@ics.uci.edu>
* configure.in (--enable-profiling): New option. * configure.in (--enable-profiling): New option.
......
...@@ -1346,15 +1346,13 @@ Optional Features: ...@@ -1346,15 +1346,13 @@ Optional Features:
--enable-locallisppath=PATH --enable-locallisppath=PATH
directories Emacs should search for lisp files directories Emacs should search for lisp files
specific to this site specific to this site
--enable-checking=LIST --enable-checking[=LIST]
enable expensive run-time checks. With LIST, enable expensive run-time checks. With LIST, enable
enable only specific categories of checks. only specific categories of checks. Categories are:
Categories are: all,yes,no. all,yes,no. Flags are: stringbytes, stringoverrun,
Flags are: stringbytes, stringoverrun, stringfreelist, stringfreelist, xmallocoverrun, conslist
xmallocoverrun, conslist --enable-profiling build emacs with profiling support. This might not
--enable-profiling work on all platforms
Build emacs with profiling support.
This might not work on all platforms.
--disable-largefile omit support for large files --disable-largefile omit support for large files
   
Optional Packages: Optional Packages:
......
...@@ -210,12 +210,12 @@ elif test "${enableval}" != "yes"; then ...@@ -210,12 +210,12 @@ elif test "${enableval}" != "yes"; then
fi) fi)
AC_ARG_ENABLE(checking, AC_ARG_ENABLE(checking,
[ --enable-checking[=LIST] [AS_HELP_STRING([--enable-checking@<:@=LIST@:>@],
enable expensive run-time checks. With LIST, [enable expensive run-time checks. With LIST,
enable only specific categories of checks. enable only specific categories of checks.
Categories are: all,yes,no. Categories are: all,yes,no.
Flags are: stringbytes, stringoverrun, stringfreelist, Flags are: stringbytes, stringoverrun, stringfreelist,
xmallocoverrun, conslist], xmallocoverrun, conslist])],
[ac_checking_flags="${enableval}"],[]) [ac_checking_flags="${enableval}"],[])
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"
for check in $ac_checking_flags for check in $ac_checking_flags
...@@ -274,9 +274,9 @@ if test x$ac_gc_check_cons_list != x ; then ...@@ -274,9 +274,9 @@ if test x$ac_gc_check_cons_list != x ; then
fi fi
AC_ARG_ENABLE(profiling, AC_ARG_ENABLE(profiling,
[ --enable-profiling [AS_HELP_STRING([--enable-profiling],
Build emacs with profiling support. [build emacs with profiling support.
This might not work on all platforms.], This might not work on all platforms])],
[ac_enable_profiling="${enableval}"],[]) [ac_enable_profiling="${enableval}"],[])
if test x$ac_enable_profiling != x ; then if test x$ac_enable_profiling != x ; then
PROFILING_CFLAGS="-DPROFILING=1 -pg" PROFILING_CFLAGS="-DPROFILING=1 -pg"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment