summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Kostylev <michael.kostylev@gmail.com>2009-06-19 17:21:13 +0000
committerDiego Biurrun <diego@biurrun.de>2009-06-19 17:21:13 +0000
commit28c9f06959974c905622d18c318365cee8c315ad (patch)
tree8375b743a321841f2237662d227924c6f5a0db29 /configure
parent352666c17c3d24d1df9796dd7afbff3b0fe26380 (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 05e5d19122..995353dc13 100755
--- a/configure
+++ b/configure
@@ -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