diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-16 09:34:41 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-16 09:34:41 +0000 |
commit | b9964099824246140185dcb71b71496bcf08d8b9 (patch) | |
tree | 9e82580f8ef11517fb9a885b57f39d284127b214 /gcc/configure.in | |
parent | 4cd6dc76b5eb9b880519cee15c13dc31ec63217f (diff) | |
download | ppe42-gcc-b9964099824246140185dcb71b71496bcf08d8b9.tar.gz ppe42-gcc-b9964099824246140185dcb71b71496bcf08d8b9.zip |
* configure.in: Improve check for memcheck.h.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64430 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index d8df284547e..763cd2a8275 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -417,8 +417,8 @@ if test x$ac_checking_valgrind != x ; then 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" || test $have_valgrind_h = no; then - AC_MSG_ERROR([*** Can't find both valgrind and valgrind.h]) + if test "x$valgrind_path" = "x" || (test $have_valgrind_h = no && test $gcc_cv_header_memcheck_h = no); then + AC_MSG_ERROR([*** Can't find both valgrind and valgrind.h/memcheck.h]) fi valgrind_path_defines=-DVALGRIND_PATH='\"'$valgrind_path'\"' valgrind_command="$valgrind_path -q" |