From 676c806d0221a7ea375676b2eab514c426fcacd3 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 30 Jun 2015 14:01:14 +0100 Subject: configure: default --enable-valgrind to auto ... as the help text says. Reported-by: Jasper St. Pierre Signed-off-by: Emil Velikov --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3