]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/autoconf/configure.in
Add src/tray-monitor directory
[bacula/bacula] / bacula / autoconf / configure.in
index d6fab848dd222dce7da536c049c2a5e439494db1..0da02b4875d5f67e4d9ab841650b4bca26af44ba 100644 (file)
@@ -200,7 +200,7 @@ AC_SUBST(GNOME_DIR)
 # wx-console (default off)
 # -------------------------------------------
 AC_ARG_ENABLE(wx-console,
-  [  --enable-wx-console      enable build of wxWidgets console [disabled]],
+  [  --enable-wx-console     enable build of wxWidgets console [disabled]],
   [if test x$enableval = xyes; then
     support_wx_console=yes
   fi])
@@ -225,6 +225,21 @@ fi
 AC_SUBST(WX_DIR)
 
 
+# -------------------------------------------
+# tray-monitor (default off)
+# -------------------------------------------
+AC_ARG_ENABLE(tray-monitor,
+  [  --enable-tray-monitor   enable build of Gnome tray monitor (compatible with KDE) [disabled]],
+  [if test x$enableval = xyes; then
+    support_tray_monitor=yes
+  fi])
+
+TRAY_MONITOR_DIR=
+if test x$support_tray_monitor = xyes; then
+# TODO: Check for GTK+ presence
+  TRAY_MONITOR_DIR=src/tray-monitor
+fi
+AC_SUBST(TRAY_MONITOR_DIR)
 
 # -------------------------------------------
 # smartalloc (default off)
@@ -1703,6 +1718,8 @@ AC_OUTPUT([autoconf/Make.common \
           src/gnome2-console/gnome-console.conf \
           src/wx-console/Makefile \
           src/wx-console/wx-console.conf \
+          src/tray-monitor/Makefile \
+          src/tray-monitor/tray-monitor.conf \
           src/dird/Makefile \
           src/dird/bacula-dir.conf \
           src/lib/Makefile \
@@ -1876,6 +1893,7 @@ Configuration on `date`:
   enable-smartalloc:         ${support_smartalloc} 
   enable-gnome:              ${support_gnome} ${gnome_version}
   enable-wx-console:         ${support_wx_console}
+  enable-tray-monitor:       ${support_tray_monitor}
   client-only:               ${build_client_only}
   ACL support:               ${have_acl}