comparison configure @ 32780:b3782b0b1d92

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
author diego
date Sun, 06 Feb 2011 19:01:52 +0000
parents 9b590f58634c
children 5b3f37eab972
comparison
equal deleted inserted replaced
32779:87504a38a666 32780:b3782b0b1d92
3416 def_gethostbyname2='#undef HAVE_GETHOSTBYNAME2' 3416 def_gethostbyname2='#undef HAVE_GETHOSTBYNAME2'
3417 fi 3417 fi
3418 echores "$_gethostbyname2" 3418 echores "$_gethostbyname2"
3419 3419
3420 3420
3421 echocheck "sys/poll.h"
3422 poll_h=no
3423 def_poll_h='#define HAVE_POLL_H 0'
3424 header_check sys/poll.h && poll_h=yes &&
3425 def_poll_h='#define HAVE_POLL_H 1'
3426 echores "$poll_h"
3427
3428
3421 echocheck "inttypes.h (required)" 3429 echocheck "inttypes.h (required)"
3422 _inttypes=no 3430 _inttypes=no
3423 header_check inttypes.h && _inttypes=yes 3431 header_check inttypes.h && _inttypes=yes
3424 echores "$_inttypes" 3432 echores "$_inttypes"
3425 3433
8602 $def_mlib 8610 $def_mlib
8603 $def_mkstemp 8611 $def_mkstemp
8604 $def_mmap 8612 $def_mmap
8605 $def_network 8613 $def_network
8606 $def_pic 8614 $def_pic
8615 $def_poll_h
8607 $def_posix_memalign 8616 $def_posix_memalign
8608 $def_pthreads 8617 $def_pthreads
8609 $def_round 8618 $def_round
8610 $def_roundf 8619 $def_roundf
8611 $def_ten_operands 8620 $def_ten_operands
8629 #define HAVE_ATTRIBUTE_PACKED 1 8638 #define HAVE_ATTRIBUTE_PACKED 1
8630 #define HAVE_GETHRTIME 0 8639 #define HAVE_GETHRTIME 0
8631 #define HAVE_INLINE_ASM 1 8640 #define HAVE_INLINE_ASM 1
8632 #define HAVE_ISATTY 0 8641 #define HAVE_ISATTY 0
8633 #define HAVE_LDBRX 0 8642 #define HAVE_LDBRX 0
8634 #define HAVE_POLL_H 1
8635 #define HAVE_PPC4XX 0 8643 #define HAVE_PPC4XX 0
8636 #define HAVE_STRERROR_R 0 8644 #define HAVE_STRERROR_R 0
8637 #define HAVE_SYMVER_ASM_LABEL 0 8645 #define HAVE_SYMVER_ASM_LABEL 0
8638 #define HAVE_SYMVER_GNU_ASM 0 8646 #define HAVE_SYMVER_GNU_ASM 0
8639 #define HAVE_SYS_SELECT_H 0 8647 #define HAVE_SYS_SELECT_H 0