configure: Require GTK+ >= 2.14 for the examples
This commit is contained in:
parent
496ed42bbd
commit
b47b393566
@ -241,7 +241,7 @@ AC_SUBST(GSTPB_PREFIX)
|
|||||||
dnl GTK is optional and used in examples
|
dnl GTK is optional and used in examples
|
||||||
if test "x$BUILD_EXAMPLES" = "xyes"; then
|
if test "x$BUILD_EXAMPLES" = "xyes"; then
|
||||||
PKG_CHECK_MODULES(GTK, gtk+-3.0, HAVE_GTK=yes,
|
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_LIBS)
|
||||||
AC_SUBST(GTK_CFLAGS)
|
AC_SUBST(GTK_CFLAGS)
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user