configure.in: Pull AC_CHECK_HEADER call out of shell if statement to avoid trouble when...

* configure.in: Pull AC_CHECK_HEADER call out of shell if statement
	to avoid trouble when updating to autoconf 2.5x.
	* configure: Regenerate (with autoconf 2.13 still).

From-SVN: r74285
This commit is contained in:
Nathanael Nerode 2003-12-04 18:46:11 +00:00
parent 89231ff027
commit 6938ec6c89
3 changed files with 297 additions and 284 deletions

View file

@ -1,3 +1,9 @@
2003-12-04 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Pull AC_CHECK_HEADER call out of shell if statement
to avoid trouble when updating to autoconf 2.5x.
* configure: Regenerate (with autoconf 2.13 still).
2003-12-04 J"orn Rennecke <joern.rennecke@superh.com>
* sh.md (truncdiqi2): Use andi opcode for immediate.

568
gcc/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -397,6 +397,12 @@ if test x$ac_fold_checking != x ; then
fi
valgrind_path_defines=
valgrind_command=
dnl # This check AC_REQUIREs various stuff, so it *must not* be inside
dnl # an if statement. This was the source of very frustrating bugs
dnl # in converting to autoconf 2.5x!
AC_CHECK_HEADER(valgrind.h, have_valgrind_h=yes, have_valgrind_h=no)
if test x$ac_checking_valgrind != x ; then
# It is certainly possible that there's valgrind but no valgrind.h.
# GCC relies on making annotations so we must have both.
@ -418,7 +424,6 @@ if test x$ac_checking_valgrind != x ; then
[gcc_cv_header_memcheck_h=yes],
gcc_cv_header_memcheck_h=no)
AC_MSG_RESULT($gcc_cv_header_memcheck_h)
AC_CHECK_HEADER(valgrind.h, have_valgrind_h=yes, have_valgrind_h=no)
AM_PATH_PROG_WITH_TEST(valgrind_path, valgrind,
[$ac_dir/$ac_word --version | grep valgrind- >/dev/null 2>&1])
if test "x$valgrind_path" = "x" \