summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2014-06-03 18:46:31 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2014-06-03 18:46:31 +0300
commita2013ae87a9c4a97e293964a0f3848d9425a65be (patch)
tree351a2d5c6e3d3d6acc3577bffd8bb7e5bdcc0839 /configure.ac
parentd9f01a0524b04897daf89899acbbf7ba10e21384 (diff)
downloadmetacity-a2013ae87a9c4a97e293964a0f3848d9425a65be.tar.gz
Build with gtk+-3.0
Most changes are copied from mutter 3.4.0. So thanks to mutter developers! They done all hard work. This patch also removes unused functions.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 3 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 2099255d..5b480b38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,13 +108,10 @@ if test "x$GCC" = "xyes"; then
fi
changequote([,])dnl
-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.24.0
+GTK_API_VERSION=3.0
+GTK_MIN_VERSION=3.8.0
GIO_MIN_VERSION=2.25.10
-CANBERRA_GTK=libcanberra-gtk
+CANBERRA_GTK=libcanberra-gtk3
METACITY_PC_MODULES="gtk+-$GTK_API_VERSION >= $GTK_MIN_VERSION gio-2.0 >= $GIO_MIN_VERSION pango >= 1.2.0 gsettings-desktop-schemas >= 3.3.0"
AC_SUBST(GTK_API_VERSION)