summaryrefslogtreecommitdiff
path: root/source4/gtk/config.m4
blob: 7757eae8be5fc6c0067ce511d9f1456887b5123e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dnl # LIB GTK SMB subsystem

SMB_EXT_LIB_FROM_PKGCONFIG(gtk, [glib-2.0 gtk+-2.0>=2.4])
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)