From c6a3ee8baba002d7568d17fb0bc73908eb4da2e7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 7 Jun 2005 18:11:59 +0000 Subject: r7373: Disable reg_gconf by default, allow building it with --enable-reg-gconf (This used to be commit 6596f619c0500a419a680a7488a0838c234f2069) --- source4/lib/registry/config.m4 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'source4/lib/registry') diff --git a/source4/lib/registry/config.m4 b/source4/lib/registry/config.m4 index abadcbe1a0..d0d1d2c54b 100644 --- a/source4/lib/registry/config.m4 +++ b/source4/lib/registry/config.m4 @@ -11,9 +11,13 @@ SMB_MODULE_DEFAULT(registry_gconf, NOT) SMB_EXT_LIB_FROM_PKGCONFIG(gconf, gconf-2.0) -if test t$SMB_EXT_LIB_ENABLE_gconf = tYES; then - SMB_MODULE_DEFAULT(registry_gconf, STATIC) -fi +AC_ARG_ENABLE(reg-gconf, +[ --enable-reg-gconf Enable support for GConf registry backend], +[ + if test t$enable = tyes && test t$SMB_EXT_LIB_ENABLE_gconf = tYES; then + SMB_MODULE_DEFAULT(registry_gconf, STATIC) + fi +]) if test x"$experimental" = x"yes"; then SMB_LIBRARY_ENABLE(libwinregistry, YES) -- cgit