X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=configure.ng;h=56139968ff01e7e56d226081dc0c594852462010;hp=34094a485180cc9874085daf4d45a2b8ae31aefb;hb=e17d4bdec7857e7af9deb02681585fad15eb1ebd;hpb=d28d838cb9a8488208c10ea73b25532e1aef8e06 diff --git a/configure.ng b/configure.ng index 34094a48..56139968 100644 --- a/configure.ng +++ b/configure.ng @@ -418,8 +418,8 @@ AC_ARG_WITH(openssl, LDFLAGS="-L$withval/lib $LDFLAGS" fi AC_CHECK_LIB(crypto, BIO_s_mem) - AC_CHECK_LIB(ssl, SSL_library_init) - AC_CHECK_FUNCS(SSL_library_init, x_ssl_openssl=yes, + AC_CHECK_LIB(ssl, SSL_new) + AC_CHECK_FUNCS(SSL_new, x_ssl_openssl=yes, AC_MSG_ERROR([Can't enable openssl]) ) fi