Revision b5c950c4

View differences:

configure
147 147
extralibs="-lm"
148 148
simpleidct="yes"
149 149
bigendian="no"
150
emu_fast_int="no"
150 151
vhook="default"
151 152
dlfcn="no"
152 153
dlopen="no"
......
626 627
fi
627 628

  
628 629
# ---
630
# *int_fast* test
631
cat > $TMPC << EOF
632
#include <inttypes.h>
633
int main(int argc, char ** argv){
634
	volatile uint_fast64_t i=0x01234567;
635
	return 0;
636
}
637
EOF
638

  
639
$cc -o $TMPE $TMPC 2>/dev/null || emu_fast_int="yes"
640

  
641
# ---
629 642
# check availability of some header files
630 643

  
631 644
cat > $TMPC << EOF
......
850 863
echo "make             $make"
851 864
echo "CPU              $cpu ($tune)"
852 865
echo "Big Endian       $bigendian"
866
echo "broken inttypes.h $emu_fast_int"
853 867
if test $cpu = "x86"; then
854 868
echo "MMX enabled      $mmx"
855 869
echo "Vector Builtins  $builtin_vector"
......
942 956
  echo "WORDS_BIGENDIAN=yes" >> config.mak
943 957
  echo "#define WORDS_BIGENDIAN 1" >> $TMPH
944 958
fi
959
if test "$emu_fast_int" = "yes" ; then
960
#note, we dont try to emulate fast64
961
  echo "typedef signed char int_fast8_t" >> $TMPH
962
  echo "typedef signed int  int_fast16_t" >> $TMPH
963
  echo "typedef signed int  int_fast32_t" >> $TMPH
964
  echo "typedef unsigned char uint_fast8_t" >> $TMPH
965
  echo "typedef unsigned int  uint_fast16_t" >> $TMPH
966
  echo "typedef unsigned int  uint_fast32_t" >> $TMPH
967
fi
945 968
if test "$mmx" = "yes" ; then
946 969
  echo "TARGET_MMX=yes" >> config.mak
947 970
  echo "#define HAVE_MMX 1" >> $TMPH

Also available in: Unified diff