| 1 |
|
#! /bin/sh |
| 2 |
|
# Configuration validation subroutine script. |
| 3 |
< |
# Copyright 1992-2021 Free Software Foundation, Inc. |
| 3 |
> |
# Copyright 1992-2022 Free Software Foundation, Inc. |
| 4 |
|
|
| 5 |
|
# shellcheck disable=SC2006,SC2268 # see below for rationale |
| 6 |
|
|
| 7 |
< |
timestamp='2021-08-14' |
| 7 |
> |
timestamp='2022-01-03' |
| 8 |
|
|
| 9 |
|
# This file is free software; you can redistribute it and/or modify it |
| 10 |
|
# under the terms of the GNU General Public License as published by |
| 11 |
< |
# the Free Software Foundation; either version 3 of the License, or |
| 11 |
> |
# the Free Software Foundation, either version 3 of the License, or |
| 12 |
|
# (at your option) any later version. |
| 13 |
|
# |
| 14 |
|
# This program is distributed in the hope that it will be useful, but |
| 76 |
|
version="\ |
| 77 |
|
GNU config.sub ($timestamp) |
| 78 |
|
|
| 79 |
< |
Copyright 1992-2021 Free Software Foundation, Inc. |
| 79 |
> |
Copyright 1992-2022 Free Software Foundation, Inc. |
| 80 |
|
|
| 81 |
|
This is free software; see the source for copying conditions. There is NO |
| 82 |
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| 1020 |
|
;; |
| 1021 |
|
|
| 1022 |
|
# Here we normalize CPU types with a missing or matching vendor |
| 1023 |
+ |
armh-unknown | armh-alt) |
| 1024 |
+ |
cpu=armv7l |
| 1025 |
+ |
vendor=alt |
| 1026 |
+ |
basic_os=${basic_os:-linux-gnueabihf} |
| 1027 |
+ |
;; |
| 1028 |
|
dpx20-unknown | dpx20-bull) |
| 1029 |
|
cpu=rs6000 |
| 1030 |
|
vendor=bull |
| 1126 |
|
xscale-* | xscalee[bl]-*) |
| 1127 |
|
cpu=`echo "$cpu" | sed 's/^xscale/arm/'` |
| 1128 |
|
;; |
| 1129 |
< |
arm64-*) |
| 1129 |
> |
arm64-* | aarch64le-*) |
| 1130 |
|
cpu=aarch64 |
| 1131 |
|
;; |
| 1132 |
|
|
| 1309 |
|
if test x$basic_os != x |
| 1310 |
|
then |
| 1311 |
|
|
| 1312 |
< |
# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just |
| 1312 |
> |
# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just |
| 1313 |
|
# set os. |
| 1314 |
|
case $basic_os in |
| 1315 |
|
gnu/linux*) |
| 1753 |
|
| skyos* | haiku* | rdos* | toppers* | drops* | es* \ |
| 1754 |
|
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ |
| 1755 |
|
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ |
| 1756 |
< |
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*) |
| 1756 |
> |
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \ |
| 1757 |
> |
| fiwix* ) |
| 1758 |
|
;; |
| 1759 |
|
# This one is extra strict with allowed versions |
| 1760 |
|
sco3.2v2 | sco3.2v[4-9]* | sco5v6*) |