Mercurial > mplayer.hg
diff configure @ 11112:1d2c30ef6c11
Prefer TOOLS/cpuinfo over /proc/cpuinfo on Cygwin, approved by Sascha.
author | diego |
---|---|
date | Tue, 14 Oct 2003 12:14:48 +0000 |
parents | fde91c95c875 |
children | 1ed8e514c725 |
line wrap: on
line diff
--- a/configure Tue Oct 14 10:15:35 2003 +0000 +++ b/configure Tue Oct 14 12:14:48 2003 +0000 @@ -566,7 +566,9 @@ # XXX: this should be ok.. _cpuinfo="echo" -if test -r /proc/cpuinfo ; then +# Cygwin has /proc/cpuinfo, but only supports Intel CPUs +# FIXME: Remove the cygwin check once AMD CPUs are supported +if test -r /proc/cpuinfo && not cygwin; then # Linux with /proc mounted, extract CPU information from it _cpuinfo="cat /proc/cpuinfo" elif test -r /compat/linux/proc/cpuinfo ; then