mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 02:09:37 +08:00
configure.in: Improve check for memcheck.h.
* configure.in: Improve check for memcheck.h. * configure: Regenerated. From-SVN: r64430
This commit is contained in:
parent
4f907b595a
commit
72bd67f935
4
gcc/configure
vendored
4
gcc/configure
vendored
@ -2179,8 +2179,8 @@ else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
if test "x$valgrind_path" = "x" || test $have_valgrind_h = no; then
|
||||
{ echo "configure: error: *** Can't find both valgrind and valgrind.h" 1>&2; exit 1; }
|
||||
if test "x$valgrind_path" = "x" || (test $have_valgrind_h = no && test $gcc_cv_header_memcheck_h = no); then
|
||||
{ echo "configure: error: *** Can't find both valgrind and valgrind.h/memcheck.h" 1>&2; exit 1; }
|
||||
fi
|
||||
valgrind_path_defines=-DVALGRIND_PATH='\"'$valgrind_path'\"'
|
||||
valgrind_command="$valgrind_path -q"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user