Mercurial > mplayer.hg
comparison configure @ 11356:ea97f7474269
int_fastXY_t emulation
author | michael |
---|---|
date | Sun, 02 Nov 2003 10:14:05 +0000 |
parents | dce7219bed77 |
children | 22b4ecc5edd1 |
comparison
equal
deleted
inserted
replaced
11355:a9a15b678c1a | 11356:ea97f7474269 |
---|---|
2100 die "cannot find header inttypes.h (see DOCS/HTML/en/faq.html)" | 2100 die "cannot find header inttypes.h (see DOCS/HTML/en/faq.html)" |
2101 fi | 2101 fi |
2102 echores "$_inttypes" | 2102 echores "$_inttypes" |
2103 | 2103 |
2104 | 2104 |
2105 echocheck "int_fastXY_t in inttypes.h" | |
2106 cat > $TMPC << EOF | |
2107 #include <inttypes.h> | |
2108 int main(void) { | |
2109 volatile int_fast16_t v= 0; | |
2110 return v; } | |
2111 EOF | |
2112 _fast_inttypes=no | |
2113 cc_check && _fast_inttypes=yes | |
2114 if test "$_fast_inttypes" = yes ; then | |
2115 # nothing to do | |
2116 : | |
2117 else | |
2118 _def_fast_inttypes=' | |
2119 typedef signed char int_fast8_t; | |
2120 typedef signed int int_fast16_t; | |
2121 typedef signed int int_fast32_t; | |
2122 typedef unsigned char uint_fast8_t; | |
2123 typedef unsigned int uint_fast16_t; | |
2124 typedef unsigned int uint_fast32_t;' | |
2125 fi | |
2126 echores "$_fast_inttypes" | |
2127 | |
2128 | |
2105 echocheck "word size" | 2129 echocheck "word size" |
2106 _mp_wordsize="#undef MP_WORDSIZE" | 2130 _mp_wordsize="#undef MP_WORDSIZE" |
2107 cat > $TMPC << EOF | 2131 cat > $TMPC << EOF |
2108 #include <stdio.h> | 2132 #include <stdio.h> |
2109 #include <sys/types.h> | 2133 #include <sys/types.h> |
6197 *---------------------------------------------------------------------------*/ | 6221 *---------------------------------------------------------------------------*/ |
6198 | 6222 |
6199 /* C99 lrintf function available */ | 6223 /* C99 lrintf function available */ |
6200 $_def_lrintf | 6224 $_def_lrintf |
6201 | 6225 |
6226 /* int_fastXY_t emulation */ | |
6227 $_def_fast_inttypes | |
6228 | |
6202 /* nanosleep support */ | 6229 /* nanosleep support */ |
6203 $_def_nanosleep | 6230 $_def_nanosleep |
6204 | 6231 |
6205 /* SMB support */ | 6232 /* SMB support */ |
6206 $_def_smbsupport | 6233 $_def_smbsupport |