[HACK??] Fixes wayland-only build
authorFlorent Revest <revestflo@gmail.com>
Mon, 27 Jul 2015 15:40:13 +0000 (17:40 +0200)
committerNicolas Aguirre <aguirre.nicolas@gmail.com>
Tue, 3 Nov 2015 06:37:41 +0000 (07:37 +0100)
configure.ac

index 8e589be57b08fd0073eac698e72117f65b015a6a..009342ddcb3ef36d1c2cff3de84b7e68dc3ed4e9 100644 (file)
@@ -448,10 +448,10 @@ AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test -n "$eeze_mount"])
 have_wayland_only=no
 AC_ARG_ENABLE([wayland],
   AS_HELP_STRING([--enable-wayland],[enable wayland support in enlightenment @<:@default=disabled@:>@]),
-  [e_cv_want_wayland_only=$enableval],
-  [e_cv_want_wayland_only=no])
+  [have_wayland_only=$enableval],
+  [have_wayland_only=no])
 AC_MSG_CHECKING([whether wayland support is enabled])
-AC_MSG_RESULT([${e_cv_want_wayland_only}])
+AC_MSG_RESULT([${have_wayland_only}])
 
 # doxygen program for documentation building
 
@@ -744,7 +744,7 @@ AC_MSG_RESULT([${e_cv_want_wayland_egl}])
 if test "x${e_cv_want_wayland_only}" != "xno" ;then
   PKG_CHECK_MODULES([WAYLAND], [ecore-wayland >= 1.16 wayland-server >= 1.8.0 wayland-client >= 1.8.0 xkbcommon uuid],
     [
-      have_wayland_only=yes
+      have_wayland=yes
       AC_DEFINE_UNQUOTED([HAVE_WAYLAND],[1],[enable wayland support])
     ])
 else