[gitg] Remove --with-gtk flag



commit 60983b864897459e89ab050927ece816667a56d5
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Sun Mar 27 11:41:09 2011 +0200

    Remove --with-gtk flag

 configure.ac |   28 ++++------------------------
 1 files changed, 4 insertions(+), 24 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 03277df..cd76a2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,30 +57,10 @@ AC_CHECK_LIB([m], [sinf])
 
 # Which gtk+ API version to compile against
 
-AC_MSG_CHECKING([which gtk+ version to compile against])
-AC_ARG_WITH([gtk],
-	[AS_HELP_STRING([--with-gtk=2.0|3.0],[which gtk+ version to compile against (default: 2.0)])],
-	[case "$with_gtk" in
-		2.0|3.0) ;;
-		*) AC_MSG_ERROR([invalid gtk version specified]) ;;
-	esac],
-	[with_gtk=2.0])
-AC_MSG_RESULT([$with_gtk])
-
-case "$with_gtk" in
-	2.0)
-		GTK_REQUIRED=gtk+-2.0
-		GTK_REQUIRED_VERSION=2.18.0
-		GTKSOURCEVIEW_REQUIRED=gtksourceview-2.0
-		GTKSOURCEVIEW_REQUIRED_VERSION=2.8.0
-		;;
-	3.0)
-		GTK_REQUIRED=gtk+-3.0
-		GTK_REQUIRED_VERSION=2.90.0
-		GTKSOURCEVIEW_REQUIRED=gtksourceview-3.0
-		GTKSOURCEVIEW_REQUIRED_VERSION=2.90.0
-		;;
-esac
+GTK_REQUIRED=gtk+-2.0
+GTK_REQUIRED_VERSION=2.18.0
+GTKSOURCEVIEW_REQUIRED=gtksourceview-2.0
+GTKSOURCEVIEW_REQUIRED_VERSION=2.8.0
 
 GLIB_REQUIRED_VERSION=2.26
 



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