|
@ -25,6 +25,15 @@ else |
|
|
N2N_LIBS="-lzstd ${N2N_LIBS}" |
|
|
N2N_LIBS="-lzstd ${N2N_LIBS}" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AC_ARG_WITH([openssl], |
|
|
|
|
|
[AS_HELP_STRING([--with-openssl], |
|
|
|
|
|
[enable support for OpenSSL])], |
|
|
|
|
|
[], |
|
|
|
|
|
[with_openssl=no]) |
|
|
|
|
|
|
|
|
|
|
|
if test "x$with_openssl" != xno; then |
|
|
|
|
|
|
|
|
AC_CHECK_LIB([crypto], [AES_cbc_encrypt]) |
|
|
AC_CHECK_LIB([crypto], [AES_cbc_encrypt]) |
|
|
|
|
|
|
|
|
if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" != xyes; then |
|
|
if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" != xyes; then |
|
@ -47,6 +56,8 @@ else |
|
|
AC_DEFINE([HAVE_OPENSSL_1_1], [], [OpenSSL 1.1 is present]) |
|
|
AC_DEFINE([HAVE_OPENSSL_1_1], [], [OpenSSL 1.1 is present]) |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
AC_CHECK_LIB([pcap], [pcap_open_live], pcap=true) |
|
|
AC_CHECK_LIB([pcap], [pcap_open_live], pcap=true) |
|
|
|
|
|
|
|
|
if test x$pcap != x; then |
|
|
if test x$pcap != x; then |
|
|