configure: fix sctp check.
This fixes build failures on debian/kfreebsd Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit bed63a5e98b1ba1f3bca6c81ea819666c2d81fde) Conflicts: configure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3f78fe1d56
commit
ae8491ce33
6
configure
vendored
6
configure
vendored
@ -1217,7 +1217,6 @@ HAVE_LIST="
|
||||
memalign
|
||||
mkstemp
|
||||
mmap
|
||||
netinet_sctp_h
|
||||
PeekNamedPipe
|
||||
poll_h
|
||||
posix_memalign
|
||||
@ -1237,6 +1236,7 @@ HAVE_LIST="
|
||||
struct_addrinfo
|
||||
struct_ipv6_mreq
|
||||
struct_rusage_ru_maxrss
|
||||
struct_sctp_event_subscribe
|
||||
struct_sockaddr_in6
|
||||
struct_sockaddr_sa_len
|
||||
struct_sockaddr_storage
|
||||
@ -1665,7 +1665,7 @@ mmst_protocol_deps="network"
|
||||
rtmp_protocol_deps="!librtmp_protocol"
|
||||
rtmp_protocol_select="tcp_protocol"
|
||||
rtp_protocol_select="udp_protocol"
|
||||
sctp_protocol_deps="network netinet_sctp_h"
|
||||
sctp_protocol_deps="network struct_sctp_event_subscribe"
|
||||
tcp_protocol_deps="network"
|
||||
tls_protocol_deps_any="openssl gnutls"
|
||||
tls_protocol_select="tcp_protocol"
|
||||
@ -3070,7 +3070,7 @@ if enabled network; then
|
||||
check_type netinet/in.h "struct sockaddr_in6"
|
||||
check_type "sys/types.h sys/socket.h" "struct sockaddr_storage"
|
||||
check_struct "sys/types.h sys/socket.h" "struct sockaddr" sa_len
|
||||
check_header netinet/sctp.h
|
||||
check_type netinet/sctp.h "struct sctp_event_subscribe"
|
||||
# Prefer arpa/inet.h over winsock2
|
||||
if check_header arpa/inet.h ; then
|
||||
check_func closesocket
|
||||
|
Loading…
x
Reference in New Issue
Block a user