diff options
| author | Andreas Schwab | 2009-07-04 08:12:10 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2009-07-04 08:12:10 +0000 |
| commit | 7df24305ed8d85172aaa9084ed5b3f7d8e354bba (patch) | |
| tree | b6a85fcf1361fbfd9e8b06f4eababafa50c32ac9 | |
| parent | 0a3472c7b938d9469e9c4b304798c7eacf8b3330 (diff) | |
| download | emacs-7df24305ed8d85172aaa9084ed5b3f7d8e354bba.tar.gz emacs-7df24305ed8d85172aaa9084ed5b3f7d8e354bba.zip | |
(--enable-checking, --enable-profiling): Use
AS_HELP_STRING.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | configure | 16 | ||||
| -rw-r--r-- | configure.in | 18 |
3 files changed, 21 insertions, 18 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-07-04 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * configure.in (--enable-checking, --enable-profiling): Use | ||
| 4 | AS_HELP_STRING. | ||
| 5 | |||
| 1 | 2009-07-03 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2009-07-03 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | * configure.in (--enable-profiling): New option. | 8 | * configure.in (--enable-profiling): New option. |
| @@ -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 | ||
| 1360 | Optional Packages: | 1358 | Optional 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 | |||
| 210 | fi) | 210 | fi) |
| 211 | 211 | ||
| 212 | AC_ARG_ENABLE(checking, | 212 | AC_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}"],[]) |
| 220 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," | 220 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," |
| 221 | for check in $ac_checking_flags | 221 | for check in $ac_checking_flags |
| @@ -274,9 +274,9 @@ if test x$ac_gc_check_cons_list != x ; then | |||
| 274 | fi | 274 | fi |
| 275 | 275 | ||
| 276 | AC_ARG_ENABLE(profiling, | 276 | AC_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}"],[]) |
| 281 | if test x$ac_enable_profiling != x ; then | 281 | if test x$ac_enable_profiling != x ; then |
| 282 | PROFILING_CFLAGS="-DPROFILING=1 -pg" | 282 | PROFILING_CFLAGS="-DPROFILING=1 -pg" |