From 07c41bead2097de223def8b6975f08a2f65e908c Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Wed, 25 May 2011 10:55:41 +0200 Subject: [PATCH] Make the tests build when OpenSSL is not available. Don't #define HAVE_OPENSSL (to zero) when OpenSSL is not available. Code written as #ifdef HAVE_OPENSSL do not expect that. --- configure.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 5085edea..85f92c36 100644 --- a/configure.in +++ b/configure.in @@ -137,8 +137,7 @@ AC_SEARCH_LIBS([SSL_new], [ssl], [have_openssl=yes OPENSSL_LIBS="$LIBS -lcrypto $EV_LIB_GDI $EV_LIB_WS32" AC_DEFINE(HAVE_OPENSSL, 1, [Define if the system has openssl])], - [have_openssl=no - AC_DEFINE(HAVE_OPENSSL, 0, [Define if the system lacks openssl])], + [have_openssl=no], [-lcrypto $EV_LIB_GDI $EV_LIB_WS32]) LIBS="$save_LIBS" AC_SUBST(OPENSSL_LIBS)