# HG changeset patch # User Sebastien Decugis # Date 1218790294 -32400 # Node ID 8aa8293787900e03f9149af2a9ce4c88256a996d # Parent b4d229d647b77c26a2ccf8c27d723406c4753344 Added support for libsctp diff -r b4d229d647b7 -r 8aa829378790 configure.ac --- a/configure.ac Fri Aug 08 18:16:36 2008 +0900 +++ b/configure.ac Fri Aug 15 17:51:34 2008 +0900 @@ -172,6 +172,9 @@ # This is a POSIX function but sometimes in separate libraries AC_SEARCH_LIBS([clock_gettime], [rt posix4], , [AC_MSG_ERROR([This package needs clock_gettime.])]) +# Needed to retrieve the set of local addresses in SCTP associations +AC_SEARCH_LIBS([sctp_getladdrs], [sctp], , [AC_MSG_ERROR([This package needs sctp_getladdrs.])]) + ####################### # Checks for system services @@ -203,6 +206,7 @@ AM_CONDITIONAL([NOGNUTLS], [test x$with_gnutls = xno]) LIBGNUTLS= +# We may use the libgnutls-config --libs and --cflags helper program here... AS_IF( [test x$with_gnutls = xno], [], [test x$with_gnutls = xdefault], [AC_HAVE_LIBRARY([-lgnutls],