Commit b47b3935 authored by Sebastian Dröge's avatar Sebastian Dröge

configure: Require GTK+ >= 2.14 for the examples

parent 496ed42b
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment