Bug 645793 - Configure should be permitted to disable gconf support all together. r=khuey
authorJory A. Pratt <anarchy@gentoo.org>
Mon, 04 Apr 2011 02:21:52 +0200
changeset 64650 038340b47ab98dd16c99c098deb1e474d8ee78c6
parent 64649 4e4c7457e8f78669a000b1183e31d1cee6cfc6a6
child 64651 e4811650797ba489c381e7a79c4461245cd1c9db
push idunknown
push userunknown
push dateunknown
reviewerskhuey
bugs645793
milestone2.2a1pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 645793 - Configure should be permitted to disable gconf support all together. r=khuey
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5641,16 +5641,21 @@ then
 
     AC_SUBST(MOZ_ENABLE_GIO)
     AC_SUBST(MOZ_GIO_CFLAGS)
     AC_SUBST(MOZ_GIO_LIBS)
    
     dnl ========================================================
     dnl = GConf support module
     dnl ========================================================
+    MOZ_ARG_DISABLE_BOOL(gconf,
+    [  --disable-gconf      Disable Gconf support ],
+        MOZ_ENABLE_GCONF=,
+        MOZ_ENABLE_GCONF=force)
+
     if test "$MOZ_ENABLE_GCONF"
     then
         PKG_CHECK_MODULES(MOZ_GCONF, gconf-2.0 >= $GCONF_VERSION gobject-2.0 ,[
             MOZ_GCONF_LIBS=`echo $MOZ_GCONF_LIBS | sed 's/-llinc\>//'`
             MOZ_ENABLE_GCONF=1
         ],[
             if test "$MOZ_ENABLE_GCONF" = "force"
             then