Mercurial > mplayer.hg
comparison configure @ 4003:92c59012249d
stdint.h replaced by inttypes.h (used more frequently in the sources)
author | pl |
---|---|
date | Sun, 06 Jan 2002 13:06:51 +0000 |
parents | a9ff45fa8129 |
children | 079177a400cb |
comparison
equal
deleted
inserted
replaced
4002:6ce744b637ad | 4003:92c59012249d |
---|---|
1111 else | 1111 else |
1112 echores "no (=> streaming support disabled)" | 1112 echores "no (=> streaming support disabled)" |
1113 _streaming=no | 1113 _streaming=no |
1114 fi | 1114 fi |
1115 | 1115 |
1116 | 1116 echocheck "inttypes.h (required)" |
1117 echocheck "stdint.h" | |
1118 cat > $TMPC << EOF | 1117 cat > $TMPC << EOF |
1119 #include <stdint.h> | 1118 #include <inttypes.h> |
1120 int main(void) { return 0; } | 1119 int main(void) { return 0; } |
1121 EOF | 1120 EOF |
1122 _stdint=no | 1121 _inttypes=no |
1123 cc_check && _stdint=yes | 1122 cc_check && _inttypes=yes |
1124 if test "$_stdint" = yes ; then | 1123 if test "$_inttypes" = yes ; then |
1125 _def_stdint='#define HAVE_STDINT_H 1' | 1124 # nothing to do |
1126 else | 1125 : |
1127 _def_stdint='#undef HAVE_STDINT_H' | 1126 else |
1128 fi | 1127 die "cannot find header inttypes.h (see in DOC/faq.html)" |
1129 echores "$_stdint" | 1128 fi |
1129 echores "$_inttypes" | |
1130 | 1130 |
1131 | 1131 |
1132 echocheck "malloc.h" | 1132 echocheck "malloc.h" |
1133 cat > $TMPC << EOF | 1133 cat > $TMPC << EOF |
1134 #include <malloc.h> | 1134 #include <malloc.h> |
2892 /* set up audio OUTBURST. Do not change this! */ | 2892 /* set up audio OUTBURST. Do not change this! */ |
2893 #define OUTBURST 512 | 2893 #define OUTBURST 512 |
2894 | 2894 |
2895 /* Define this if your system has the header file for the OSS sound interface */ | 2895 /* Define this if your system has the header file for the OSS sound interface */ |
2896 $_def_sys_soundcard | 2896 $_def_sys_soundcard |
2897 | |
2898 /* Define this if your system has the "stdint.h" header file */ | |
2899 $_def_stdint | |
2900 | 2897 |
2901 /* Define this if your system has the "malloc.h" header file */ | 2898 /* Define this if your system has the "malloc.h" header file */ |
2902 $_def_malloc | 2899 $_def_malloc |
2903 | 2900 |
2904 /* memalign is mapped to malloc if unsupported */ | 2901 /* memalign is mapped to malloc if unsupported */ |