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-14 15:45:52 +0100
commit1ae71cd5ac06cecd01ed96c6b8419cd7e6d4ba00 (patch)
tree2a5094df1bc54952858cb3b345eaac9f82ef090c
parenteb1e9fb1de4e2729af41c38170075139698f2064 (diff)
downloadlibguestfs-1ae71cd5ac06cecd01ed96c6b8419cd7e6d4ba00.tar.gz
libguestfs-1ae71cd5ac06cecd01ed96c6b8419cd7e6d4ba00.tar.xz
libguestfs-1ae71cd5ac06cecd01ed96c6b8419cd7e6d4ba00.zip
configure: Fix valgrind --vgdb test.
(cherry picked from commit 77afc92fcd08677f9a9ae3b4f6c6919eb8ec2b33)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0223304a..d67a1dac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -726,7 +726,7 @@ AM_CONDITIONAL([HAVE_FUSE],[test "x$enable_fuse" != "xno"])
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])