Mercurial > mplayer.hg
comparison configure @ 28430:18059e510f56
Add proper check for arpa/inet.h.
author | diego |
---|---|
date | Wed, 04 Feb 2009 19:04:22 +0000 |
parents | 1bc2c4930162 |
children | 24ea323322a1 |
comparison
equal
deleted
inserted
replaced
28429:016656d0c9f6 | 28430:18059e510f56 |
---|---|
2916 else | 2916 else |
2917 def_winsock2_h='#define HAVE_WINSOCK2_H 0' | 2917 def_winsock2_h='#define HAVE_WINSOCK2_H 0' |
2918 fi | 2918 fi |
2919 | 2919 |
2920 | 2920 |
2921 echocheck "arpa/inet.h" | |
2922 arpa_inet_h=no | |
2923 def_arpa_inet_h='#define HAVE_ARPA_INET_H 0' | |
2924 cat > $TMPC << EOF | |
2925 #include <arpa/inet.h> | |
2926 int main(void) { return 0; } | |
2927 EOF | |
2928 cc_check && arpa_inet_h=yes && def_arpa_inet_h='#define HAVE_ARPA_INET_H 1' | |
2929 echores "$arpa_inet_h" | |
2930 | |
2931 | |
2921 echocheck "inet_pton()" | 2932 echocheck "inet_pton()" |
2922 def_inet_pton='#define HAVE_INET_PTON 0' | 2933 def_inet_pton='#define HAVE_INET_PTON 0' |
2923 inet_pton=no | 2934 inet_pton=no |
2924 cat > $TMPC << EOF | 2935 cat > $TMPC << EOF |
2925 #include <sys/types.h> | 2936 #include <sys/types.h> |
8571 $_def_libpostproc_so | 8582 $_def_libpostproc_so |
8572 $_def_libswscale | 8583 $_def_libswscale |
8573 $_def_libswscale_a | 8584 $_def_libswscale_a |
8574 $_def_libswscale_so | 8585 $_def_libswscale_so |
8575 | 8586 |
8587 $def_arpa_inet_h | |
8576 $def_bswap | 8588 $def_bswap |
8577 $_def_dcbzl | 8589 $_def_dcbzl |
8578 $def_dos_paths | 8590 $def_dos_paths |
8579 $def_fast_64bit | 8591 $def_fast_64bit |
8580 $_def_fast_unaligned | 8592 $_def_fast_unaligned |
8593 #define CONFIG_POWERPC_PERF 0 | 8605 #define CONFIG_POWERPC_PERF 0 |
8594 #define CONFIG_SMALL 0 | 8606 #define CONFIG_SMALL 0 |
8595 #define CONFIG_SWSCALE 1 | 8607 #define CONFIG_SWSCALE 1 |
8596 #define CONFIG_GRAY 0 | 8608 #define CONFIG_GRAY 0 |
8597 | 8609 |
8598 #ifdef __MINGW32__ | |
8599 #define HAVE_ARPA_INET_H 0 | |
8600 #else | |
8601 #define HAVE_ARPA_INET_H 1 | |
8602 #endif | |
8603 #define HAVE_POLL_H 1 | 8610 #define HAVE_POLL_H 1 |
8604 #define HAVE_PPC4XX 0 | 8611 #define HAVE_PPC4XX 0 |
8605 | 8612 |
8606 /* Some FFmpeg codecs depend on these. Enable them unconditionally for now. */ | 8613 /* Some FFmpeg codecs depend on these. Enable them unconditionally for now. */ |
8607 #define CONFIG_AANDCT 1 | 8614 #define CONFIG_AANDCT 1 |