aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorjorn <jorn@b067294f-1dea-0310-9683-c47a78595994>2006-08-21 13:51:06 +0000
committerjorn <jorn@b067294f-1dea-0310-9683-c47a78595994>2006-08-21 13:51:06 +0000
commit611fc76664d00a41f8ca494b0bb0128bb1eebde5 (patch)
treed6ad508e298931862e3db3c79f21ab0bf769599c /configure.ac
parentb0967807228f09160debb521511e83c8fd63aa33 (diff)
downloadmatchbox-panel-2-611fc76664d00a41f8ca494b0bb0128bb1eebde5.tar.gz
matchbox-panel-2-611fc76664d00a41f8ca494b0bb0128bb1eebde5.tar.bz2
matchbox-panel-2-611fc76664d00a41f8ca494b0bb0128bb1eebde5.zip
2006-08-21 Jorn Baayen <jorn@openedhand.com>
* applets/systray/Makefile.am: * applets/systray/systray.c: (tray_icon_added_cb), (message_sent_cb), (message_cancelled_cb), (screen_changed_cb), (mb_panel_applet_create): * configure.ac: Added optional support for tray icon messages using libnotify. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1386 b067294f-1dea-0310-9683-c47a78595994
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 969ac6b..ab0c899 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,17 @@ if test x$enable_startup_notification != xno; then
AC_DEFINE(USE_LIBSN, [1], [Has Startup Notification Support])
fi
+AC_ARG_ENABLE(libnotify,
+ [ --enable-libnotify enable libnotify support],
+ enable_libnotify=$enableval, enable_libnotify=yes )
+
+if test x$enable_libnotify != xno; then
+ PKG_CHECK_MODULES(LIBNOTIFY, libnotify, ,
+ AC_MSG_ERROR([*** Required libnotify library not installed ***]))
+
+ AC_DEFINE(USE_LIBNOTIFY, [1], [Has libnotify Support])
+fi
+
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
AC_SUBST(GLIB_GENMARSHAL)