diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-06-29 22:46:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-06-29 23:18:00 +0800 |
commit | 59aa704f310e7eeb11089022af7a706faf49a2c6 (patch) | |
tree | 3424f64357cb1cfaeffe70d4faed289e814ea246 | |
parent | f919a3bc4ebe0f000af4122a4b2f756f9b631136 (diff) | |
download | gsoc2013-evolution-59aa704f310e7eeb11089022af7a706faf49a2c6.tar.gz gsoc2013-evolution-59aa704f310e7eeb11089022af7a706faf49a2c6.tar.zst gsoc2013-evolution-59aa704f310e7eeb11089022af7a706faf49a2c6.zip |
Require libnotify >= 0.5.1 when building against gtk+-3.0.
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 68e9d3560d..6c02684d1c 100644 --- a/configure.ac +++ b/configure.ac @@ -51,7 +51,6 @@ m4_define([nm_minimum_version],[0.7]) m4_define([champlain_minimum_version], [0.4]) m4_define([geoclue_minimum_version], [0.11.1]) m4_define([clutter_gtk_minimum_version], [0.10.0]) -m4_define([libnotify_minimum_version], [0.3.0]) m4_define([gweather_minimum_version], [2.25.3]) m4_define([gtkimageview_minimum_version], [1.6]) m4_define([gladeui_minimum_version], [3.0.0]) @@ -86,6 +85,8 @@ if test "x${enable_gtk3}" = "xyes"; then libgtkhtml_minimum_version="3.31.4" GTKHTML_EDITOR="gtkhtml-editor-4.0" + + libnotify_minimum_version="0.5.1" else LIBEDATASERVERUI="libedataserverui-1.2" @@ -108,6 +109,8 @@ else libgtkhtml_minimum_version="3.31.2" GTKHTML_EDITOR="gtkhtml-editor-3.14" + + libnotify_minimum_version="0.3.0" fi AC_SUBST(GTKHTML_EDITOR) @@ -1297,7 +1300,7 @@ dnl Libnotify Flags dnl *************** LIBNOTIFY_CFLAGS= LIBNOTIFY_LIBS= -PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= libnotify_minimum_version], [HAVE_LIBNOTIFY="yes"], [HAVE_LIBNOTIFY="no"]) +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]) libnotify="libnotify" |