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
This commit is contained in:
parent
350767bf22
commit
3549e181bd
4 changed files with 30 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
|||
2016-11-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR bootstrap/72823
|
||||
* configure.ac (ENABLE_ASSERT_CHECKING): Define if gcc configure
|
||||
would define that macro.
|
||||
* configure: Regenerated.
|
||||
* config.in: Regenerated.
|
||||
|
||||
2016-11-08 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* lex.c (search_line_fast): New implementation for AArch64.
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define if you want assertions enabled. This is a cheap check. */
|
||||
#undef ENABLE_ASSERT_CHECKING
|
||||
|
||||
/* Define to enable system headers canonicalization. */
|
||||
#undef ENABLE_CANONICAL_SYSTEM_HEADERS
|
||||
|
||||
|
|
12
libcpp/configure
vendored
12
libcpp/configure
vendored
|
@ -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
|
||||
|
|
|
@ -152,9 +152,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
|
||||
|
@ -170,6 +172,11 @@ else
|
|||
AC_DEFINE(CHECKING_P, 0)
|
||||
fi
|
||||
|
||||
if test x$ac_assert_checking != x ; then
|
||||
AC_DEFINE(ENABLE_ASSERT_CHECKING, 1,
|
||||
[Define if you want assertions enabled. This is a cheap check.])
|
||||
fi
|
||||
|
||||
if test x$ac_valgrind_checking != x ; then
|
||||
AC_DEFINE(ENABLE_VALGRIND_CHECKING, 1,
|
||||
[Define if you want to workaround valgrind (a memory checker) warnings about
|
||||
|
|
Loading…
Add table
Reference in a new issue