[metacity] configure: Remove --with-gtk flag
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] configure: Remove --with-gtk flag
- Date: Thu, 19 May 2011 16:45:37 +0000 (UTC)
commit 48cc8cbdad70a6bf2b4e6d44d1744ab956ac830a
Author: Colin Walters <walters verbum org>
Date: Thu May 19 12:44:51 2011 -0400
configure: Remove --with-gtk flag
We only support GTK2 right now; if someone wants to do the port,
they can readd the configure flag as the last step.
https://bugzilla.gnome.org/show_bug.cgi?id=650513
configure.in | 27 ++++++---------------------
1 files changed, 6 insertions(+), 21 deletions(-)
---
diff --git a/configure.in b/configure.in
index 7e6cd99..1832c7d 100644
--- a/configure.in
+++ b/configure.in
@@ -107,27 +107,12 @@ if test "x$GCC" = "xyes"; then
fi
changequote([,])dnl
-AC_MSG_CHECKING([which gtk+ version to compile against])
-AC_ARG_WITH([gtk],
- AC_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_MIN_VERSION=2.20.0
- CANBERRA_GTK=libcanberra-gtk
- ;;
- 3.0) GTK_API_VERSION=3.0
- GTK_MIN_VERSION=2.90.0
- CANBERRA_GTK=libcanberra-gtk3
- ;;
-esac
+dnl This used to purport to allow compilation against gtk3, but it doesn't actually
+dnl work; see https://bugzilla.gnome.org/show_bug.cgi?id=650513
+with_gtk=2.0
+GTK_API_VERSION=2.0
+GTK_MIN_VERSION=2.20.0
+CANBERRA_GTK=libcanberra-gtk
METACITY_PC_MODULES="gtk+-$GTK_API_VERSION >= $GTK_MIN_VERSION pango >= 1.2.0"
AC_SUBST(GTK_API_VERSION)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]