From: Robert Spalek Date: Sun, 20 Jul 2008 01:50:11 +0000 (-0700) Subject: autoconf.cfg: recognize correctly quad-core models of Intel Xeon cpus X-Git-Tag: holmes-import~150^2~3 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3ad7fcdc8a55a449b88b0e25eb54a3ab3671296f;p=libucw.git autoconf.cfg: recognize correctly quad-core models of Intel Xeon cpus --- diff --git a/lib/autoconf.cfg b/lib/autoconf.cfg index 28f11843..b21d2059 100644 --- a/lib/autoconf.cfg +++ b/lib/autoconf.cfg @@ -111,7 +111,8 @@ Test("CPU_ARCH", "Checking for CPU architecture", sub { elsif ($model >= 3) { $arch = "prescott"; } else { $arch = "pentium4"; } } elsif ($family == 6 && $gccver >= 3003) { - if ($model == 15) { $arch = "prescott"; } + if ($model == 23) { $arch = "nocona"; } + elsif ($model == 15) { $arch = "prescott"; } elsif (($model == 9 || $model == 13) && $gccver >= 3004) { $arch = "pentium-m"; } elsif ($model >= 7) { $arch = "pentium3"; } elsif ($model >= 3) { $arch = "pentium2"; }