Disable network support if required headers cannot be found.

patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 19227 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Kostylev 2009-06-19 17:21:13 +00:00 committed by Diego Biurrun
parent 352666c17c
commit 28c9f06959

2
configure vendored
View File

@ -2173,6 +2173,8 @@ if enabled network; then
network_extralibs="-lws2_32"
check_type ws2tcpip.h socklen_t
check_func_headers winsock2.h closesocket
else
disable network
fi
fi