r1432: - Move the various Gtk-specific parts from the registry code into a directory...
[samba.git] / source / lib / registry / config.m4
1 # Registry backends
2                                                                                                                               
3 if test t$BLDSHARED = ttrue; then
4     LIBWINREG_SHARED=bin/libwinregistry.$SHLIBEXT
5 fi
6 LIBWINREG=libwinregistry
7
8 AC_CONFIG_FILES(lib/registry/winregistry.pc)
9
10 SMB_MODULE_DEFAULT(registry_gconf, NOT)
11
12 SMB_EXT_LIB_FROM_PKGCONFIG(gconf, gconf-2.0)
13
14 if test t$SMB_EXT_LIB_ENABLE_gconf = tYES; then
15         SMB_MODULE_DEFAULT(registry_gconf, STATIC)
16 fi
17
18 SMB_EXT_LIB_FROM_PKGCONFIG(gtk, [glib-2.0 gtk+-2.0])
19
20 SMB_MODULE_MK(registry_nt4, REGISTRY, STATIC, lib/registry/config.mk)
21 SMB_MODULE_MK(registry_w95, REGISTRY, STATIC, lib/registry/config.mk)
22 SMB_MODULE_MK(registry_dir, REGISTRY, STATIC, lib/registry/config.mk)
23 SMB_MODULE_MK(registry_rpc, REGISTRY, STATIC, lib/registry/config.mk)
24 SMB_MODULE_MK(registry_gconf, REGISTRY, STATIC, lib/registry/config.mk)
25 SMB_MODULE_MK(registry_ldb, REGISTRY, STATIC, lib/registry/config.mk)
26
27 SMB_SUBSYSTEM_MK(REGISTRY,lib/registry/config.mk)
28
29 SMB_BINARY_MK(regdiff, lib/registry/config.mk)
30 SMB_BINARY_MK(regpatch, lib/registry/config.mk)
31 SMB_BINARY_MK(regshell, lib/registry/config.mk)
32 SMB_BINARY_MK(regtree, lib/registry/config.mk)
33
34 if test x"$experimental" = x"yes"; then
35         SMB_LIBRARY_ENABLE(libwinregistry, YES)
36 fi
37
38 SMB_LIBRARY_MK(libwinregistry, lib/registry/config.mk)