Disable network support if required headers cannot be found.
authorMichael Kostylev <michael.kostylev@gmail.com>
Fri, 19 Jun 2009 17:21:13 +0000 (17:21 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 19 Jun 2009 17:21:13 +0000 (17:21 +0000)
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 19227 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 05e5d19..995353d 100755 (executable)
--- 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