[gedit] Require gtksourceview 3 when using gtk+ 3



commit 1cd948643b36184ee9f28aa92fbe4b8767a2941d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Jun 12 11:14:11 2010 +0200

    Require gtksourceview 3 when using gtk+ 3

 configure.ac |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1750228..2c0b43f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -267,14 +267,17 @@ dnl ================================================================
 # Dependencies
 GTK_REQUIRED=
 GTK_REQUIRED_VERSION=
+GSV_REQUIRED=
 
 PKG_CHECK_EXISTS([gtk+-3.0 >= 2.90],
 		 [
 		 	GTK_REQUIRED=gtk+-3.0
 		 	GTK_REQUIRED_VERSION=2.90.0
+		 	GSV_REQUIRED=gtksourceview-3.0
 		 ],[
 		 	GTK_REQUIRED=gtk+-2.0
 		 	GTK_REQUIRED_VERSION=2.16.0
+		 	GSV_REQUIRED=gtksourceview-2.0
 		 ])
 
 PKG_CHECK_MODULES(GEDIT, [
@@ -283,7 +286,7 @@ PKG_CHECK_MODULES(GEDIT, [
 	gthread-2.0 >= 2.13.0
 	gio-2.0 >= 2.25.8
 	$GTK_REQUIRED >= $GTK_REQUIRED_VERSION
-	gtksourceview-2.0 >= 2.9.7
+	$GSV_REQUIRED >= 2.9.7
 	gconf-2.0 >= 2.31.1
 ])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]