aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2009-07-04 08:12:10 +0000
committerAndreas Schwab2009-07-04 08:12:10 +0000
commit7df24305ed8d85172aaa9084ed5b3f7d8e354bba (patch)
treeb6a85fcf1361fbfd9e8b06f4eababafa50c32ac9
parent0a3472c7b938d9469e9c4b304798c7eacf8b3330 (diff)
downloademacs-7df24305ed8d85172aaa9084ed5b3f7d8e354bba.tar.gz
emacs-7df24305ed8d85172aaa9084ed5b3f7d8e354bba.zip
(--enable-checking, --enable-profiling): Use
AS_HELP_STRING.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure16
-rw-r--r--configure.in18
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 @@
12009-07-04 Andreas Schwab <schwab@linux-m68k.org>
2
3 * configure.in (--enable-checking, --enable-profiling): Use
4 AS_HELP_STRING.
5
12009-07-03 Dan Nicolaescu <dann@ics.uci.edu> 62009-07-03 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * configure.in (--enable-profiling): New option. 8 * 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:
1346 --enable-locallisppath=PATH 1346 --enable-locallisppath=PATH
1347 directories Emacs should search for lisp files 1347 directories Emacs should search for lisp files
1348 specific to this site 1348 specific to this site
1349 --enable-checking=LIST 1349 --enable-checking[=LIST]
1350 enable expensive run-time checks. With LIST, 1350 enable expensive run-time checks. With LIST, enable
1351 enable only specific categories of checks. 1351 only specific categories of checks. Categories are:
1352 Categories are: all,yes,no. 1352 all,yes,no. Flags are: stringbytes, stringoverrun,
1353 Flags are: stringbytes, stringoverrun, stringfreelist, 1353 stringfreelist, xmallocoverrun, conslist
1354 xmallocoverrun, conslist 1354 --enable-profiling build emacs with profiling support. This might not
1355 --enable-profiling 1355 work on all platforms
1356 Build emacs with profiling support.
1357 This might not work on all platforms.
1358 --disable-largefile omit support for large files 1356 --disable-largefile omit support for large files
1359 1357
1360Optional Packages: 1358Optional 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
210fi) 210fi)
211 211
212AC_ARG_ENABLE(checking, 212AC_ARG_ENABLE(checking,
213[ --enable-checking[=LIST] 213[AS_HELP_STRING([--enable-checking@<:@=LIST@:>@],
214 enable expensive run-time checks. With LIST, 214 [enable expensive run-time checks. With LIST,
215 enable only specific categories of checks. 215 enable only specific categories of checks.
216 Categories are: all,yes,no. 216 Categories are: all,yes,no.
217 Flags are: stringbytes, stringoverrun, stringfreelist, 217 Flags are: stringbytes, stringoverrun, stringfreelist,
218 xmallocoverrun, conslist], 218 xmallocoverrun, conslist])],
219[ac_checking_flags="${enableval}"],[]) 219[ac_checking_flags="${enableval}"],[])
220IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," 220IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"
221for check in $ac_checking_flags 221for check in $ac_checking_flags
@@ -274,9 +274,9 @@ if test x$ac_gc_check_cons_list != x ; then
274fi 274fi
275 275
276AC_ARG_ENABLE(profiling, 276AC_ARG_ENABLE(profiling,
277[ --enable-profiling 277[AS_HELP_STRING([--enable-profiling],
278 Build emacs with profiling support. 278 [build emacs with profiling support.
279 This might not work on all platforms.], 279 This might not work on all platforms])],
280[ac_enable_profiling="${enableval}"],[]) 280[ac_enable_profiling="${enableval}"],[])
281if test x$ac_enable_profiling != x ; then 281if test x$ac_enable_profiling != x ; then
282 PROFILING_CFLAGS="-DPROFILING=1 -pg" 282 PROFILING_CFLAGS="-DPROFILING=1 -pg"