aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorross <ross@b067294f-1dea-0310-9683-c47a78595994>2008-02-06 22:18:47 +0000
committerross <ross@b067294f-1dea-0310-9683-c47a78595994>2008-02-06 22:18:47 +0000
commit719b0682163d528f1942d6ec3b681a4cc59916ee (patch)
tree65979f57440e7615555cfb7fa1e58d2031a9ef50 /configure.ac
parentf30a2d829cb1d939adc0f6735680cec7ba5cfffb (diff)
downloadmatchbox-panel-2-719b0682163d528f1942d6ec3b681a4cc59916ee.tar.gz
matchbox-panel-2-719b0682163d528f1942d6ec3b681a4cc59916ee.tar.bz2
matchbox-panel-2-719b0682163d528f1942d6ec3b681a4cc59916ee.zip
2008-02-06 Ross Burton <ross@openedhand.com>
* configure.ac: Look for DBus * applets/Makefile: * applets/notify/*: Basic notification-daemon implementation as an applet. Needs work, but its usable. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1908 b067294f-1dea-0310-9683-c47a78595994
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 63100b3..e9275e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,10 +43,25 @@ if test x$enable_libnotify != xno; then
fi
AM_CONDITIONAL(HAVE_LIBNOTIFY, test x$enable_libnotify = xyes)
+
+# DBus
+AC_ARG_ENABLE(dbus,
+ AC_HELP_STRING([--disable-dbus], [disable DBus support]),
+ enable_dbus=$enableval, enable_dbus=yes )
+
+if test x$enable_dbus != xno; then
+ PKG_CHECK_MODULES(DBUS, dbus-glib-1, ,
+ AC_MSG_ERROR([*** Required DBus library not installed ***]))
+
+ AC_DEFINE(USE_DBUS, [1], [Has DBus Support])
+fi
+AM_CONDITIONAL(HAVE_DBUS, test x$enable_dbus = xyes)
+
# apm
AC_CHECK_HEADERS(apm.h, enable_linux_apm=yes, enable_linux_apm=no)
AM_CONDITIONAL(HAVE_LIBAPM, test x$enable_linux_apm = xyes)
+
# glib-genmarshal
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
AC_SUBST(GLIB_GENMARSHAL)
@@ -68,6 +83,7 @@ matchbox-panel/Makefile
applets/Makefile
applets/clock/Makefile
applets/launcher/Makefile
+applets/notify/Makefile
applets/startup/Makefile
applets/startup/data/Makefile
applets/startup-notify/Makefile