EFL_CRYPTO_DEPEND macro appends the crypto libraries
to an EFL dependency list.
In case the EFL dependency list and the build_crypto are both empty
the resulting list only contain " ".

   configure: error: Package requirements ( ) were not met:

Signed-off-by: Adrian Negreanu <gro...@gmail.com>
---
 configure.ac |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3a726a8..1a65673 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])
-- 
1.7.9.5


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to