Only check for socklen_t if network support is enabled.

Originally committed as revision 14498 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-08-01 18:27:59 +00:00
parent 2e11268ea9
commit 668b65bd83

3
configure vendored
View File

@ -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