From: Sebastian Dröge Date: Tue, 11 May 2010 08:01:52 +0000 (+0200) Subject: configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0 X-Git-Tag: RELEASE-0.10.23~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15617314f2e257bdfbb3fd7969e5067cc34dfc3c;p=platform%2Fupstream%2Fgst-plugins-good.git configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0 --- diff --git a/configure.ac b/configure.ac index 48859f7..b3dbb95 100644 --- a/configure.ac +++ b/configure.ac @@ -242,7 +242,8 @@ AC_SUBST(GSTPB_PREFIX) dnl GTK is optional and used in examples if test "x$BUILD_EXAMPLES" = "xyes"; then - PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0, HAVE_GTK=yes, HAVE_GTK=no) + PKG_CHECK_MODULES(GTK, gtk+-3.0, HAVE_GTK=yes, + [PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0, HAVE_GTK=yes, HAVE_GTK=no)]) AC_SUBST(GTK_LIBS) AC_SUBST(GTK_CFLAGS) fi