diff options
author | Raimo Niskanen <[email protected]> | 2011-09-16 11:18:49 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2011-11-17 12:11:03 +0100 |
commit | e6b246fa68a6ae09f1fab60086a20caf9a4f4f19 (patch) | |
tree | 872d3e9518e9c7896c5cfee9d504acb93f10184d /erts/configure.in | |
parent | d661742424dfa8ecbc2797845b810383c356b268 (diff) | |
download | otp-e6b246fa68a6ae09f1fab60086a20caf9a4f4f19.tar.gz otp-e6b246fa68a6ae09f1fab60086a20caf9a4f4f19.tar.bz2 otp-e6b246fa68a6ae09f1fab60086a20caf9a4f4f19.zip |
erts: Use SCTP functions in default libs
On e.g FreeBSD the functions sctp_bindx() and sctp_peeloff() do not require
any extra linkage library flags and there is no dynamic lib to load
for them; use configure to find them.
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in index fafa1c7e92..f75c6580df 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1496,6 +1496,7 @@ if test "x$enable_sctp" = "xyes" ; then #include <sys/socket.h> #endif ]) + AC_CHECK_FUNCS([sctp_bindx sctp_peeloff]) AC_CHECK_DECLS([SCTP_UNORDERED, SCTP_ADDR_OVER, SCTP_ABORT, SCTP_EOF, SCTP_SENDALL, SCTP_ADDR_CONFIRMED], [], [], [#if HAVE_SYS_SOCKET_H |