From: Andre Noll Date: Thu, 29 Aug 2013 22:57:11 +0000 (+0000) Subject: build: Make crypto optional. X-Git-Tag: v0.5.1~1^2~60 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=2dcdd92cf506162504c45d6e9df9a05fe4ee6a4f;p=paraslash.git build: Make crypto optional. Now that all three executables that need a crypto library have been made optional, it is no longer a fatal error if no library was found. This patch makes the build succeed in this case, albeit para_server, para_audiod and para_client will not be built. --- diff --git a/configure.ac b/configure.ac index e004eaf1..9918743e 100644 --- a/configure.ac +++ b/configure.ac @@ -316,10 +316,6 @@ if test "$check_gcrypt" = "yes"; then else have_gcrypt="no" fi -########################################################################### -if test "$have_openssl" = "no" -a "$have_gcrypt" = "no"; then - AC_MSG_ERROR([neither openssl nor gcrypt usable]) -fi ########################################################################### libsocket AC_CHECK_LIB([c], [socket], [socket_lib=],