mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
6ca57e8c85
commit
52c44351c1
18
configure.in
18
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
|
||||
|
Loading…
Reference in New Issue
Block a user