summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-11 10:04:50 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-05-11 10:04:50 +0200
commitc2513b374a809132f32e90760e1b39cb125f90b8 (patch)
tree56809748efcb5ae9ae2d8af541cdc73f31c501ca
parent96b296e6b66b13a458846ee2acf575965cff925c (diff)
downloadgstreamer-plugins-bad-c2513b374a809132f32e90760e1b39cb125f90b8.tar.gz
configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 920f4664f..ccaea01ab 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