From 182457df34fd92fd06a22529bef2e9df86a6cea8 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 14 Oct 2003 12:14:48 +0000 Subject: [PATCH] Prefer TOOLS/cpuinfo over /proc/cpuinfo on Cygwin, approved by Sascha. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11113 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 547e870679..dd85ff42f9 100755 --- a/configure +++ b/configure @@ -566,7 +566,9 @@ fi # 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