sac-tport.m4 508 Bytes
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7 8
dnl ======================================================================
dnl SAC_TPORT - perform checks for tport
dnl ======================================================================
AC_DEFUN([SAC_TPORT], [
# Check for features used by tport.
AC_SYS_IP_RECVERR
AC_SYS_IPV6_RECVERR

Pekka Pessi's avatar
Pekka Pessi committed
9 10
AC_CHECK_HEADERS(netinet/tcp.h)

Pekka Pessi's avatar
Pekka Pessi committed
11 12 13 14 15 16 17 18
if test x$with_sctp != xno; then
AC_CHECK_HEADERS(netinet/sctp.h, [
AC_DEFINE(HAVE_SCTP, 1, [Define this a 1 if you have SCTP])
])
fi

AM_CONDITIONAL(HAVE_TLS, test x$HAVE_TLS = x1)
])