Commit 8f2abb4d authored by Pekka Pessi's avatar Pekka Pessi

Addeed --enable-sctp.

darcs-hash:20060417235209-65a35-6a95123e304e4091a3e6c38a4d149a039f04999d.gz
parent 7aa0ca38
......@@ -27,11 +27,13 @@ fi
AC_SYS_IP_RECVERR
AC_SYS_IPV6_RECVERR
AC_CHECK_HEADERS(netinet/tcp.h)
AC_CHECK_HEADERS(netinet/tcp.h netinet/sctp.h)
if test x$with_sctp != xno; then
AC_CHECK_HEADERS(netinet/sctp.h, [
AC_ARG_WITH(sctp,
[ --enable-sctp use LK-SCTP (not used by default)],,
enable_sigcomp=no)
if test x$enable_sctp = xyes; then
AC_DEFINE(HAVE_SCTP, 1, [Define this a 1 if you have SCTP])
])
fi
])
......@@ -36,6 +36,7 @@ network elements.
%build
options=--with-aclocal=aclocal
%{?_with_sigcomp:options="$options --with-sigcomp"}
options="$options --enable-sctp"
%configure --with-pic --enable-shared --disable-dependency-tracking $options
make %{_smp_mflags}
%{?_with_check:make check}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment