diff options
author | David Malcolm <dmalcolm@redhat.com> | 2005-04-05 15:28:30 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-04-05 15:28:30 +0800 |
commit | 729d738dda748f7aa559109146ae3d81d4fb4ec5 (patch) | |
tree | 95b4c1edccd18bff7519732211341dab99a4acdc | |
parent | d9211502d97552e4939b993d4491e05d532d5fc9 (diff) | |
download | gsoc2013-evolution-729d738dda748f7aa559109146ae3d81d4fb4ec5.tar gsoc2013-evolution-729d738dda748f7aa559109146ae3d81d4fb4ec5.tar.gz gsoc2013-evolution-729d738dda748f7aa559109146ae3d81d4fb4ec5.tar.bz2 gsoc2013-evolution-729d738dda748f7aa559109146ae3d81d4fb4ec5.tar.lz gsoc2013-evolution-729d738dda748f7aa559109146ae3d81d4fb4ec5.tar.xz gsoc2013-evolution-729d738dda748f7aa559109146ae3d81d4fb4ec5.tar.zst gsoc2013-evolution-729d738dda748f7aa559109146ae3d81d4fb4ec5.zip |
set up DBUS_VERSION for use in the new-mail-notify plugin
2005-03-11 David Malcolm <dmalcolm@redhat.com>
* configure.in: set up DBUS_VERSION for use in the new-mail-notify
plugin
svn path=/trunk/; revision=29155
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 9 |
2 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2005-03-11 David Malcolm <dmalcolm@redhat.com> + + * configure.in: set up DBUS_VERSION for use in the new-mail-notify + plugin + 2005-03-31 Steve Murphy <murf@e-tools.com> * configure.in: Added "rw" to ALL_LINGUAS. diff --git a/configure.in b/configure.in index 76320bc632..bffc85cb1b 100644 --- a/configure.in +++ b/configure.in @@ -1393,6 +1393,12 @@ if echo ${plugins_enabled} | grep -q "new-mail-notify" ; then PKG_CHECK_MODULES(NMN, dbus-glib-1) AC_SUBST(NMN_CFLAGS) AC_SUBST(NMN_LIBS) + + # Get the version of the DBus API, so we can hack around API changes until the API stabilises: + # multiply by 1000 to convert decimal to integer; so e.g. 0.31 become 310 + # since preprocessor values must be integral + DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1 | awk '{print 1000 * $1}'`" + AC_SUBST(DBUS_VERSION) else plugins_enabled=`echo $plugins_enabled | sed -e "s/new-mail-notify//g"` echo "warning: dbus-glib-1 was not found, new-mail-notify plugin will not be built." @@ -1622,7 +1628,8 @@ echo "\ Dot Locking: $msg_dot File Locking: $msg_file Plugins: $msg_plugins - Gtk-doc: $enable_gtk_doc" + Gtk-doc: $enable_gtk_doc + DBus API version $DBUS_VERSION" if test x$enable_gtk_doc = xyes; then echo " |