[gitg] Use gtksourceview 3.0 when using gtk+ 3.0
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Use gtksourceview 3.0 when using gtk+ 3.0
- Date: Thu, 22 Jul 2010 11:34:44 +0000 (UTC)
commit a2121c3fe8cad7ed680c5c6714005cbb4d6935f7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Jul 22 13:33:39 2010 +0200
Use gtksourceview 3.0 when using gtk+ 3.0
configure.ac | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e2a45d0..885b1d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,9 +49,13 @@ PKG_CHECK_EXISTS([gtk+-3.0 >= 2.90],
[
GTK_REQUIRED=gtk+-3.0
GTK_REQUIRED_VERSION=2.90.0
+ GTKSOURCEVIEW_REQUIRED=gtksourceview-3.0
+ GTKSOURCEVIEW_REQUIRED_VERSION=2.90.0
],[
GTK_REQUIRED=gtk+-2.0
GTK_REQUIRED_VERSION=2.18.0
+ GTKSOURCEVIEW_REQUIRED=gtksourceview-2.0
+ GTKSOURCEVIEW_REQUIRED_VERSION=2.8.0
])
PKG_CHECK_MODULES(GITG, [
@@ -65,7 +69,7 @@ PKG_CHECK_MODULES(GITG, [
])
PKG_CHECK_MODULES(PACKAGE, [
- gtksourceview-2.0 >= 2.8
+ $GTKSOURCEVIEW_REQUIRED >= $GTKSOURCEVIEW_REQUIRED_VERSION
gconf-2.0
])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]