[gnote] Add check for Gtkmm 3.4
- From: Aurimas Äernius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Add check for Gtkmm 3.4
- Date: Thu, 19 Apr 2012 20:45:33 +0000 (UTC)
commit d21fc503523f52a4dbd8f584e4e11153eaeb79d6
Author: Aurimas Äernius <aurisc4 gmail com>
Date: Mon Apr 16 23:49:54 2012 +0300
Add check for Gtkmm 3.4
configure.ac | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3c38748..815daf9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,11 @@ AC_LANG_COMPILER_REQUIRE
PKG_CHECK_MODULES(LIBGLIBMM, [glibmm-2.4])
PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= $GTK_VERSION])
PKG_CHECK_MODULES(LIBGTKMM, [gtkmm-3.0 >= $LIBGTKMM_VERSION])
+# Check for gtkmm 3.4 or higher for extra features
+PKG_CHECK_EXISTS(gtkmm-3.0 >= 3.4,
+ [
+ AC_DEFINE(HAVE_GTKMM_3_4, 1, [Define to 1 if gtkmm version is at least 3.4])
+ ])
# Check for glib 2.32 or higher, which have certain incompatibilities with older ones
PKG_CHECK_EXISTS(glib-2.0 >= 2.32,
[
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]