From: Diego Biurrun Date: Fri, 1 Aug 2008 18:27:59 +0000 (+0000) Subject: Only check for socklen_t if network support is enabled. X-Git-Tag: v0.5~3399 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=668b65bd838daa6178ea72ce5f27056fba9a9e46;p=platform%2Fupstream%2Flibav.git Only check for socklen_t if network support is enabled. Originally committed as revision 14498 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index 9eeca21..8b5d8ac 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