The test for SCTP support in libc on FreeBSD only allows it to work on
FreeBSD 7 (or I suppose 70 :). That attached patch expands the test to
7 though 19 which should be enough for a while.  Hopefully by the time
FreeBSD 19 is out everything will have sctp support in libc or have
dropped it. :)

-- Brooks
$FreeBSD$

--- ompi/mca/btl/sctp/configure.m4.orig
+++ ompi/mca/btl/sctp/configure.m4
@@ -47,8 +47,8 @@
         ;;
     *bsd*)
         case "$host" in
-        *freebsd7*)
-            # FreeBSD 7 has SCTP in an unpatched default kernel with
+        *freebsd[789]*|*freebsd1[0-9]*)
+            # FreeBSD >= 7 has SCTP in an unpatched default kernel with
             #  the SCTP API contained within libc. 
             ompi_sctp_api_libname="c"
             ;;

Attachment: pgpzMf15AA7F9.pgp
Description: PGP signature

Reply via email to