r955: Update debian package rules... builds now
[ira/wip.git] / source4 / 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_BINARY_ENABLE(gregedit, NO)
11 SMB_MODULE_DEFAULT(registry_gconf, NOT)
12
13 SMB_EXT_LIB_FROM_PKGCONFIG(gconf, gconf-2.0)
14
15 if test t$SMB_EXT_LIB_ENABLE_gconf = tYES; then
16         SMB_MODULE_DEFAULT(registry_gconf, STATIC)
17 fi
18
19 SMB_EXT_LIB_FROM_PKGCONFIG(gtk, [glib-2.0 gtk+-2.0])
20
21 if test t$SMB_EXT_LIB_ENABLE_gtk = tYES; then
22         SMB_BINARY_ENABLE(gregedit, YES)
23 fi
24
25 SMB_MODULE_MK(registry_nt4, REGISTRY, STATIC, lib/registry/config.mk)
26 SMB_MODULE_MK(registry_w95, REGISTRY, STATIC, lib/registry/config.mk)
27 SMB_MODULE_MK(registry_dir, REGISTRY, STATIC, lib/registry/config.mk)
28 SMB_MODULE_MK(registry_rpc, REGISTRY, STATIC, lib/registry/config.mk)
29 SMB_MODULE_MK(registry_gconf, REGISTRY, STATIC, lib/registry/config.mk)
30 SMB_MODULE_MK(registry_ldb, REGISTRY, STATIC, lib/registry/config.mk)
31
32 SMB_SUBSYSTEM_MK(REGISTRY,lib/registry/config.mk)
33
34 SMB_BINARY_MK(regdiff, lib/registry/config.mk)
35 SMB_BINARY_MK(regpatch, lib/registry/config.mk)
36 SMB_BINARY_MK(regshell, lib/registry/config.mk)
37 SMB_BINARY_MK(regtree, lib/registry/config.mk)
38 SMB_BINARY_MK(gregedit, lib/registry/config.mk)
39
40 if test x"$experimental" = x"yes"; then
41         SMB_LIBRARY_ENABLE(libwinregistry, YES)
42 fi
43
44 SMB_LIBRARY_MK(libwinregistry, lib/registry/config.mk)