You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2005/06/03 15:37:45 UTC

svn commit: r179788 - /apr/apr/branches/1.0.x/build/apr_network.m4

Author: jorton
Date: Fri Jun  3 06:37:44 2005
New Revision: 179788

URL: http://svn.apache.org/viewcvs?rev=179788&view=rev
Log:
Merge r179786 from trunk:

* build/apr_network.m4 (APR_CHECK_SCTP): Fix check for SCTP.

PR: 35021
Submitted by: Lee Begg <llnz paradise.net.nz>

Modified:
    apr/apr/branches/1.0.x/build/apr_network.m4

Modified: apr/apr/branches/1.0.x/build/apr_network.m4
URL: http://svn.apache.org/viewcvs/apr/apr/branches/1.0.x/build/apr_network.m4?rev=179788&r1=179787&r2=179788&view=diff
==============================================================================
--- apr/apr/branches/1.0.x/build/apr_network.m4 (original)
+++ apr/apr/branches/1.0.x/build/apr_network.m4 Fri Jun  3 06:37:44 2005
@@ -623,7 +623,8 @@
 dnl
 dnl check for presence of SCTP protocol support
 dnl
-AC_DEFUN(APR_CHECK_SCTP,[
+AC_DEFUN([APR_CHECK_SCTP],
+[
   AC_CACHE_CHECK([whether SCTP is supported], [apr_cv_sctp], [
   AC_TRY_RUN([
 #ifdef HAVE_SYS_TYPES_H
@@ -634,6 +635,12 @@
 #endif
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
+#endif
+#ifdef HAVE_NETINET_SCTP_H
+#include <netinet/sctp.h>
+#endif
+#ifdef HAVE_NETINET_SCTP_UIO_H
+#include <netinet/sctp_uio.h>
 #endif
 #include <stdlib.h>
 int main(void) {