Commit 2139de70 authored by diego's avatar diego

Only check for socklen_t if network support is enabled.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14498 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 72c981fb
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment