]> mj.ucw.cz Git - libucw.git/commitdiff
Configure: merged recognition of Nocona CPU's from master.
authorMartin Mares <mj@ucw.cz>
Sun, 16 Nov 2008 19:41:39 +0000 (20:41 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 16 Nov 2008 19:41:39 +0000 (20:41 +0100)
ucw/perl/UCW/Configure/C.pm

index a5b37fc78242485124b0bc53ed6c4c4077d4629d..cc42df21c013309b684dcf9ffb3f3bf6f4b5ea9f 100644 (file)
@@ -130,7 +130,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"; }