]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2963: --with-valgrind-debug failures ignored
authorAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 23 Jul 2010 05:00:37 +0000 (23:00 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 23 Jul 2010 05:00:37 +0000 (23:00 -0600)
Made to hard-fail if --with is used.

configure.in
test-suite/buildtests/layer-02-maximus.opts

index d05ab4311908d60b66cdf7c82dd32c5e98c90347..b77bedcb0d789715ed2b8de301ad86cfe3c793b3 100644 (file)
@@ -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
 ])
index fb68aaea9b7df52b148da4235d83a60a24aefc9e..dccac192c7488e1981fc66873dfca2b5620f09c2 100644 (file)
@@ -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.