From 74fadb26fa77d3e01846b97f813b1ebe92aea19f Mon Sep 17 00:00:00 2001 From: Adrian Negreanu Date: Mon, 29 Jul 2013 13:20:49 +0100 Subject: [PATCH] configure: fix build when disabling ecore_con and crypto. configure command: ./configure --disable-ecore-con --disable-curl --with-glib=no --with-crypto=none EFL_CRYPTO_DEPEND macro appends the crypto libraries to the ECORE_CON dependency list. In case the ECORE_CON dependency list and the build_crypto are both empty the resulting list will only contain " ", resulting in an error configure: error: Package requirements ( ) were not met: Signed-off-by: Adrian Negreanu --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3a726a8402..1a65673e44 100644 --- a/configure.ac +++ b/configure.ac @@ -1974,7 +1974,9 @@ AC_DEFINE_IF([HAVE_ABSTRACT_SOCKETS], ### Checks for libraries EFL_PLATFORM_DEPEND([ECORE_CON], [all]) -EFL_CRYPTO_DEPEND([ECORE_CON]) +if test "$build_crypto" != "none" ; then + EFL_CRYPTO_DEPEND([ECORE_CON]) +fi EFL_INTERNAL_DEPEND_PKG([ECORE_CON], [eo]) EFL_INTERNAL_DEPEND_PKG([ECORE_CON], [eet]) EFL_INTERNAL_DEPEND_PKG([ECORE_CON], [eina])