aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-11-28 15:08:52 +0100
committerRaimo Niskanen <[email protected]>2011-11-30 10:37:25 +0100
commitc1d51c600ee44c630f997d818e074ca1da7da429 (patch)
tree5fcba72c4c37e2672ca123530eeb9348923710fc /erts
parent536a36808f91e449d5ec9ab2a3dfcc9a137469f4 (diff)
downloadotp-c1d51c600ee44c630f997d818e074ca1da7da429.tar.gz
otp-c1d51c600ee44c630f997d818e074ca1da7da429.tar.bz2
otp-c1d51c600ee44c630f997d818e074ca1da7da429.zip
erts: Configure check for SCTP features only when sctp.h is found
Diffstat (limited to 'erts')
-rw-r--r--erts/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 03125acced..76a2e2d800 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -1508,6 +1508,9 @@ if test "x$enable_sctp" != "xno" ; then
#include <sys/socket.h>
#endif
])
+fi
+
+if test x"$ac_cv_header_netinet_sctp_h" = x"yes"; then
AC_CHECK_FUNCS([sctp_bindx sctp_peeloff])
AC_CHECK_DECLS([SCTP_UNORDERED, SCTP_ADDR_OVER, SCTP_ABORT,
SCTP_EOF, SCTP_SENDALL, SCTP_ADDR_CONFIRMED,