evas: Add configure option to disable cserve

Some people might want to disable cserve2 at build time to
generate smaller packages.
This commit is contained in:
Jean-Philippe Andre 2013-10-14 10:32:16 +09:00
parent 6732ab15af
commit b143727389
1 changed files with 14 additions and 2 deletions

View File

@ -1261,8 +1261,6 @@ ARG_ENABLE_EVAS_IMAGE_LOADER(XPM, static)
### Default values
want_evas_cserve2="yes"
want_evas_engine_software_gdi="${have_win32}"
want_evas_engine_software_ddraw="${have_win32}"
want_evas_engine_gl_cocoa="${want_cocoa}"
@ -1609,6 +1607,20 @@ AC_CHECK_LIB([m], [lround],
)
# Evas cserve2
AC_ARG_ENABLE([cserve],
[AC_HELP_STRING([--enable-cserve],
[enable shared cache server (cserve2). @<:@default=enabled@:>@])],
[
if test "x${enableval}" = "xyes" ; then
want_evas_cserve2="yes"
else
want_evas_cserve2="no"
fi
],
[want_evas_cserve2="yes"])
if test "x${want_evas_image_loader_generic}" = "xyes" || test "x${want_evas_cserve2}" = "xyes" ; then
EFL_ADD_LIBS([EVAS], [${requirements_libs_shm}])
fi