comparison configure @ 27667:88dfab272467

Remove word size check and macro and use __WORDSIZE directly instead. It has been done this way in libswscale for years without apparent ill effect.
author diego
date Sat, 04 Oct 2008 10:16:48 +0000
parents b00d2e388fe0
children 216f4d0f0de8
comparison
equal deleted inserted replaced
27666:9936b7fa9e63 27667:88dfab272467
2925 typedef unsigned long long uint_fast64_t;' 2925 typedef unsigned long long uint_fast64_t;'
2926 fi 2926 fi
2927 echores "$_fast_inttypes" 2927 echores "$_fast_inttypes"
2928 2928
2929 2929
2930 echocheck "word size"
2931 _mp_wordsize="#undef MP_WORDSIZE"
2932 cat > $TMPC << EOF
2933 #include <stdio.h>
2934 #include <sys/types.h>
2935 int main(void) { printf("%d\n", sizeof(size_t)*8); return 0; }
2936 EOF
2937 cc_check && _wordsize=`$TMPEXE` && _mp_wordsize="#define MP_WORDSIZE $_wordsize"
2938 echores "$_wordsize"
2939
2940
2941 echocheck "malloc.h" 2930 echocheck "malloc.h"
2942 cat > $TMPC << EOF 2931 cat > $TMPC << EOF
2943 #include <malloc.h> 2932 #include <malloc.h>
2944 int main(void) { (void) malloc(0); return 0; } 2933 int main(void) { (void) malloc(0); return 0; }
2945 EOF 2934 EOF
8498 $_def_confwin32 8487 $_def_confwin32
8499 8488
8500 /* Define this to any prefered value from 386 up to infinity with step 100 */ 8489 /* Define this to any prefered value from 386 up to infinity with step 100 */
8501 #define __CPU__ $iproc 8490 #define __CPU__ $iproc
8502 8491
8503 $_mp_wordsize
8504
8505 $_def_vcd 8492 $_def_vcd
8506 8493
8507 #ifdef sun 8494 #ifdef sun
8508 #define DEFAULT_CDROM_DEVICE "/vol/dev/aliases/cdrom0" 8495 #define DEFAULT_CDROM_DEVICE "/vol/dev/aliases/cdrom0"
8509 #define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE 8496 #define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE