• unknown's avatar
    Added CPU automatic detection. It examines /proc/cpuinfo (if exists) and finds... · c9763f5f
    unknown authored
    Added CPU automatic detection. It examines /proc/cpuinfo (if exists) and finds out flags for -mcpu and -march.
    TODO is --with-cpu configure option to force some other processor type.
    Problem is not big as any Intel 686+ CPU will use -mcpu=pentiumpro anyway. Exceptions are Athlons and 586 processors.
    
    
    BUILD/SETUP.sh:
      Removed hardcoded processor type as it will be added later by configure
    acinclude.m4:
      Added CPU automatic detection
    configure.in:
      Added CPU automatic detection
    c9763f5f
SETUP.sh 2.17 KB