mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0
This commit is contained in:
parent
96b296e6b6
commit
c2513b374a
1 changed files with 2 additions and 1 deletions
|
@ -209,7 +209,8 @@ AC_SUBST(GSTPB_PREFIX)
|
|||
|
||||
dnl GTK is optional and used in examples
|
||||
HAVE_GTK=NO
|
||||
PKG_CHECK_MODULES(GTK, gtk+-x11-2.0 >= 2.12.0, HAVE_GTK=yes, HAVE_GTK=no)
|
||||
PKG_CHECK_MODULES(GTK, gtk+-x11-3.0, HAVE_GTK=yes,
|
||||
[PKG_CHECK_MODULES(GTK, gtk+-x11-2.0 >= 2.12.0, HAVE_GTK=yes,HAVE_GTK=no)])
|
||||
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
|
||||
|
||||
dnl Needed for GtkBuilder to autoconnect signals
|
||||
|
|
Loading…
Reference in a new issue