1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

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
This commit is contained in:
Timo Sirainen 2002-08-27 12:21:26 +00:00 committed by cras
parent 6ca57e8c85
commit 52c44351c1

View File

@ -418,16 +418,14 @@ if test "x$enable_ssl" = xyes; then
enable_openssl="no"; enable_openssl="no";
OPENSSL_LDFLAGS=""; OPENSSL_LDFLAGS="";
AC_CHECK_LIB(ssl, SSL_read, AC_CHECK_LIB(ssl, SSL_read, [
AC_CHECK_LIB(crypto, X509_new, AC_CHECK_LIB(crypto, X509_new, [
AC_CHECK_HEADERS(openssl/ssl.h openssl/err.h, AC_CHECK_HEADERS(openssl/ssl.h openssl/err.h, [
[ enable_openssl="yes";
enable_openssl="yes"; OPENSSL_LDFLAGS="-lssl -lcrypto"
OPENSSL_LDFLAGS="-lssl -lcrypto" ])
], ])
AC_ERROR([Cannot find OpenSSL includes !])), ])
AC_ERROR([Cannot find libCrypto !])),
AC_ERROR([Cannot find libSSL !]))
CFLAGS=$save_CFLAGS CFLAGS=$save_CFLAGS
if test "x`echo $GLIB_LIBS|grep glib-2.0`" != "x"; then if test "x`echo $GLIB_LIBS|grep glib-2.0`" != "x"; then