1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00

Skip setting variables to empty values in the CPU detection code.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27696 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-10-04 09:27:46 +00:00
parent 78066d185e
commit 6685ee530b

48
configure vendored
View File

@ -1888,10 +1888,6 @@ EOF
_arch='IA64' _arch='IA64'
_target_arch='ARCH_IA64 = yes' _target_arch='ARCH_IA64 = yes'
iproc='ia64' iproc='ia64'
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
x86_64|amd64) x86_64|amd64)
@ -1996,7 +1992,6 @@ EOF
else else
proc=v8 proc=v8
fi fi
_march=''
_mcpu="-mcpu=$proc" _mcpu="-mcpu=$proc"
_optimizing="$proc" _optimizing="$proc"
;; ;;
@ -2007,7 +2002,6 @@ EOF
_vis='yes' _vis='yes'
iproc='sparc' iproc='sparc'
proc='ultrasparc' proc='ultrasparc'
_march=''
_mcpu="-mcpu=$proc" _mcpu="-mcpu=$proc"
_optimizing="$proc" _optimizing="$proc"
;; ;;
@ -2016,20 +2010,12 @@ EOF
_arch='ARM ARMV4L' _arch='ARM ARMV4L'
_target_arch='ARCH_ARMV4L = yes' _target_arch='ARCH_ARMV4L = yes'
iproc='arm' iproc='arm'
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
sh) sh)
_arch='SH' _arch='SH'
_target_arch='ARCH_SH = yes' _target_arch='ARCH_SH = yes'
iproc='sh' iproc='sh'
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
ppc|ppc64|powerpc|powerpc64) ppc|ppc64|powerpc|powerpc64)
@ -2037,10 +2023,6 @@ EOF
_def_dcbzl='#undef HAVE_DCBZL' _def_dcbzl='#undef HAVE_DCBZL'
_target_arch='ARCH_POWERPC = yes' _target_arch='ARCH_POWERPC = yes'
iproc='ppc' iproc='ppc'
proc=''
_march=''
_mcpu=''
_optimizing=''
echocheck "CPU type" echocheck "CPU type"
case $system_name in case $system_name in
@ -2148,7 +2130,6 @@ EOF
_arch='ALPHA' _arch='ALPHA'
_target_arch='ARCH_ALPHA = yes' _target_arch='ARCH_ALPHA = yes'
iproc='alpha' iproc='alpha'
_march=''
echocheck "CPU type" echocheck "CPU type"
cat > $TMPC << EOF cat > $TMPC << EOF
@ -2190,10 +2171,6 @@ EOF
_arch='SGI_MIPS' _arch='SGI_MIPS'
_target_arch='ARCH_SGI_MIPS = yes' _target_arch='ARCH_SGI_MIPS = yes'
iproc='sgi-mips' iproc='sgi-mips'
proc=''
_march=''
_mcpu=''
_optimizing=''
if irix ; then if irix ; then
echocheck "CPU type" echocheck "CPU type"
@ -2219,60 +2196,35 @@ EOF
_arch='PA_RISC' _arch='PA_RISC'
_target_arch='ARCH_PA_RISC = yes' _target_arch='ARCH_PA_RISC = yes'
iproc='PA-RISC' iproc='PA-RISC'
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
s390) s390)
_arch='S390' _arch='S390'
_target_arch='ARCH_S390 = yes' _target_arch='ARCH_S390 = yes'
iproc='390' iproc='390'
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
s390x) s390x)
_arch='S390X' _arch='S390X'
_target_arch='ARCH_S390X = yes' _target_arch='ARCH_S390X = yes'
iproc='390x' iproc='390x'
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
vax) vax)
_arch='VAX' _arch='VAX'
_target_arch='ARCH_VAX = yes' _target_arch='ARCH_VAX = yes'
iproc='vax' iproc='vax'
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
xtensa) xtensa)
_arch='XTENSA' _arch='XTENSA'
_target_arch='ARCH_XTENSA = yes' _target_arch='ARCH_XTENSA = yes'
iproc='xtensa' iproc='xtensa'
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
generic) generic)
_arch='GENERIC' _arch='GENERIC'
_target_arch='ARCH_GENERIC = yes' _target_arch='ARCH_GENERIC = yes'
iproc=''
proc=''
_march=''
_mcpu=''
_optimizing=''
;; ;;
*) *)