From 52c44351c1d67e6f8c4e26fe5c6b3d3a11038aa7 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 27 Aug 2002 12:21:26 +0000 Subject: [PATCH] Don't consider missing SSL/crypto libs fatal, simply disable SSL support. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2903 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/configure.in b/configure.in index 53311875..643fb442 100644 --- a/configure.in +++ b/configure.in @@ -418,16 +418,14 @@ if test "x$enable_ssl" = xyes; then enable_openssl="no"; OPENSSL_LDFLAGS=""; - AC_CHECK_LIB(ssl, SSL_read, - AC_CHECK_LIB(crypto, X509_new, - AC_CHECK_HEADERS(openssl/ssl.h openssl/err.h, - [ - enable_openssl="yes"; - OPENSSL_LDFLAGS="-lssl -lcrypto" - ], - AC_ERROR([Cannot find OpenSSL includes !])), - AC_ERROR([Cannot find libCrypto !])), - AC_ERROR([Cannot find libSSL !])) + AC_CHECK_LIB(ssl, SSL_read, [ + AC_CHECK_LIB(crypto, X509_new, [ + AC_CHECK_HEADERS(openssl/ssl.h openssl/err.h, [ + enable_openssl="yes"; + OPENSSL_LDFLAGS="-lssl -lcrypto" + ]) + ]) + ]) CFLAGS=$save_CFLAGS if test "x`echo $GLIB_LIBS|grep glib-2.0`" != "x"; then