summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-06-30 14:01:14 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-06-30 14:01:16 +0100
commit676c806d0221a7ea375676b2eab514c426fcacd3 (patch)
tree818783e3133a6bb0d52697b0446321eeff2c7afe /configure.ac
parentba4b5ac010ab85406ec52e3906e13d58cd9aa782 (diff)
configure: default --enable-valgrind to auto
... as the help text says. Reported-by: Jasper St. Pierre <jstpierre@mecheye.net> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1456b903..001fd3da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -406,7 +406,7 @@ AM_CONDITIONAL([HAVE_MANPAGES_STYLESHEET], [test "x$HAVE_MANPAGES_STYLESHEET" =
AC_ARG_ENABLE(valgrind,
[AS_HELP_STRING([--enable-valgrind],
[Build libdrm with valgrind support (default: auto)])],
- [VALGRIND=$enableval], [VALGRIND=yes])
+ [VALGRIND=$enableval], [VALGRIND=auto])
PKG_CHECK_MODULES(VALGRIND, [valgrind], [have_valgrind=yes], [have_valgrind=no])
AC_MSG_CHECKING([whether to enable Valgrind support])
if test "x$VALGRIND" = xauto; then