[PolicyKit-gnome] Drop --with-gtk=2.0|3.0



commit 49afdef49ab995e2411ec4ea6e5a6106bc3b1183
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 5 09:20:27 2011 -0400

    Drop --with-gtk=2.0|3.0
    
    Now that we are no longer installing a library, this is even
    less necessary than it was in the past. We can just require
    GTK+ 3.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658255

 configure.ac |   23 ++---------------------
 1 files changed, 2 insertions(+), 21 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 915bca1..2f2ce05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,28 +123,9 @@ fi
 
 POLKIT_AGENT_REQUIRED=0.97
 POLKIT_GOBJECT_REQUIRED=0.97
+GTK_REQUIRED=3.0.0
 
-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_API_VERSION=2.0
-       GTK_REQUIRED=2.17.1
-       ;;
-  3.0) GTK_API_VERSION=3.0
-       GTK_REQUIRED=3.0.0
-       ;;
-esac
-AC_SUBST(GTK_API_VERSION)
-
-
-PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED)
+PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQUIRED)
 AC_SUBST(GTK_CFLAGS)
 AC_SUBST(GTK_LIBS)
 



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