[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r3791 - trunk/utils/m4

Jakob Schlyter jakob at kirei.se
Thu Aug 26 10:46:07 CEST 2010


Author: jakob
Date: 2010-08-26 10:46:07 +0200 (Thu, 26 Aug 2010)
New Revision: 3791

Modified:
   trunk/utils/m4/acx_cunit.m4
Log:
sync


Modified: trunk/utils/m4/acx_cunit.m4
===================================================================
--- trunk/utils/m4/acx_cunit.m4	2010-08-26 08:45:52 UTC (rev 3790)
+++ trunk/utils/m4/acx_cunit.m4	2010-08-26 08:46:07 UTC (rev 3791)
@@ -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