configure.ac: Add --disable-valgrind. (partial fix for #164890)

Original commit message from CVS:
* configure.ac: Add --disable-valgrind. (partial fix for #164890)
This commit is contained in:
David Schleef 2005-01-23 01:38:18 +00:00
parent ca511598f4
commit e409d977e8
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-01-22 David Schleef <ds@schleef.org>
* configure.ac: Add --disable-valgrind. (partial fix for #164890)
2005-01-21 Stefan Kost <ensonic@users.sf.net>
* docs/gst/Makefile.am:

View file

@ -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