r1455: More Gtk+ updates:
[samba.git] / source / gtk / config.m4
1 dnl # LIB GTK SMB subsystem
2
3 SMB_EXT_LIB_FROM_PKGCONFIG(gtk, [glib-2.0 gtk+-2.0])
4 SMB_SUBSYSTEM_ENABLE(GTKSMB, NO)
5 SMB_BINARY_ENABLE(gregedit, NO)
6 SMB_BINARY_ENABLE(gwcrontab, NO)
7 SMB_BINARY_ENABLE(gwsam, NO)
8
9 if test t$SMB_EXT_LIB_ENABLE_gtk = tYES; then
10         SMB_SUBSYSTEM_ENABLE(GTKSMB, YES)
11         SMB_BINARY_ENABLE(gregedit, YES)
12         SMB_BINARY_ENABLE(gwcrontab, YES)
13         SMB_BINARY_ENABLE(gwsam, YES)
14         AC_DEFINE(HAVE_GTK, 1, [Whether GTK+ is available])
15 fi
16
17 SMB_SUBSYSTEM_MK(GTKSMB,gtk/config.mk)
18 SMB_BINARY_MK(gregedit,gtk/config.mk)
19 SMB_BINARY_MK(gwcrontab,gtk/config.mk)
20 SMB_BINARY_MK(gwsam,gtk/config.mk)