From: Robert Spalek Date: Sun, 20 Jul 2008 01:51:29 +0000 (-0700) Subject: autoconf.cfg: recognize correctly quad-core models of Intel Xeon cpus X-Git-Tag: holmes-import~118^2~6^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=99dbc539d5ce9a0b119e7b59ed943c129f617ec0;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 b0e3c536..161da3c0 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"; }