devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=542e44a4457087c8ef65afc1ac3b18cc8dffbbf0

commit 542e44a4457087c8ef65afc1ac3b18cc8dffbbf0
Author: Chris Michael <cpmich...@osg.samsung.com>
Date:   Thu Jan 14 08:56:50 2016 -0500

    Fix build break for non-wayland builds
    
    This patch fixes an issue where implementing WBOD for wayland would
    always (previously) require ecore-drm to build. We fix this by
    adjusting the enlightenment_alert requirements based on if we are
    building with wayland support or not.
    
    Signed-off-by: Chris Michael <cpmich...@osg.samsung.com>
---
 configure.ac | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

diff --git a/configure.ac b/configure.ac
index dcecd58..f5a4960 100644
--- a/configure.ac
+++ b/configure.ac
@@ -934,18 +934,26 @@ fi
 
 AM_CONDITIONAL([HAVE_WAYLAND_ONLY], [test "x${have_wayland_only}" = "xyes"])
 
+e_alert_requires="\
+  evas >= $efl_version \
+  ecore >= $efl_version \
+  xcb \
+  xcb-shape \
+  xcb-keysyms \
+  eina >= ${efl_version} \
+  ecore >= ${efl_version} \
+  ecore-ipc >= ${efl_version}"
+
+if test "x${have_wayland}" = "xyes"; then
+  e_alert_requires="\
+    $e_alert_requires \
+    ecore-input >= ${efl_version} \
+    ecore-drm >= ${efl_version} \
+    evas >= ${efl_version}"
+fi
+
 if test "x${have_wayland_only}" != "xyes"; then
-  PKG_CHECK_MODULES(E_ALERT, [
-    xcb
-    xcb-shape
-    xcb-keysyms
-    eina >= ${efl_version}
-    ecore >= ${efl_version}
-    ecore-ipc >= ${efl_version}
-    ecore-input >= ${efl_version}
-    ecore-drm >= ${efl_version}
-    evas >= ${efl_version}
-  ])
+  PKG_CHECK_MODULES(E_ALERT, [$e_alert_requires])
 fi
 
 if test "x${have_wayland_only}" != "xyes"; then

-- 


Reply via email to