# HG changeset patch # User michael # Date 1067768045 0 # Node ID ea97f747426952e059aa1ca1dc1bf18c21ee30b6 # Parent a9a15b678c1a2e2bfef9a690bdafce0f3156cdf9 int_fastXY_t emulation diff -r a9a15b678c1a -r ea97f7474269 configure --- a/configure Sun Nov 02 08:35:14 2003 +0000 +++ b/configure Sun Nov 02 10:14:05 2003 +0000 @@ -2102,6 +2102,30 @@ echores "$_inttypes" +echocheck "int_fastXY_t in inttypes.h" +cat > $TMPC << EOF +#include +int main(void) { +volatile int_fast16_t v= 0; +return v; } +EOF +_fast_inttypes=no +cc_check && _fast_inttypes=yes +if test "$_fast_inttypes" = yes ; then + # nothing to do + : +else + _def_fast_inttypes=' + typedef signed char int_fast8_t; + typedef signed int int_fast16_t; + typedef signed int int_fast32_t; + typedef unsigned char uint_fast8_t; + typedef unsigned int uint_fast16_t; + typedef unsigned int uint_fast32_t;' +fi +echores "$_fast_inttypes" + + echocheck "word size" _mp_wordsize="#undef MP_WORDSIZE" cat > $TMPC << EOF @@ -6199,6 +6223,9 @@ /* C99 lrintf function available */ $_def_lrintf +/* int_fastXY_t emulation */ +$_def_fast_inttypes + /* nanosleep support */ $_def_nanosleep