This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Improved P6 detection on UW7.


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 ;;



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]