]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bootstrapped
authorAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 3 Aug 2009 02:03:14 +0000 (20:03 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 3 Aug 2009 02:03:14 +0000 (20:03 -0600)
Makefile.in

index 2e22274cdc4016d4c868872a919904c75915608d..ca134056a8ea0916fdc3ae974248f4d1b8a91109 100644 (file)
@@ -741,6 +741,16 @@ install-pinger:
 
 all-am:
        @echo "Build Successful."
+
+check: have-cppunit check-recursive
+
+have-cppunit:
+       @if test "@SQUID_CPPUNIT_INC@@SQUID_CPPUNIT_LA@@SQUID_CPPUNIT_LIBS@" = "" ; then \
+               echo "FATAL: 'make check' requires cppunit and cppunit development packages. They do not appear to be installed." ; \
+               exit 1 ; \
+       fi
+
+.PHONY: have-cppunit
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: