mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -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";
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user