From b1e9d1727b5e7d19a943b675bdc4a7ea6290ab4c Mon Sep 17 00:00:00 2001 From: devilhorns Date: Wed, 11 Jan 2012 13:06:02 +0000 Subject: [PATCH] Ecore & Ecore_Evas: Fix requirements in configure.ac for wayland_egl. Fix ecore_evas makefile to use wayland_egl_libs, etc. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@67081 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 9 +++++++-- src/lib/ecore_evas/Makefile.am | 7 +++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 1a52ce6..c49965e 100644 --- a/configure.ac +++ b/configure.ac @@ -1865,13 +1865,18 @@ ECORE_EVAS_CHECK_MODULE_FULL([wayland-shm], [wayland-shm], [${want_ecore_evas_wayland_shm}], [Wayland Shm], [${have_ecore_wayland}], - [requirements_ecore_evas="ecore-wayland >= 1.1.0 ${requirements_ecore_evas}"]) + [requirements_ecore_evas="${requirements_ecore_wayland} ${requirements_ecore_evas}"]) ECORE_EVAS_CHECK_MODULE_FULL([wayland-egl], [wayland-egl], [${want_ecore_evas_wayland_egl}], [Wayland Egl], [${have_ecore_wayland}], - [requirements_ecore_evas="ecore-wayland >= 1.1.0 ${requirements_ecore_evas}"]) + [ + PKG_CHECK_MODULES([WAYLAND_EGL], [wayland-egl], [have_wayland_egl="yes"], [have_wayland_egl="no"]) + if test "x${have_wayland_egl}" = "xyes" ; then + requirements_ecore_evas="wayland-egl ${requirements_ecore_wayland} ${requirements_ecore_evas}" + fi + ]) ### install and build examples diff --git a/src/lib/ecore_evas/Makefile.am b/src/lib/ecore_evas/Makefile.am index 88f036f..a1d9215 100644 --- a/src/lib/ecore_evas/Makefile.am +++ b/src/lib/ecore_evas/Makefile.am @@ -106,7 +106,8 @@ $(ECORE_WAYLAND_INC) \ $(ECORE_IPC_INC) \ @EVAS_CFLAGS@ \ @EINA_CFLAGS@ \ -@EVIL_CFLAGS@ +@EVIL_CFLAGS@ \ +@WAYLAND_EGL_CFLAGS@ AM_CFLAGS = @WIN32_CFLAGS@ @@ -128,6 +129,7 @@ ecore_evas_wince.c \ ecore_evas_ews.c \ ecore_evas_psl1ght.c \ ecore_evas_wayland_shm.c \ +ecore_evas_wayland_egl.c \ ecore_evas_extn.c libecore_evas_la_LIBADD = \ @@ -148,7 +150,8 @@ $(top_builddir)/src/lib/ecore_input_evas/libecore_input_evas.la \ $(top_builddir)/src/lib/ecore/libecore.la \ @EVAS_LIBS@ \ @EINA_LIBS@ \ -@EVIL_LIBS@ +@EVIL_LIBS@ \ +@WAYLAND_EGL_LIBS@ libecore_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ -- 2.7.4