[network-manager-applet] build: require Gtk 3.4 or later
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] build: require Gtk 3.4 or later
- Date: Tue, 12 Mar 2013 19:24:16 +0000 (UTC)
commit a0396dcb09ad1c145b162978019f3c593bc9fb45
Author: Dan Winship <danw gnome org>
Date: Sun Feb 24 15:28:16 2013 +0100
build: require Gtk 3.4 or later
configure.ac | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 61cd85f..928abf5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -150,21 +150,7 @@ PKG_CHECK_MODULES(NOTIFY, [libnotify >= 0.4.3])
AC_SUBST(NOTIFY_CFLAGS)
AC_SUBST(NOTIFY_LIBS)
-gtk2_req=2.20
-gtk3_req=3.0
-AC_ARG_WITH([gtkver], AS_HELP_STRING([--with-gtkver], [The major version of GTK+ to build with]),
- with_gtkver="$withval",with_gtkver=0)
-case "${with_gtkver}" in
- 0) PKG_CHECK_MODULES(GTK, gtk+-3.0 > $gtk3_req, ,
- [PKG_CHECK_MODULES(GTK, gtk+-2.0 > $gtk2_req)])
- ;;
- 2) PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $gtk2_req)
- ;;
- 3) PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $gtk3_req)
- ;;
- *) AC_MSG_ERROR(unknown GTK+ version $with_gtkver!)
- ;;
-esac
+PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.4)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]