• unknown's avatar
    Added CPU automatic detection. It examines /proc/cpuinfo (if exists) and finds... · ea4a4de3
    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
    ea4a4de3
acinclude.m4 35.2 KB