Disable Bludgeon by default



Just simple patch that disables the building of bludgeon unless
specifically requested. Seeing as most people don't use it.

--
Cheers,
Kevin Kubasik
http://blog.kubasik.net/
Index: configure.in
===================================================================
RCS file: /cvs/gnome/beagle/configure.in,v
retrieving revision 1.232
diff -u -r1.232 configure.in
--- configure.in	26 Mar 2006 07:44:33 -0000	1.232
+++ configure.in	26 Mar 2006 15:50:19 -0000
@@ -113,7 +113,7 @@
 AC_PROG_INTLTOOL([0.23])
 GETTEXT_PACKAGE=beagle
 AC_SUBST(GETTEXT_PACKAGE)
-ALL_LINGUAS="bg ca cs da de el en_CA en_GB es fi fr gl he hu it ja ka ko lt mk nb nl no pa pl pt_BR sv tr uk vi zh_CN zh_HK zh_TW"
+ALL_LINGUAS="bg ca cs da de el en_CA en_GB es fi fr gl he hu it ja ka ko lt mk nb nl no pl pt_BR sv tr uk vi zh_CN zh_HK zh_TW"
 AM_GLIB_GNU_GETTEXT
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the package for translations])
 
@@ -368,7 +368,15 @@
 AM_CONDITIONAL(ENABLE_LIBBEAGLE, test "x$enable_libbeagle" = "xyes")
 
 dnl ----------------------------------------------
+#AM_CONDITIONAL(ENABLE_BLUDGEON, test)
+AC_ARG_ENABLE([bludgeon],
+	AC_HELP_STRING([--enable-bludgeon], [Enable bludgeon testing tool]),
+	enable_bludgeon=$enableval,
+	enable_bludgeon=no)
+AM_CONDITIONAL([ENABLE_BLUDGEON], [test "x$enable_bludgeon" = "xyes"])
 
+	
+dnl ----------------------------------------------
 dnl Epiphany Extension
 dnl Much of this is cut&pasted from epiphany-extensions/configure.ac
 
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/beagle/Makefile.am,v
retrieving revision 1.40
diff -u -r1.40 Makefile.am
--- Makefile.am	24 Jan 2006 21:15:30 -0000	1.40
+++ Makefile.am	26 Mar 2006 15:50:19 -0000
@@ -26,13 +26,16 @@
 endif
 
 SUBDIRS +=			\
-	mozilla-extension	\
-	bludgeon
+	mozilla-extension	
+	
 
 if ENABLE_EPIPHANY_EXTENSION
 SUBDIRS += epiphany-extension
 endif
 
+if ENABLE_BLUDGEON
+SUBDIRS += bludgeon
+endif
 # When the chooser work has been fixed up to use libbeagle, we can
 # reenable this directory.
 # SUBDIRS += chooser-fu


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