summaryrefslogtreecommitdiff
path: root/source4/lib/registry/config.m4
blob: d0d1d2c54b7ccadadf6a5347df99912087130186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Registry backends
                                                                                                                              
if test t$BLDSHARED = ttrue; then
    LIBWINREG_SHARED=bin/libwinregistry.$SHLIBEXT
fi
LIBWINREG=libwinregistry

AC_CONFIG_FILES(lib/registry/winregistry.pc)

SMB_MODULE_DEFAULT(registry_gconf, NOT)

SMB_EXT_LIB_FROM_PKGCONFIG(gconf, gconf-2.0)

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)
fi