[Mplayer-cvslog] CVS: main configure,1.565,1.566
Arpi of Ize
arpi at mplayerhq.hu
Mon Sep 16 21:38:21 CEST 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv23120
Modified Files:
configure
Log Message:
WORDSIZE detection by Björn Sandell <biorn at dce.chalmers.se>
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.565
retrieving revision 1.566
diff -u -r1.565 -r1.566
--- configure 13 Sep 2002 22:04:10 -0000 1.565
+++ configure 16 Sep 2002 19:37:57 -0000 1.566
@@ -1645,6 +1645,15 @@
fi
echores "$_inttypes"
+echocheck "word size"
+_mp_wordsize="#undef MP_WORDSIZE"
+cat > $TMPC << EOF
+#include <stdio.h>
+#include <sys/types.h>
+int main(void) { printf("%d\n", sizeof(size_t)*8); return 0; }
+EOF
+cc_check && _wordsize=`$TMPO` && _mp_wordsize="#define MP_WORDSIZE $_wordsize"
+echores "$_wordsize"
echocheck "stddef.h"
cat > $TMPC << EOF
@@ -4691,6 +4700,8 @@
/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ $iproc
+
+$_mp_wordsize
$_def_linux
More information about the MPlayer-cvslog
mailing list