]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2963: --with-valgrind-debug failures ignored
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 20 Jul 2010 12:23:28 +0000 (00:23 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 20 Jul 2010 12:23:28 +0000 (00:23 +1200)
Made to hard-fail if --with is used.

configure.in

index 87913be6f7b1972759a811b0798c5332934d1a32..78b445895a2303e86843a75ad131ca6ef0673015 100644 (file)
@@ -1942,7 +1942,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
 ])