mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0
This commit is contained in:
parent
cf57f1b220
commit
15617314f2
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue