f-spot r4417 - trunk



Author: sdelcroix
Date: Thu Sep 18 14:29:17 2008
New Revision: 4417
URL: http://svn.gnome.org/viewvc/f-spot?rev=4417&view=rev

Log:
new --disable-nunit option

Modified:
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Thu Sep 18 14:29:17 2008
@@ -176,7 +176,15 @@
 AC_SUBST(LINK_DBUS)
 AC_SUBST(PATH_DBUS)
 
-dnl -- nunit ... workaround for ubuntu
+dnl -- nunit
+AC_ARG_ENABLE([nunit],[AC_HELP_STRING([--disable-unit], [build without unit tests])],,)
+AM_CONDITIONAL(DISABLE_NUNIT, test "x$enable_nunit" = "xno")
+
+if test "x$enable_nunit" = "xno"; then
+	NUNIT_DEFINES=''
+	NUNIT_PKG=''
+
+else 	
 NUNIT_DEFINES='-d:ENABLE_NUNIT'
 PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit >= $MONO_REQUIRED,
 [
@@ -201,6 +209,7 @@
     ])
   ])
 ])
+fi
 
 AC_SUBST(NUNIT_PKG)
 AC_SUBST(NUNIT_DEFINES)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]