[Pkg-libvirt-commits] [libguestfs] 20/29: configure: Remove test for valgrind --vgdb option.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Nov 1 17:14:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.29.48
in repository libguestfs.
commit 4b721a1e0b443a2a56408994c85b92a8d4911580
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Tue Jun 23 22:49:11 2015 +0100
configure: Remove test for valgrind --vgdb option.
We'll now just require that valgrind is new enough.
As best as I can tell from the valgrind subversion(!) repository, this
option was added to valgrind in around 2011.
---
configure.ac | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/configure.ac b/configure.ac
index bee8c94..157795e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1083,21 +1083,10 @@ AS_IF([$CXX --version >&AS_MESSAGE_LOG_FD 2>&1],[have_cxx=yes],[have_cxx=no])
AC_MSG_RESULT([$have_cxx])
AM_CONDITIONAL([HAVE_CXX], [test "$have_cxx" = "yes"])
-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"],[
- AC_MSG_CHECKING([if $VALGRIND supports the --vgdb option])
- if $VALGRIND --help | grep -sq -- --vgdb; then
- AC_MSG_RESULT([yes])
- AC_SUBST([VALGRIND_NO_VGDB],[--vgdb=no])
- else
- AC_MSG_RESULT([no])
- AC_SUBST([VALGRIND_NO_VGDB],[])
- fi
-
# Substitute the whole valgrind command.
- VG='$(VALGRIND) $(VALGRIND_NO_VGDB) --log-file=$(abs_top_builddir)/tmp/valgrind-%q{T}-%p.log --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions'
+ VG='$(VALGRIND) --vgdb=no --log-file=$(abs_top_builddir)/tmp/valgrind-%q{T}-%p.log --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions'
],[
# No valgrind, so substitute VG with something that will break.
VG=VALGRIND_IS_NOT_INSTALLED
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list