configure: Require GTK+ >= 2.14 for the examples

This commit is contained in:
Sebastian Dröge 2010-06-27 10:31:17 +02:00
parent 496ed42bbd
commit b47b393566

View file

@ -241,7 +241,7 @@ AC_SUBST(GSTPB_PREFIX)
dnl GTK is optional and used in examples
if test "x$BUILD_EXAMPLES" = "xyes"; then
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)])
[PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.14.0, HAVE_GTK=yes, HAVE_GTK=no)])
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
fi