[gnome-builder/wip/libide: 116/237] build: cleanup dependency defines
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide: 116/237] build: cleanup dependency defines
- Date: Tue, 17 Feb 2015 21:39:10 +0000 (UTC)
commit 5f07aa46968b201539613f08dc15b3c44a9d82b6
Author: Christian Hergert <christian hergert me>
Date: Wed Feb 11 21:06:22 2015 -0800
build: cleanup dependency defines
build/autotools/autoconf.d/50_dependencies.post-am | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/build/autotools/autoconf.d/50_dependencies.post-am
b/build/autotools/autoconf.d/50_dependencies.post-am
index 105a812..129b8d1 100644
--- a/build/autotools/autoconf.d/50_dependencies.post-am
+++ b/build/autotools/autoconf.d/50_dependencies.post-am
@@ -1,10 +1,17 @@
-PKG_CHECK_MODULES(BUILDER, [gtk+-3.0 >= 3.15.6
- gtksourceview-3.0 >= 3.15.3
+m4_define([gtk_required_version], [3.15.6])
+m4_define([glib_required_version], [2.43.4])
+m4_define([gtksourceview_required_version], [3.15.4])
+m4_define([ggit_required_version], [0.0.24])
+
+PKG_CHECK_MODULES(BUILDER, [gtk+-3.0 >= gtk_required_version
+ gtksourceview-3.0 >= gtksourceview_required_version
libdevhelp-3.0 >= 3.14.0
- libgit2-glib-1.0 >= 0.0.24])
-PKG_CHECK_MODULES(LIBIDE, [gio-2.0 >= 2.43.4
- gio-unix-2.0 >= 2.43.4
- libgit2-glib-1.0 >= 0.0.24])
+ libgit2-glib-1.0 >= ggit_required_version])
+
+PKG_CHECK_MODULES(LIBIDE, [gio-2.0 >= glib_required_version
+ gio-unix-2.0 >= glib_required_version
+ gtksourceview-3.0 >= gtksourceview_required_version
+ libgit2-glib-1.0 >= ggit_required_version])
AC_PATH_PROG([LLVM_CONFIG], [llvm-config])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]