Revert "[HACK??] Fixes wayland-only build"
authorNicolas Aguirre <aguirre.nicolas@gmail.com>
Tue, 3 Nov 2015 07:01:26 +0000 (08:01 +0100)
committerNicolas Aguirre <aguirre.nicolas@gmail.com>
Tue, 3 Nov 2015 07:01:26 +0000 (08:01 +0100)
This reverts commit bc3464e98c94638cb4cbe0065fa512413ac51c91.

configure.ac

index 009342ddcb3ef36d1c2cff3de84b7e68dc3ed4e9..8e589be57b08fd0073eac698e72117f65b015a6a 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@:>@]),
-  [have_wayland_only=$enableval],
-  [have_wayland_only=no])
+  [e_cv_want_wayland_only=$enableval],
+  [e_cv_want_wayland_only=no])
 AC_MSG_CHECKING([whether wayland support is enabled])
-AC_MSG_RESULT([${have_wayland_only}])
+AC_MSG_RESULT([${e_cv_want_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=yes
+      have_wayland_only=yes
       AC_DEFINE_UNQUOTED([HAVE_WAYLAND],[1],[enable wayland support])
     ])
 else