changeset 36347:e681dc0ea00a

Disable UNIX protocol when not supported. Fixes compilation on Windows. Patch by Gianluigi Tiesi [mplayer netfarm it].
author reimar
date Mon, 09 Sep 2013 19:40:56 +0000
parents 13e767d419fc
children c4ed4b2d107e
files configure
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'