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

SMB_EXT_LIB_FROM_PKGCONFIG(gtk, [glib-2.0 gtk+-2.0 >= 2.4])
SMB_ENABLE(gtksamba, NO)
SMB_ENABLE(gregedit, NO)
SMB_ENABLE(gwcrontab, NO)
SMB_ENABLE(gwsam, NO)
SMB_ENABLE(gepdump, NO)
SMB_ENABLE(gwsvcctl, NO)
SMB_ENABLE(EVENTS_GTK, NO)

if test t$SMB_ENABLE_gtk = tYES; then
	SMB_ENABLE(gtksamba, YES)
	SMB_ENABLE(gregedit, YES)
	SMB_ENABLE(gwcrontab, YES)
	SMB_ENABLE(gwsam, YES)
	SMB_ENABLE(gwsvcctl, YES)
	SMB_ENABLE(gepdump, YES)
	SMB_ENABLE(EVENTS_GTK, YES)
	AC_DEFINE(HAVE_GTK, 1, [Whether GTK+ is available])
fi