From e409d977e829b6b15246c48e0a2991acaf0666a1 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 23 Jan 2005 01:38:18 +0000 Subject: [PATCH] configure.ac: Add --disable-valgrind. (partial fix for #164890) Original commit message from CVS: * configure.ac: Add --disable-valgrind. (partial fix for #164890) --- ChangeLog | 4 ++++ configure.ac | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ac033e5..01e8578 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-01-22 David Schleef + + * configure.ac: Add --disable-valgrind. (partial fix for #164890) + 2005-01-21 Stefan Kost * docs/gst/Makefile.am: diff --git a/configure.ac b/configure.ac index 6f0d4bf..cd17138 100644 --- a/configure.ac +++ b/configure.ac @@ -429,7 +429,14 @@ esac], [USE_DEBUG=yes]) dnl Default value dnl valgrind inclusion -USE_VALGRIND="$USE_DEBUG" +AC_ARG_ENABLE(valgrind, +AC_HELP_STRING([--disable-valgrind],[disable run-time valgrind detection]), +[case "${enableval}" in + yes) USE_VALGRIND="$USE_DEBUG" ;; + no) USE_VALGRIND=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-valgrind) ;; +esac], +[USE_VALGRIND="$USE_DEBUG"]) dnl Default value VALGRIND_REQ="2.1" if test "x$USE_VALGRIND" = xyes; then -- 2.7.4