diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-11-16 21:10:27 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-11-16 21:10:27 +0100 |
commit | 3549e181bd89b7f8a978cae9f55679c4ccd9a010 (patch) | |
tree | ae0932391b955df1f6da8ccc17b7ac37e5461799 /libcpp/configure | |
parent | 350767bf22688f7645fe959370240825a3cf0421 (diff) | |
download | gcc-3549e181bd89b7f8a978cae9f55679c4ccd9a010.zip gcc-3549e181bd89b7f8a978cae9f55679c4ccd9a010.tar.gz gcc-3549e181bd89b7f8a978cae9f55679c4ccd9a010.tar.bz2 |
re PR bootstrap/72823 (r239175 causes build failure)
PR bootstrap/72823
* configure.ac (ENABLE_ASSERT_CHECKING): Define if gcc configure
would define that macro.
* configure: Regenerated.
* config.in: Regenerated.
From-SVN: r242510
Diffstat (limited to 'libcpp/configure')
-rwxr-xr-x | libcpp/configure | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libcpp/configure b/libcpp/configure index b6f129c..12c1907 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -7288,9 +7288,11 @@ for check in release $ac_checking_flags do case $check in # these set all the flags to specific states - yes|all) ac_checking=1 ; ac_valgrind_checking= ;; - no|none|release) ac_checking= ; ac_valgrind_checking= ;; + yes|all) ac_checking=1 ; ac_assert_checking=1 ; ac_valgrind_checking= ;; + no|none) ac_checking= ; ac_assert_checking= ; ac_valgrind_checking= ;; + release) ac_checking= ; ac_assert_checking=1 ; ac_valgrind_checking= ;; # these enable particular checks + assert) ac_assert_checking=1 ;; misc) ac_checking=1 ;; valgrind) ac_valgrind_checking=1 ;; # accept @@ -7308,6 +7310,12 @@ else fi +if test x$ac_assert_checking != x ; then + +$as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h + +fi + if test x$ac_valgrind_checking != x ; then $as_echo "#define ENABLE_VALGRIND_CHECKING 1" >>confdefs.h |