comparison configure.in @ 103717:7bebd9bb90fc

(--enable-checking, --enable-profiling): Use AS_HELP_STRING.
author Andreas Schwab <schwab@linux-m68k.org>
date Sat, 04 Jul 2009 08:12:10 +0000
parents bae3b52cda07
children 8e3613329929
comparison
equal deleted inserted replaced
103716:7bad97f82eb6 103717:7bebd9bb90fc
208 elif test "${enableval}" != "yes"; then 208 elif test "${enableval}" != "yes"; then
209 locallisppath=${enableval} 209 locallisppath=${enableval}
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
222 do 222 do
223 case $check in 223 case $check in
272 AC_DEFINE(GC_CHECK_CONS_LIST, 1, 272 AC_DEFINE(GC_CHECK_CONS_LIST, 1,
273 [Define this to check for errors in cons list.]) 273 [Define this to check for errors in cons list.])
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"
283 PROFILING_LDFLAGS="-pg" 283 PROFILING_LDFLAGS="-pg"
284 else 284 else