aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-08 16:01:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-13 04:45:57 +0200
commitae8491ce33cfe5a9e33764579c9e55e785107e98 (patch)
treec0c159e01acc2e3620f60c997c9a30e0603ab29f
parent3f78fe1d5681b1275e48796dd9ede5ab7bf56f87 (diff)
downloadffmpeg-ae8491ce33cfe5a9e33764579c9e55e785107e98.tar.gz
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>
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 4e1a61196a..0b6e0ac022 100755
--- a/configure
+++ b/configure
@@ -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