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@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
participants (1)
-
Arpi of Ize