# HG changeset patch # User reimar # Date 1378755656 0 # Node ID e681dc0ea00ab99c119f638f17f760386c928a7e # Parent 13e767d419fc1d11d5eb0582cb636af32b2b1c39 Disable UNIX protocol when not supported. Fixes compilation on Windows. Patch by Gianluigi Tiesi [mplayer netfarm it]. diff -r 13e767d419fc -r e681dc0ea00a configure --- a/configure Tue Sep 03 20:36:41 2013 +0000 +++ b/configure Mon Sep 09 19:40:56 2013 +0000 @@ -3630,6 +3630,14 @@ fi echores "$_sctp" +echocheck "sys/un.h" +un_h=no +header_check sys/un.h && un_h=yes +if test "$un_h" = "no" ; then + libavprotocols=$(filter_out_component protocol 'UNIX') +fi +echores "$un_h" + echocheck "sys/poll.h" poll_h=no def_poll_h='#define HAVE_POLL_H 0'