1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

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

AS_HELP_STRING.
This commit is contained in:
Andreas Schwab 2009-07-04 08:12:10 +00:00
parent 0a3472c7b9
commit 7df24305ed
3 changed files with 21 additions and 18 deletions

View File

@ -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.

16
configure vendored
View File

@ -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:

View 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"