forked from enlightenment/efl
fix ecore_evas_extn checks.. (shm_open checks too) to work.
SVN revision: 68302
This commit is contained in:
parent
978448d656
commit
367799c1ec
|
@ -1392,16 +1392,26 @@ if ! test "x${have_atfile_source}" = "xno" ; then
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
SHM_OPEN_LIBS=""
|
||||||
AC_COMPILE_IFELSE(
|
AC_COMPILE_IFELSE(
|
||||||
[AC_LANG_PROGRAM(
|
[AC_LANG_PROGRAM(
|
||||||
[[
|
[[
|
||||||
#include <mman.h>
|
#include <sys/mman.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <fcntl.h>
|
||||||
]],
|
]],
|
||||||
[[
|
[[
|
||||||
int i = shm_open(NULL, 0, 0);
|
int fd;
|
||||||
|
fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
|
||||||
|
shm_unlink("/");
|
||||||
]])],
|
]])],
|
||||||
[have_shm_open="yes"],
|
[
|
||||||
|
have_shm_open="yes"
|
||||||
|
AC_DEFINE(HAVE_SHM_OPEN, 1, [Have shm_open() call])
|
||||||
|
SHM_OPEN_LIBS="-lrt"
|
||||||
|
],
|
||||||
[have_shm_open="no"])
|
[have_shm_open="no"])
|
||||||
|
AC_SUBST(SHM_OPEN_LIBS)
|
||||||
|
|
||||||
AC_MSG_CHECKING([shm_open])
|
AC_MSG_CHECKING([shm_open])
|
||||||
AC_MSG_RESULT([${have_shm_open}])
|
AC_MSG_RESULT([${have_shm_open}])
|
||||||
|
@ -1862,11 +1872,13 @@ if test "x${have_ecore_ipc}" = "xno" || \
|
||||||
have_extn="no"
|
have_extn="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ECORE_EVAS_CHECK_MODULE([extn],
|
dnl THIS IS SPECIAL - dont use normal ECORE_EVAS_CHECK_MODULE
|
||||||
[${want_ecore_evas_extn}],
|
have_ecore_evas_extn="no"
|
||||||
[Extension],
|
if test "x${want_ecore_evas_extn}" = "xyes" && \
|
||||||
[${have_extn}],
|
test "x${have_ecore_evas}" = "xyes"; then
|
||||||
[requirements_ecore_evas="ecore-evas-software-buffer >= 1.1.99 ecore-ipc >= 1.1.99 ${requirements_ecore_evas}"])
|
AC_DEFINE([BUILD_ECORE_EVAS_EXTN], [1], [Support for Extn Engine in Ecore_Evas])
|
||||||
|
have_ecore_evas_extn="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
# ecore_evas_psl1ght
|
# ecore_evas_psl1ght
|
||||||
|
|
||||||
|
@ -2143,6 +2155,7 @@ if test "x${have_ecore_evas}" = "xyes" ; then
|
||||||
echo " Sing.Proc. Windowing System: $have_ecore_evas_ews"
|
echo " Sing.Proc. Windowing System: $have_ecore_evas_ews"
|
||||||
echo " Wayland Shm................: $have_ecore_evas_wayland_shm"
|
echo " Wayland Shm................: $have_ecore_evas_wayland_shm"
|
||||||
echo " Wayland Egl................: $have_ecore_evas_wayland_egl"
|
echo " Wayland Egl................: $have_ecore_evas_wayland_egl"
|
||||||
|
echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
echo " Tests................: ${enable_tests}"
|
echo " Tests................: ${enable_tests}"
|
||||||
|
|
|
@ -151,6 +151,7 @@ $(top_builddir)/src/lib/ecore/libecore.la \
|
||||||
@EVAS_LIBS@ \
|
@EVAS_LIBS@ \
|
||||||
@EINA_LIBS@ \
|
@EINA_LIBS@ \
|
||||||
@EVIL_LIBS@ \
|
@EVIL_LIBS@ \
|
||||||
|
@SHM_OPEN_LIBS@ \
|
||||||
@WAYLAND_EGL_LIBS@
|
@WAYLAND_EGL_LIBS@
|
||||||
|
|
||||||
libecore_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
|
libecore_evas_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
|
||||||
|
|
Loading…
Reference in New Issue