[mythtv] [PATCH] configure did not detect my cpu

Allan Stirling Dibblahmythml0015 at pendor.org
Fri Mar 25 10:54:03 UTC 2005


  *** WARNING ***
  Your CPU was not detected properly:
    uname -m: i686
    uname -p: Intel(R) Xeon(TM) CPU 2.80GHz
  model name: Intel(R) Xeon(TM) CPU 2.80GHz

This patch includes the P4 Xeon and P3 Xeon CPU model names. However, I 
thought we weren't supposed to be forcing -march where it's not required?

I guess it will all sort itsself out, since we will now be testing most 
of these optimisations, where before many people were using random 
nonsensical "optimisation" flags.

Cheers,

Allan.
-------------- next part --------------
Index: configure
===================================================================
RCS file: /var/lib/mythcvs/mythtv/configure,v
retrieving revision 1.37
diff -u -r1.37 configure
--- configure	25 Mar 2005 04:04:17 -0000	1.37
+++ configure	25 Mar 2005 10:50:22 -0000
@@ -911,6 +911,10 @@
        ARCHFLAGS="-march=pentium4"
    elif expr "$processor" : ".*Intel(R) Pentium(R) M" > /dev/null ; then
        ARCHFLAGS="-march=pentium4"
+   elif expr "$processor" : ".*Intel(R) Xeon(TM) CPU" > /dev/null ; then
+       ARCHFLAGS="-march=pentium4"   
+   elif expr "$processor" : ".*Pentium(R) III Xeon processor" > /dev/null ; then
+       ARCHFLAGS="-march=pentium3"
    elif expr "$processor" : ".*Intel(R) Celeron(R) CPU" > /dev/null ; then
        ARCHFLAGS="-march=pentium2"
    elif expr "$processor" : ".*AMD Sempron(tm)" > /dev/null ; then


More information about the mythtv-dev mailing list