]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
build: Make crypto optional.
authorAndre Noll <maan@systemlinux.org>
Thu, 29 Aug 2013 22:57:11 +0000 (22:57 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Dec 2013 10:47:17 +0000 (11:47 +0100)
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.

configure.ac

index e004eaf1ea08d9d4e31bd2c9762de1df69f6904e..9918743e8cf498aeb2892c44d16e009d68af0aea 100644 (file)
@@ -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=],