comparison configure @ 28147:ba2cf9827d09

Define HAVE_FAST_64BIT if appropriate
author reimar
date Tue, 23 Dec 2008 11:42:11 +0000
parents 9a61b31f9e4b
children a36ba293236b
comparison
equal deleted inserted replaced
28146:61dc04503b17 28147:ba2cf9827d09
1917 ;; 1917 ;;
1918 1918
1919 ia64) 1919 ia64)
1920 _arch='IA64' 1920 _arch='IA64'
1921 _target_arch='ARCH_IA64 = yes' 1921 _target_arch='ARCH_IA64 = yes'
1922 def_fast_64bit='#define HAVE_FAST_64BIT 1'
1922 iproc='ia64' 1923 iproc='ia64'
1923 ;; 1924 ;;
1924 1925
1925 x86_64|amd64) 1926 x86_64|amd64)
1926 _arch='X86 X86_64' 1927 _arch='X86 X86_64'
1927 _target_arch='ARCH_X86_64 = yes' 1928 _target_arch='ARCH_X86_64 = yes'
1928 _target_arch_x86="ARCH_X86 = yes" 1929 _target_arch_x86="ARCH_X86 = yes"
1929 _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' 1930 _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
1931 def_fast_64bit='#define HAVE_FAST_64BIT 1'
1930 iproc='x86_64' 1932 iproc='x86_64'
1931 1933
1932 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead 1934 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead
1933 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then 1935 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then
1934 cpuopt=-mtune 1936 cpuopt=-mtune
2009 _target_arch='ARCH_SPARC = yes' 2011 _target_arch='ARCH_SPARC = yes'
2010 iproc='sparc' 2012 iproc='sparc'
2011 if test "$host_arch" = "sparc64" ; then 2013 if test "$host_arch" = "sparc64" ; then
2012 _vis='yes' 2014 _vis='yes'
2013 proc='ultrasparc' 2015 proc='ultrasparc'
2016 def_fast_64bit='#define HAVE_FAST_64BIT 1'
2014 elif sunos ; then 2017 elif sunos ; then
2015 echocheck "CPU type" 2018 echocheck "CPU type"
2016 karch=`uname -m` 2019 karch=`uname -m`
2017 case "`echo $karch`" in 2020 case "`echo $karch`" in
2018 sun4) proc=v7 ;; 2021 sun4) proc=v7 ;;
2048 _def_dcbzl='#undef HAVE_DCBZL' 2051 _def_dcbzl='#undef HAVE_DCBZL'
2049 _target_arch='ARCH_POWERPC = yes' 2052 _target_arch='ARCH_POWERPC = yes'
2050 _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' 2053 _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
2051 iproc='ppc' 2054 iproc='ppc'
2052 2055
2056 if test "$host_arch" = "ppc64" -o "$host_arch" = "powerpc64" ; then
2057 def_fast_64bit='#define HAVE_FAST_64BIT 1'
2058 fi
2053 echocheck "CPU type" 2059 echocheck "CPU type"
2054 case $system_name in 2060 case $system_name in
2055 Linux) 2061 Linux)
2056 proc=`$_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | _head 1` 2062 proc=`$_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | _head 1`
2057 if test -n "`$_cpuinfo | grep altivec`"; then 2063 if test -n "`$_cpuinfo | grep altivec`"; then
8530 $_def_libswscale_a 8536 $_def_libswscale_a
8531 $_def_libswscale_so 8537 $_def_libswscale_so
8532 8538
8533 $_def_dcbzl 8539 $_def_dcbzl
8534 $_def_extern_prefix 8540 $_def_extern_prefix
8541 $def_fast_64bit
8535 $_def_fast_unaligned 8542 $_def_fast_unaligned
8536 $_def_mkstemp 8543 $_def_mkstemp
8537 $_def_pthreads 8544 $_def_pthreads
8538 $_def_threads 8545 $_def_threads
8539 #ifdef HAVE_THREADS 8546 #ifdef HAVE_THREADS