Also check for closesocket in winsock2.h
authorRamiro Polla <ramiro.polla@gmail.com>
Sun, 12 Aug 2007 00:27:18 +0000 (00:27 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sun, 12 Aug 2007 00:27:18 +0000 (00:27 +0000)
Originally committed as revision 10086 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 7c7a552..b460063 100755 (executable)
--- a/configure
+++ b/configure
@@ -1630,7 +1630,8 @@ check_func getrusage
 check_func2 windows.h GetProcessTimes
 
 check_func fork
-check_func closesocket
+check_func closesocket ||
+    check_func2 winsock2.h closesocket
 
 test "$vhook" = "default" && vhook="$dlopen"