CVS: main configure,1.784,1.785
Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv28242 Modified Files: configure Log Message: Prefer TOOLS/cpuinfo over /proc/cpuinfo on Cygwin, approved by Sascha. Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.784 retrieving revision 1.785 diff -u -r1.784 -r1.785 --- configure 14 Oct 2003 09:41:08 -0000 1.784 +++ configure 14 Oct 2003 12:14:48 -0000 1.785 @@ -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
participants (1)
-
Diego Biurrun CVS