From 28c9f06959974c905622d18c318365cee8c315ad Mon Sep 17 00:00:00 2001
From: Michael Kostylev <michael.kostylev@gmail.com>
Date: Fri, 19 Jun 2009 17:21:13 +0000
Subject: [PATCH] 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
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 05e5d191229..995353dc13f 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
 
-- 
GitLab