changeset 125:8aa829378790

Added support for libsctp
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 15 Aug 2008 17:51:34 +0900
parents b4d229d647b7
children b82a482f0ed8
files configure.ac
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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], 
"Welcome to our mercurial repository"