From 83058c09642f2bea5c6df6f922e6c4eacdf1b4b3 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Thu, 22 Jul 2010 23:00:37 -0600 Subject: [PATCH] Bug 2963: --with-valgrind-debug failures ignored Made to hard-fail if --with is used. --- configure.in | 2 +- test-suite/buildtests/layer-02-maximus.opts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index d05ab43119..b77bedcb0d 100644 --- a/configure.in +++ b/configure.in @@ -1906,7 +1906,7 @@ AC_ARG_WITH(valgrind-debug, AC_CHECK_HEADERS(valgrind/memcheck.h, [ AC_DEFINE(WITH_VALGRIND, 1, [Valgrind memory debugger support]) AC_MSG_NOTICE([Valgrind debug support enabled]) ], - [ AC_MSG_WARN([Valgrind header not found. Valgrind support disabled.]) ] + [ AC_MSG_ERROR([Valgrind header not found. Valgrind support cannot be built.]) ] ) fi ]) diff --git a/test-suite/buildtests/layer-02-maximus.opts b/test-suite/buildtests/layer-02-maximus.opts index fb68aaea9b..dccac192c7 100644 --- a/test-suite/buildtests/layer-02-maximus.opts +++ b/test-suite/buildtests/layer-02-maximus.opts @@ -37,6 +37,7 @@ MAKETEST="distcheck" # --enable-epoll \ # --enable-kqueue \ # --enable-win32-service \ +# --with-valgrind-debug \ # # OPTS=" \ @@ -106,7 +107,6 @@ OPTS=" \ --with-large-files \ --with-pic \ --with-pthreads \ - --with-valgrind-debug \ " # Fix the distclean testing. -- 2.47.3