diff options
author | Flo Gravo <flo.gravo@gmail.com> | 2010-10-23 06:54:27 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-23 06:54:27 +0800 |
commit | 8854c727c1c05bc22a7757ffa93bc9533286525f (patch) | |
tree | ee93b2f5830a4fcec4ed4947fda36865f6fddd5b /configure.ac | |
parent | 2636da7dac1683c7bac98b7a6d1ee084ea2efbca (diff) | |
download | gsoc2013-evolution-8854c727c1c05bc22a7757ffa93bc9533286525f.tar.gz gsoc2013-evolution-8854c727c1c05bc22a7757ffa93bc9533286525f.tar.zst gsoc2013-evolution-8854c727c1c05bc22a7757ffa93bc9533286525f.zip |
Bug 632903 - Support libnotify-0.7
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d7c2abee8f..133161eae4 100644 --- a/configure.ac +++ b/configure.ac @@ -1340,7 +1340,7 @@ LIBNOTIFY_CFLAGS= LIBNOTIFY_LIBS= PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= $libnotify_minimum_version], [HAVE_LIBNOTIFY="yes"], [HAVE_LIBNOTIFY="no"]) if test "x$HAVE_LIBNOTIFY" = "xyes"; then - AC_DEFINE(HAVE_LIBNOTIFY, 1, [libnotify available]) + AC_DEFINE(HAVE_LIBNOTIFY, 1, [Define if you have libnotify]) libnotify="libnotify" else libnotify="" @@ -1348,6 +1348,10 @@ fi AC_SUBST(LIBNOTIFY_CFLAGS) AC_SUBST(LIBNOTIFY_LIBS) +if $PKG_CONFIG --atleast-version=0.7 libnotify; then + AC_DEFINE(HAVE_LIBNOTIFY_07, 1, [Define if you have libnotify >= 0.7]) +fi + dnl ************** dnl Calendar Flags dnl ************** |