summaryrefslogtreecommitdiff
path: root/source4/gtk/config.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-07-11 01:01:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:55 -0500
commite3fd2d049216f79ced472e2af790ca6ffefba442 (patch)
treed394eb711189208c7fb02a71b71b0286719127d6 /source4/gtk/config.m4
parentefb010202f8c2edb35ab6fbbb57650140c21734a (diff)
downloadsamba-e3fd2d049216f79ced472e2af790ca6ffefba442.tar.gz
samba-e3fd2d049216f79ced472e2af790ca6ffefba442.tar.bz2
samba-e3fd2d049216f79ced472e2af790ca6ffefba442.zip
r1432: - Move the various Gtk-specific parts from the registry code into a directory gtk/
- Move common "Samba-Gtk" code into gtk/common/ ("Connect to RPC pipe"-dialog, etc) - Add a new utility 'gwcrontab' that can currently list, delete and add 'atsvc' jobs. It still displays times and dates as integers though, will fix that later. Some screenshots available at: http://samba.org/~jelmer/gwcrontab/ (This used to be commit d321cf20f1f0ff33603b013c26d370669f255868)
Diffstat (limited to 'source4/gtk/config.m4')
-rw-r--r--source4/gtk/config.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/gtk/config.m4 b/source4/gtk/config.m4
new file mode 100644
index 0000000000..c939c4cbc8
--- /dev/null
+++ b/source4/gtk/config.m4
@@ -0,0 +1,16 @@
+dnl # LIB GTK SMB subsystem
+
+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)
+
+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)
+fi
+
+SMB_SUBSYSTEM_MK(GTKSMB,gtk/config.mk)
+SMB_BINARY_MK(gregedit,gtk/config.mk)
+SMB_BINARY_MK(gwcrontab,gtk/config.mk)