From 362e75067dede2446444e86a9d6384fc8fe83a38 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 10 Sep 2010 13:12:59 +0200 Subject: [PATCH] get rid of -lssl dependency in OpenSSL case (only need -lcrypto) --- configure.ac | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 3430f5f..967b879 100644 --- a/configure.ac +++ b/configure.ac @@ -8,10 +8,8 @@ AC_ARG_WITH(openssl, AS_HELP_STRING([--with-openssl], [Use OpenSSL instead of GM AM_CONDITIONAL(WITH_OPENSSL, [test x"$with_openssl" != xno]) AS_IF([test x"$with_openssl" != xno], - [AC_SEARCH_LIBS(BN_init, ssl, , - [AC_SEARCH_LIBS(BN_init, ssl, , - [AC_MSG_ERROR([OpenSSL not found, see http://www.openssl.org/, or try --without-openssl])])], - -lcrypto)], + [AC_SEARCH_LIBS(BN_init, crypto, , + [AC_MSG_ERROR([OpenSSL not found, see http://www.openssl.org/, or try --without-openssl])])], [AC_SEARCH_LIBS(__gmpz_init, gmp, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/, or try --with-openssl])])]) -- 2.39.2