From c2513b374a809132f32e90760e1b39cb125f90b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 11 May 2010 10:04:50 +0200 Subject: [PATCH] configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 920f4664f8..ccaea01ab4 100644 --- a/configure.ac +++ b/configure.ac @@ -209,7 +209,8 @@ AC_SUBST(GSTPB_PREFIX) dnl GTK is optional and used in examples HAVE_GTK=NO -PKG_CHECK_MODULES(GTK, gtk+-x11-2.0 >= 2.12.0, HAVE_GTK=yes, HAVE_GTK=no) +PKG_CHECK_MODULES(GTK, gtk+-x11-3.0, HAVE_GTK=yes, + [PKG_CHECK_MODULES(GTK, gtk+-x11-2.0 >= 2.12.0, HAVE_GTK=yes,HAVE_GTK=no)]) AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") dnl Needed for GtkBuilder to autoconnect signals