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

@ -30,6 +30,10 @@ Coding:
starting the data transfer loop. Useful, e.g., to accumulate multiple starting the data transfer loop. Useful, e.g., to accumulate multiple
packets in a receiving datagram socket before starting to process them. packets in a receiving datagram socket before starting to process them.
Porting:
Small correction in configure.ac makes Socat C99 able.
Thanks to Florian Weimer from Red Hat for provinding a patch.
Testing: Testing:
Idea: EXEC,SYSTEM addresses can keep packet boundaries when option Idea: EXEC,SYSTEM addresses can keep packet boundaries when option
socktype=<val-of-SOCK_DGRAM> socktype=<val-of-SOCK_DGRAM>

View file

@ -582,7 +582,9 @@ if test -n "$WITH_OPENSSL" -a "$sc_cv_have_openssl_ssl_h" = 'yes'; then
else else
LIBS="$LIBS -lssl -lcrypto" LIBS="$LIBS -lssl -lcrypto"
fi 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()], [SSL_library_init();ERR_error_string()],
[sc_cv_have_libssl='yes'], [sc_cv_have_libssl='yes'],
[ LIBS="$LIBS -lcrypto" [ LIBS="$LIBS -lcrypto"