From 70125b9cff35a006c66c026c95f447c9852728ce Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 20 Aug 2016 20:45:49 +0200 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 132a3b716..ec14351ec 100644 --- a/configure.ac +++ b/configure.ac @@ -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