configure.ac: wayland only build fix

When only wayland is enabled, the build system is still looking for
ecore-x. When the following test is always true since have_wayland_only
has been initialed to "no".

if test "x${have_wayland_only}" != "xyes"; then
  PKG_CHECK_MODULES([ECORE_X], [ecore-x >= ${efl_version}])

Use e_cv_want_wayland_only instead.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
This commit is contained in:
Romain Naour 2016-08-20 20:45:49 +02:00 committed by Mike Blumenkrantz
parent 287e9637a8
commit 70125b9cff
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ fi
AM_CONDITIONAL([HAVE_WAYLAND], [test "x${have_wayland}" = "xyes"])
AM_CONDITIONAL([HAVE_WAYLAND_EGL], [test "x${have_wayland_egl}" = "xyes"])
if test "x${have_wayland_only}" != "xyes"; then
if test "x${e_cv_want_wayland_only}" != "xyes"; then
PKG_CHECK_MODULES([ECORE_X], [ecore-x >= ${efl_version}])
if test -n "$ECORE_X_CFLAGS" ; then
ecore_x=true