aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-07-15 12:08:48 +0200
committerRaimo Niskanen <[email protected]>2016-07-15 12:08:48 +0200
commitddfae156c2b21d5266bd6eb82bf9ca7c508226fd (patch)
treeb6992f8cbb298b5a50a79d34feb136070d4b0dac
parente5c646324cfd9d1f55a6bc44f59daebe215b1c84 (diff)
parent52fae83743a6e84d719f4f82fe45e6e0efdbd6f0 (diff)
downloadotp-ddfae156c2b21d5266bd6eb82bf9ca7c508226fd.tar.gz
otp-ddfae156c2b21d5266bd6eb82bf9ca7c508226fd.tar.bz2
otp-ddfae156c2b21d5266bd6eb82bf9ca7c508226fd.zip
Merge branch 'falkevik/erts/configure_to_check_in_libsctp_for_sctp_funcs' into maint
* falkevik/erts/configure_to_check_in_libsctp_for_sctp_funcs: Check libsctp for sctp funcs in configure.in
-rw-r--r--erts/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 81ecad4f51..c5b08547cb 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -1676,7 +1676,8 @@ if test "x$enable_sctp" != "xno" ; then
fi
if test x"$ac_cv_header_netinet_sctp_h" = x"yes"; then
- AC_CHECK_FUNCS([sctp_bindx sctp_peeloff sctp_getladdrs sctp_freeladdrs sctp_getpaddrs sctp_freepaddrs])
+ AC_CHECK_LIB(sctp, sctp_bindx)
+ AC_CHECK_FUNCS([sctp_peeloff sctp_getladdrs sctp_freeladdrs sctp_getpaddrs sctp_freepaddrs])
AC_CHECK_DECLS([SCTP_UNORDERED, SCTP_ADDR_OVER, SCTP_ABORT,
SCTP_EOF, SCTP_SENDALL, SCTP_ADDR_CONFIRMED,
SCTP_DELAYED_ACK_TIME,