mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-28 09:15:08 +00:00
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…
Reference in a new issue