Only check for socklen_t if network support is enabled.

Originally committed as revision 14498 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent 2e11268ea9
commit 668b65bd83
  1. 3
      configure

3
configure vendored

@ -1754,12 +1754,11 @@ fi
texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
check_type sys/socket.h socklen_t
##########################################
# Network check
if enabled network; then
check_type sys/socket.h socklen_t
# Prefer arpa/inet.h over winsock2
if check_header arpa/inet.h ; then
check_func closesocket

Loading…
Cancel
Save