comparison configure @ 27665:b00d2e388fe0

Merge SPARC and SPARC64 sections in the CPU detection code.
author diego
date Sat, 04 Oct 2008 09:38:10 +0000
parents 22f1732c7d58
children 88dfab272467
comparison
equal deleted inserted replaced
27664:22f1732c7d58 27665:b00d2e388fe0
1970 _optimizing="" 1970 _optimizing=""
1971 1971
1972 echores "$proc" 1972 echores "$proc"
1973 ;; 1973 ;;
1974 1974
1975 sparc) 1975 sparc|sparc64)
1976 _arch='SPARC' 1976 _arch='SPARC'
1977 _target_arch='ARCH_SPARC = yes' 1977 _target_arch='ARCH_SPARC = yes'
1978 iproc='sparc' 1978 iproc='sparc'
1979 if sunos ; then 1979 if test "$host_arch" = "sparc64" ; then
1980 _vis='yes'
1981 proc='ultrasparc'
1982 elif sunos ; then
1980 echocheck "CPU type" 1983 echocheck "CPU type"
1981 karch=`uname -m` 1984 karch=`uname -m`
1982 case "`echo $karch`" in 1985 case "`echo $karch`" in
1983 sun4) proc=v7 ;; 1986 sun4) proc=v7 ;;
1984 sun4c) proc=v7 ;; 1987 sun4c) proc=v7 ;;
1990 esac 1993 esac
1991 echores "$proc" 1994 echores "$proc"
1992 else 1995 else
1993 proc=v8 1996 proc=v8
1994 fi 1997 fi
1995 _mcpu="-mcpu=$proc"
1996 _optimizing="$proc"
1997 ;;
1998
1999 sparc64)
2000 _arch='SPARC'
2001 _target_arch='ARCH_SPARC = yes'
2002 _vis='yes'
2003 iproc='sparc'
2004 proc='ultrasparc'
2005 _mcpu="-mcpu=$proc" 1998 _mcpu="-mcpu=$proc"
2006 _optimizing="$proc" 1999 _optimizing="$proc"
2007 ;; 2000 ;;
2008 2001
2009 arm|armv4l|armv5tel) 2002 arm|armv4l|armv5tel)