configure: Fix the wayland version

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677362
This commit is contained in:
Sreerenj Balachandran 2012-06-03 01:58:12 +03:00 committed by Wim Taymans
parent b98ec32380
commit 58b90055d4

View file

@ -857,7 +857,7 @@ AG_GST_CHECK_FEATURE(DIRECTFB, [directfb], dfbvideosink , [
dnl **** Wayland ****
translit(dnm, m, l) AM_CONDITIONAL(USE_WAYLAND, true)
AG_GST_CHECK_FEATURE(WAYLAND, [wayland sink], wayland , [
PKG_CHECK_MODULES(WAYLAND, wayland-client >= 0.1, [
PKG_CHECK_MODULES(WAYLAND, wayland-server <= 0.85.0 wayland-client <= 0.85.0, [
AC_CHECK_HEADER(wayland-client.h, HAVE_WAYLAND_CLIENT="yes", HAVE_WAYLAND_CLIENT="no")
AC_CHECK_HEADER(wayland-client-protocol.h, HAVE_WAYLAND_CLIENT_PROTOCOL="yes", HAVE_WAYLAND_CLIENT_PROTOCOL="no")
if test "x$HAVE_WAYLAND_CLIENT" = "xno"; then