r9772: Make credentials callbacks more consistant with the abstraction
[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 >= 2.4])
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 SMB_BINARY_ENABLE(gepdump, NO)
9
10 if test t$SMB_EXT_LIB_ENABLE_gtk = tYES; then
11         SMB_SUBSYSTEM_ENABLE(GTKSMB, YES)
12         SMB_BINARY_ENABLE(gregedit, YES)
13         SMB_BINARY_ENABLE(gwcrontab, YES)
14         SMB_BINARY_ENABLE(gwsam, YES)
15         SMB_BINARY_ENABLE(gepdump, YES)
16         AC_DEFINE(HAVE_GTK, 1, [Whether GTK+ is available])
17 fi