sac-tport.m4 475 Bytes
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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

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)
])