[MPlayer-cvslog] r32867 - trunk/configure
diego
subversion at mplayerhq.hu
Sun Feb 6 20:01:52 CET 2011
Author: diego
Date: Sun Feb 6 20:01:52 2011
New Revision: 32867
Log:
configure: Check for sys/poll.h.
FFmpeg uses it conditionally, but configure defines it unconditionally,
thus breaking compilation on MinGW which has no sys/poll.h.
patch by Gianluigi Tiesi, mplayer netfarm it
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sun Feb 6 15:06:35 2011 (r32866)
+++ trunk/configure Sun Feb 6 20:01:52 2011 (r32867)
@@ -3418,6 +3418,14 @@ fi
echores "$_gethostbyname2"
+echocheck "sys/poll.h"
+poll_h=no
+def_poll_h='#define HAVE_POLL_H 0'
+header_check sys/poll.h && poll_h=yes &&
+ def_poll_h='#define HAVE_POLL_H 1'
+echores "$poll_h"
+
+
echocheck "inttypes.h (required)"
_inttypes=no
header_check inttypes.h && _inttypes=yes
@@ -8604,6 +8612,7 @@ $def_mkstemp
$def_mmap
$def_network
$def_pic
+$def_poll_h
$def_posix_memalign
$def_pthreads
$def_round
@@ -8631,7 +8640,6 @@ $def_yasm
#define HAVE_INLINE_ASM 1
#define HAVE_ISATTY 0
#define HAVE_LDBRX 0
-#define HAVE_POLL_H 1
#define HAVE_PPC4XX 0
#define HAVE_STRERROR_R 0
#define HAVE_SYMVER_ASM_LABEL 0
More information about the MPlayer-cvslog
mailing list