[Mplayer-cvslog] CVS: main configure,1.784,1.785
Diego Biurrun CVS
diego at mplayerhq.hu
Tue Oct 14 14:15:31 CEST 2003
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
More information about the MPlayer-cvslog
mailing list