[Mplayer-cvslog] CVS: main configure,1.799,1.800

Michael Niedermayer CVS michael at mplayerhq.hu
Sun Nov 2 11:14:41 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv15690

Modified Files:
	configure 
Log Message:
int_fastXY_t emulation


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.799
retrieving revision 1.800
diff -u -r1.799 -r1.800
--- configure	1 Nov 2003 14:57:40 -0000	1.799
+++ configure	2 Nov 2003 10:14:05 -0000	1.800
@@ -2102,6 +2102,30 @@
 echores "$_inttypes"
 
 
+echocheck "int_fastXY_t in inttypes.h"
+cat > $TMPC << EOF
+#include <inttypes.h>
+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
@@ -6198,6 +6222,9 @@
 
 /* C99 lrintf function available */
 $_def_lrintf
+
+/* int_fastXY_t emulation */
+$_def_fast_inttypes
 
 /* nanosleep support */
 $_def_nanosleep



More information about the MPlayer-cvslog mailing list