[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3790 - trunk/OpenDNSSEC/m4

Jakob Schlyter jakob at kirei.se
Thu Aug 26 10:45:53 CEST 2010


Author: jakob
Date: 2010-08-26 10:45:52 +0200 (Thu, 26 Aug 2010)
New Revision: 3790

Modified:
   trunk/OpenDNSSEC/m4/acx_cunit.m4
Log:
do not configure with cunit if --without-cunit is given

Modified: trunk/OpenDNSSEC/m4/acx_cunit.m4
===================================================================
--- trunk/OpenDNSSEC/m4/acx_cunit.m4	2010-08-26 07:49:57 UTC (rev 3789)
+++ trunk/OpenDNSSEC/m4/acx_cunit.m4	2010-08-26 08:45:52 UTC (rev 3790)
@@ -9,6 +9,8 @@
 			CUNIT_PATH="/usr/local"
 		])
 
+	AS_IF([test "x$with_cunit" != xno],[
+
 	AC_MSG_CHECKING(what are the cunit includes)
 	CUNIT_INCLUDES="-I$CUNIT_PATH/include"
 	AC_MSG_RESULT($CUNIT_INCLUDES)
@@ -32,6 +34,12 @@
 	CPPFLAGS=$tmp_INCLUDES
 	LIBS=$tmp_LIBS
 
+	],[
+		AC_MSG_NOTICE([cunit disabled])
+		CUNIT_INCLUDES=
+		CUNIT_LIBS=
+	])
+
 	AC_SUBST(CUNIT_INCLUDES)
 	AC_SUBST(CUNIT_LIBS)
 ])




More information about the Opendnssec-commits mailing list