|
1 | 1 | #! /bin/sh |
2 | 2 | # Attempt to guess a canonical system name. |
3 | | -# Copyright 1992-2021 Free Software Foundation, Inc. |
| 3 | +# Copyright 1992-2022 Free Software Foundation, Inc. |
4 | 4 |
|
5 | 5 | # shellcheck disable=SC2006,SC2268 # see below for rationale |
6 | 6 |
|
7 | | -timestamp='2021-06-03' |
| 7 | +timestamp='2022-01-09' |
8 | 8 |
|
9 | 9 | # This file is free software; you can redistribute it and/or modify it |
10 | 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 | 12 | # (at your option) any later version. |
13 | 13 | # |
14 | 14 | # This program is distributed in the hope that it will be useful, but |
@@ -60,7 +60,7 @@ version="\ |
60 | 60 | GNU config.guess ($timestamp) |
61 | 61 |
|
62 | 62 | Originally written by Per Bothner. |
63 | | -Copyright 1992-2021 Free Software Foundation, Inc. |
| 63 | +Copyright 1992-2022 Free Software Foundation, Inc. |
64 | 64 |
|
65 | 65 | This is free software; see the source for copying conditions. There is NO |
66 | 66 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
@@ -437,7 +437,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in |
437 | 437 | # This test works for both compilers. |
438 | 438 | if test "$CC_FOR_BUILD" != no_compiler_found; then |
439 | 439 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ |
440 | | - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ |
| 440 | + (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \ |
441 | 441 | grep IS_64BIT_ARCH >/dev/null |
442 | 442 | then |
443 | 443 | SUN_ARCH=x86_64 |
|
929 | 929 | i*:PW*:*) |
930 | 930 | GUESS=$UNAME_MACHINE-pc-pw32 |
931 | 931 | ;; |
| 932 | + *:SerenityOS:*:*) |
| 933 | + GUESS=$UNAME_MACHINE-pc-serenity |
| 934 | + ;; |
932 | 935 | *:Interix*:*) |
933 | 936 | case $UNAME_MACHINE in |
934 | 937 | x86) |
@@ -1522,6 +1525,9 @@ EOF |
1522 | 1525 | i*86:rdos:*:*) |
1523 | 1526 | GUESS=$UNAME_MACHINE-pc-rdos |
1524 | 1527 | ;; |
| 1528 | + i*86:Fiwix:*:*) |
| 1529 | + GUESS=$UNAME_MACHINE-pc-fiwix |
| 1530 | + ;; |
1525 | 1531 | *:AROS:*:*) |
1526 | 1532 | GUESS=$UNAME_MACHINE-unknown-aros |
1527 | 1533 | ;; |
|
0 commit comments