aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-08-01 18:27:59 +0000
committerDiego Biurrun <diego@biurrun.de>2008-08-01 18:27:59 +0000
commit668b65bd838daa6178ea72ce5f27056fba9a9e46 (patch)
treeaf5ffd9f693bdc73ba323d6fce5854e533757400
parent2e11268ea9812cec9ca334c8c0e825dcfb64bef9 (diff)
downloadffmpeg-668b65bd838daa6178ea72ce5f27056fba9a9e46.tar.gz
Only check for socklen_t if network support is enabled.
Originally committed as revision 14498 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 9eeca21dc9..8b5d8ac34f 100755
--- a/configure
+++ b/configure
@@ -1754,12 +1754,11 @@ fi
texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
-check_type sys/socket.h socklen_t
-
##########################################
# Network check
if enabled network; then
+ check_type sys/socket.h socklen_t
# Prefer arpa/inet.h over winsock2
if check_header arpa/inet.h ; then
check_func closesocket