r1455: More Gtk+ updates:
[samba.git] / source / gtk / config.m4
index c939c4cbc8777054a00f33b38934eb04806b66e2..757ce59c0719b279471c9adf8118274a5722b46f 100644 (file)
@@ -4,13 +4,17 @@ SMB_EXT_LIB_FROM_PKGCONFIG(gtk, [glib-2.0 gtk+-2.0])
 SMB_SUBSYSTEM_ENABLE(GTKSMB, NO)
 SMB_BINARY_ENABLE(gregedit, NO)
 SMB_BINARY_ENABLE(gwcrontab, NO)
+SMB_BINARY_ENABLE(gwsam, NO)
 
 if test t$SMB_EXT_LIB_ENABLE_gtk = tYES; then
        SMB_SUBSYSTEM_ENABLE(GTKSMB, YES)
        SMB_BINARY_ENABLE(gregedit, YES)
        SMB_BINARY_ENABLE(gwcrontab, YES)
+       SMB_BINARY_ENABLE(gwsam, YES)
+       AC_DEFINE(HAVE_GTK, 1, [Whether GTK+ is available])
 fi
 
 SMB_SUBSYSTEM_MK(GTKSMB,gtk/config.mk)
 SMB_BINARY_MK(gregedit,gtk/config.mk)
 SMB_BINARY_MK(gwcrontab,gtk/config.mk)
+SMB_BINARY_MK(gwsam,gtk/config.mk)