summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-05-12 13:40:45 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-05-12 16:59:48 +0100
commit77afc92fcd08677f9a9ae3b4f6c6919eb8ec2b33 (patch)
tree5125ecec28e217edfba7696965e26c431166a895
parent0e960614ab0f7d878347d74229ffbb69a4a05540 (diff)
downloadlibguestfs-77afc92fcd08677f9a9ae3b4f6c6919eb8ec2b33.tar.gz
libguestfs-77afc92fcd08677f9a9ae3b4f6c6919eb8ec2b33.tar.xz
libguestfs-77afc92fcd08677f9a9ae3b4f6c6919eb8ec2b33.zip
configure: Fix valgrind --vgdb test.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 89d381f4..16433df1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -758,7 +758,7 @@ AM_CONDITIONAL([HAVE_CXX], [$CXX --version])
dnl If valgrind is present (it's not required), check whether or not
dnl it supports the new 'valgrind --vgdb' option.
AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind],[no])
-AS_IF([test "x$valgrind" != "xno"],[
+AS_IF([test "x$VALGRIND" != "xno"],[
AC_MSG_CHECKING([if $VALGRIND supports the --vgdb option])
if $VALGRIND --help | grep -sq -- --vgdb; then
AC_MSG_RESULT([yes])