configure: Fix GTK required version variable name

This commit is contained in:
Sebastian Dröge 2012-08-09 10:25:38 +02:00
parent 9f2aa8d47f
commit 1a92f7b812

View file

@ -234,7 +234,7 @@ AC_SUBST(GSTPB_PREFIX)
dnl GTK is optional and used in examples dnl GTK is optional and used in examples
HAVE_GTK=no HAVE_GTK=no
GT_REQ=3.0.0 GTK_REQ=3.0.0
if test "x$BUILD_EXAMPLES" = "xyes"; then if test "x$BUILD_EXAMPLES" = "xyes"; then
PKG_CHECK_MODULES(GTK, gtk+-$with_gtk >= $GTK_REQ, HAVE_GTK=yes, HAVE_GTK=no) PKG_CHECK_MODULES(GTK, gtk+-$with_gtk >= $GTK_REQ, HAVE_GTK=yes, HAVE_GTK=no)
dnl some examples need gtk+-x11 dnl some examples need gtk+-x11