1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-15 07:33:25 +00:00

configure.at is now C99 able

This commit is contained in:
Gerhard Rieger 2022-12-25 19:29:14 +01:00
parent 75922a9189
commit 783d688463
2 changed files with 7 additions and 1 deletions

View file

@ -582,7 +582,9 @@ if test -n "$WITH_OPENSSL" -a "$sc_cv_have_openssl_ssl_h" = 'yes'; then
else
LIBS="$LIBS -lssl -lcrypto"
fi
AC_TRY_LINK([#include <openssl/ssl.h>],
AC_TRY_LINK([#include <openssl/ssl.h>
#include <openssl/err.h>
],
[SSL_library_init();ERR_error_string()],
[sc_cv_have_libssl='yes'],
[ LIBS="$LIBS -lcrypto"