X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=configure.ng;h=56139968ff01e7e56d226081dc0c594852462010;hp=bd40694f3ccdef563aefa32803a2941b4cab1564;hb=b2ba3e745a9e400e8fce431fc74801874a5e453a;hpb=67256f9da1cd43a31e3e703d15fbd4cf75c23923 diff --git a/configure.ng b/configure.ng index bd40694f..56139968 100644 --- a/configure.ng +++ b/configure.ng @@ -221,8 +221,8 @@ AC_CHECK_FUNCS([ \ # Optional functions AC_CHECK_FUNCS_ONCE([ arc4random arc4random_stir gai_strerror getnameinfo inet_aton \ - sigaction sigprocmask snprintf vsnprintf strdup strndup strlcpy strlcat \ - strtok_r unsetenv waitpid]) + setgroups sigaction sigprocmask snprintf strdup strlcat strlcpy \ + strndup strtok_r unsetenv vsnprintf waitpid]) WORKING_GETADDRINFO @@ -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