Improved P6 detection on UW7.

Robert Lipe robertlipe@usa.net
Sat Jan 30 13:02:00 GMT 1999


I committed this patch under one or more of the the "obvious" and
"maintainer" clauses.  It should be considered for the release branch.


Index: config.guess
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/config.guess,v
retrieving revision 1.22
diff -c -5 -p -r1.22 config.guess
*** config.guess        1998/12/22 22:58:25     1.22
--- config.guess        1999/01/30 20:59:20
*************** EOF
*** 724,734 ****
         UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
         (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
         (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
                 && UNAME_MACHINE=i586
  # 5.0.4c returns "Pent II".  5.0.5 returns PentII
!        (/bin/uname -X|egrep '^Machine.*Pent *II' >/dev/null) \
                 && UNAME_MACHINE=i686
         (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
                 && UNAME_MACHINE=i686
         echo ${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEASE}
         exit 0 ;;
--- 724,734 ----
         UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
         (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
         (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
                 && UNAME_MACHINE=i586
  # 5.0.4c returns "Pent II".  5.0.5 returns PentII
!        (/bin/uname -X|egrep '^Machine.*Pent.*II' >/dev/null) \
                 && UNAME_MACHINE=i686
         (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
                 && UNAME_MACHINE=i686
         echo ${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEASE}
         exit 0 ;;




More information about the Gcc-patches mailing list