aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-04-01 13:58:20 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2005-04-01 13:58:20 +0000
commitcdce5c164ebf7b6c92f7eee633bd1552b1603438 (patch)
tree1621c1eaee81d0d882004d18a37dd0ad79f8724e /gcc/configure
parenta7818b660d503da6f2f93871bc6a5695b687434b (diff)
downloadgcc-cdce5c164ebf7b6c92f7eee633bd1552b1603438.zip
gcc-cdce5c164ebf7b6c92f7eee633bd1552b1603438.tar.gz
gcc-cdce5c164ebf7b6c92f7eee633bd1552b1603438.tar.bz2
configure.ac (enable-checking): Explicitly set all variables for collective switch values.
* configure.ac (enable-checking): Explicitly set all variables for collective switch values. Alphabetize variables. Rename ac_checking_valgrind to ac_valgrind_checking. Allow 'none' as synonym for 'no'. * doc/install.texi (enable-checking): Update documentation. * configure: Rebuilt. From-SVN: r97390
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure53
1 files changed, 32 insertions, 21 deletions
diff --git a/gcc/configure b/gcc/configure
index f2c70ba..b382766 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -867,8 +867,9 @@ Optional Features:
--enable-checking=LIST
enable expensive run-time checks. With LIST,
enable only specific categories of checks.
- Categories are: assert,fold,gc,gcac,misc,
- rtlflag,rtl,runtime,tree,valgrind,release,yes,all;
+ Categories are: yes,no,all,none,release.
+ Flags are: assert,fold,gc,gcac,misc,
+ rtlflag,rtl,runtime,tree,valgrind.
--enable-mapped-location location_t is fileline integer cookie
--enable-coverage=LEVEL
enable compiler's code coverage collection.
@@ -6275,40 +6276,50 @@ fi
fi;
ac_assert_checking=1
ac_checking=
-ac_tree_checking=
+ac_fold_checking=
+ac_gc_checking=
+ac_gc_always_collect=
ac_rtl_checking=
ac_rtlflag_checking=
ac_runtime_checking=1
-ac_gc_checking=
-ac_gc_always_collect=
-ac_fold_checking=
+ac_tree_checking=
+ac_valgrind_checking=
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS,"
for check in $ac_checking_flags
do
case $check in
+ # these set all the flags to specific states
yes) ac_assert_checking=1 ; ac_checking=1 ;
- ac_tree_checking=1 ; ac_gc_checking=1 ;
- ac_rtlflag_checking=1 ; ac_runtime_checking=1 ;;
- no) ac_assert_checking= ; ac_checking= ;
- ac_tree_checking= ; ac_rtl_checking= ;
- ac_rtlflag_checking= ; ac_gc_checking= ;
- ac_gc_always_collect= ; ac_fold_checking= ;;
+ ac_fold_checking= ; ac_gc_checking=1 ;
+ ac_gc_always_collect= ; ac_rtl_checking= ;
+ ac_rtlflag_checking=1 ; ac_runtime_chacking=1 ;
+ ac_tree_checking=1 ; ac_valgrind_checking= ;;
+ no|none) ac_assert_checking= ; ac_checking= ;
+ ac_fold_checking= ; ac_gc_checking= ;
+ ac_gc_always_collect= ; ac_rtl_checking= ;
+ ac_rtlflag_checking= ; ac_runtime_chacking= ;
+ ac_tree_checking= ; ac_valgrind_checking= ;;
all) ac_assert_checking=1 ; ac_checking=1 ;
- ac_tree_checking=1 ; ac_rtl_checking=1 ;
- ac_rtlflag_checking=1 ; ac_runtime_checking=1;
- ac_gc_checking=1 ; ac_gc_always_collect=1 ;
- ac_fold_checking=1 ;;
- release) ac_assert_checking=1 ; ac_runtime_checking=1 ;;
+ ac_fold_checking=1 ; ac_gc_checking=1 ;
+ ac_gc_always_collect=1 ; ac_rtl_checking=1 ;
+ ac_rtlflag_checking=1 ; ac_runtime_checking=1 ;
+ ac_tree_checking=1 ; ac_valgrind_checking= ;;
+ release) ac_assert_checking=1 ; ac_checking= ;
+ ac_fold_checking= ; ac_gc_checking= ;
+ ac_gc_always_collect= ; ac_rtl_checking= ;
+ ac_rtlflag_checking= ; ac_runtime_checking=1 ;
+ ac_tree_checking= ; ac_valgrind_checking= ;;
+ # these enable particular checks
assert) ac_assert_checking=1 ;;
fold) ac_fold_checking=1 ;;
gc) ac_gc_checking=1 ;;
gcac) ac_gc_always_collect=1 ;;
misc) ac_checking=1 ;;
- rtlflag) ac_rtlflag_checking=1 ;;
rtl) ac_rtl_checking=1 ;;
+ rtlflag) ac_rtlflag_checking=1 ;;
runtime) ac_runtime_checking=1 ;;
tree) ac_tree_checking=1 ;;
- valgrind) ac_checking_valgrind=1 ;;
+ valgrind) ac_valgrind_checking=1 ;;
*) { { echo "$as_me:$LINENO: error: unknown check category $check" >&5
echo "$as_me: error: unknown check category $check" >&2;}
{ (exit 1); exit 1; }; } ;;
@@ -6532,7 +6543,7 @@ fi
-if test x$ac_checking_valgrind != x ; then
+if test x$ac_valgrind_checking != x ; then
# It is certainly possible that there's valgrind but no valgrind.h.
# GCC relies on making annotations so we must have both.
echo "$as_me:$LINENO: checking for VALGRIND_DISCARD in <valgrind/memcheck.h>" >&5
@@ -7388,7 +7399,7 @@ if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then
else
ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
- echo "configure:7381: version of makeinfo is $ac_prog_version" >&5
+ echo "configure:7402: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;;
4.[2-9]*)