From b1437273890058ce9e84f5efd3195f8834d0f9c0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Mon, 14 Oct 2013 10:32:16 +0900 Subject: [PATCH] evas: Add configure option to disable cserve Some people might want to disable cserve2 at build time to generate smaller packages. --- configure.ac | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7433177..2060040 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.7.4