From alsa-devel-owner@alsa.jcu.cz  Thu Dec 31 22:51:04 1998
Received: from aix1.inet.tele.dk (aix1.inet.tele.dk [193.162.146.9])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id WAA32480
	for <alsa-devel@alsa.jcu.cz>; Thu, 31 Dec 1998 22:49:53 +0100
Received: from renehl.ournet.dk (root@ip181.ronnxr1.ras.tele.dk [195.249.54.181])
          by aix1.inet.tele.dk with ESMTP
          id VAA19090 for <alsa-devel@alsa.jcu.cz>; Thu, 31 Dec 1998 21:49:46 GMT
Received: (from news@localhost)
	by renehl.ournet.dk (8.9.1a/8.9.1/Debian/GNU) id VAA02277
	for alsa-devel@alsa.jcu.cz; Thu, 31 Dec 1998 21:53:23 +0100
From: renehl@post1.tele.dk (Rene Hojbjerg Larsen)
Subject: Small fix for processor type auto detection
Date: 31 Dec 1998 20:53:22 GMT
Message-ID: <76go82$26t$1@renehl.ournet.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: alsa-devel@alsa.jcu.cz
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

This patch will fix processor type autodetection for recent kernels which
have a "cpu MHz" field in their /proc/cpuinfo output.

--- configure.in.orig	Thu Dec 31 21:38:22 1998
+++ configure.in	Thu Dec 31 21:40:56 1998
@@ -172,7 +172,7 @@
   [                        (i386,i486,i586,i686,alpha,ppc,auto)],
   processor="$withval", processor="auto")
 if test "$processor" = "auto"; then
-  CPUID=`cat /proc/cpuinfo | grep cpu | grep -v "cpu family" | grep -v cpuid | cut -d : -f 2 | colrm 1 1 | head -n 1`
+  CPUID=`cat /proc/cpuinfo | grep cpu | grep -v "cpu family" | grep -v cpuid | grep -v "cpu MHz" | cut -d : -f 2 | colrm 1 1 | head -n 1`
   if test "$CPUID""x" = "x"; then
     CPUID=`cat /proc/cpuinfo | grep "cpu family" | cut -d : -f 2 | colrm 1 1 | head -n 1`
     if test "$CPUID" != "alpha" && test "$CPUID" != "Alpha"; then

HTH
-- 
       /'"`\  zzzZ  | My PGP Public Key is available at:
      ( - - )       | <http://home1.inet.tele.dk/renehl/>
--oooO--(_)--Oooo------------------------------------------ 
 Don't ya just hate it when there's not enough room to fin 


