Ecore: Fix configure.ac detection of the egl library (needs version >=

7.10).



SVN revision: 69646
This commit is contained in:
Christopher Michael 2012-03-27 02:18:40 +00:00
parent 4c2f9b615a
commit 27dcf03388
1 changed files with 4 additions and 4 deletions

View File

@ -1917,7 +1917,7 @@ ECORE_EVAS_CHECK_MODULE([psl1ght],
ecore_wayland_deps="no"
have_wayland="no"
if test "x${want_ecore_wayland}" = "xyes" ; then
PKG_CHECK_MODULES([WAYLAND], [egl wayland-egl wayland-client xkbcommon], [have_wayland="yes"], [have_wayland="no"])
PKG_CHECK_MODULES([WAYLAND], [egl >= 7.10 wayland-egl wayland-client xkbcommon], [have_wayland="yes"], [have_wayland="no"])
fi
if test "x${have_ecore_input}" = "xyes" -a "x${have_wayland}" = "xyes" ; then
ecore_wayland_deps="yes"
@ -1925,7 +1925,7 @@ fi
ECORE_CHECK_MODULE([wayland], [${want_ecore_wayland}], [Wayland], [${ecore_wayland_deps}])
if test "x${have_ecore_wayland}" = "xyes" ; then
requirements_ecore_wayland="ecore-input >= 1.2.0 egl wayland-egl wayland-client xkbcommon ${requirements_ecore_wayland}"
requirements_ecore_wayland="ecore-input >= 1.1.0 egl >= 7.10 wayland-egl wayland-client xkbcommon ${requirements_ecore_wayland}"
fi
ECORE_EVAS_CHECK_MODULE_FULL([wayland-shm], [wayland-shm],
@ -1934,14 +1934,14 @@ ECORE_EVAS_CHECK_MODULE_FULL([wayland-shm], [wayland-shm],
[${have_ecore_wayland}],
[requirements_ecore_evas="${requirements_ecore_wayland} ${requirements_ecore_evas}"])
ECORE_EVAS_CHECK_MODULE_FULL([wayland-egl], [wayland-egl egl],
ECORE_EVAS_CHECK_MODULE_FULL([wayland-egl], [wayland-egl egl >= 7.10],
[${want_ecore_evas_wayland_egl}],
[Wayland Egl],
[${have_ecore_wayland}],
[
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 egl ${requirements_ecore_wayland} ${requirements_ecore_evas}"
requirements_ecore_evas="wayland-egl egl >= 7.10 ${requirements_ecore_wayland} ${requirements_ecore_evas}"
fi
])