config.guess: manual fixups after previous automatic patch

* config.guess: Adjust a few "leftover" cases that the tool could not
easily recognize and fixes comment indentation in a few other special
cases.
This commit is contained in:
Jacob Bachmeyer 2021-05-24 23:27:42 -05:00 committed by Dmitry V. Levin
parent 59a37e44b8
commit 3865afa669

25
config.guess vendored
View File

@ -400,8 +400,9 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
;; ;;
DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
case $(/usr/bin/uname -p) in case $(/usr/bin/uname -p) in
sparc) echo sparc-icl-nx7; exit ;; sparc) GUESS=sparc-icl-nx7 ;;
esac ;; esac
;;
s390x:SunOS:*:*) s390x:SunOS:*:*)
GUESS="$UNAME_MACHINE"-ibm-solaris2"$(echo "$UNAME_RELEASE" | sed -e 's/[^.]*//')" GUESS="$UNAME_MACHINE"-ibm-solaris2"$(echo "$UNAME_RELEASE" | sed -e 's/[^.]*//')"
;; ;;
@ -453,13 +454,13 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
case $(/bin/arch) in case $(/bin/arch) in
sun3) sun3)
echo m68k-sun-sunos"$UNAME_RELEASE" GUESS=m68k-sun-sunos"$UNAME_RELEASE"
;; ;;
sun4) sun4)
echo sparc-sun-sunos"$UNAME_RELEASE" GUESS=sparc-sun-sunos"$UNAME_RELEASE"
;; ;;
esac esac
exit ;; ;;
aushp:SunOS:*:*) aushp:SunOS:*:*)
GUESS=sparc-auspex-sunos"$UNAME_RELEASE" GUESS=sparc-auspex-sunos"$UNAME_RELEASE"
;; ;;
@ -1075,11 +1076,11 @@ EOF
parisc:Linux:*:* | hppa:Linux:*:*) parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level # Look for CPU level
case $(grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2) in case $(grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2) in
PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;;
PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;;
*) echo hppa-unknown-linux-"$LIBC" ;; *) GUESS=hppa-unknown-linux-$LIBC ;;
esac esac
exit ;; ;;
ppc64:Linux:*:*) ppc64:Linux:*:*)
GUESS=powerpc64-unknown-linux-"$LIBC" GUESS=powerpc64-unknown-linux-"$LIBC"
;; ;;
@ -1474,9 +1475,9 @@ EOF
*:*VMS:*:*) *:*VMS:*:*)
UNAME_MACHINE=$( (uname -p) 2>/dev/null) UNAME_MACHINE=$( (uname -p) 2>/dev/null)
case $UNAME_MACHINE in case $UNAME_MACHINE in
A*) echo alpha-dec-vms ; exit ;; A*) GUESS=alpha-dec-vms ;;
I*) echo ia64-dec-vms ; exit ;; I*) GUESS=ia64-dec-vms ;;
V*) echo vax-dec-vms ; exit ;; V*) GUESS=vax-dec-vms ;;
esac ;; esac ;;
*:XENIX:*:SysV) *:XENIX:*:SysV)
GUESS=i386-pc-xenix GUESS=i386-pc-xenix