xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 5d3861f52dfef2c168cb20eddd008a47761b0ab3

Update auxiliary build scripts
Didn't do that for almost 3 years, there were some updates.

To repeat:

find build-aux/ -executable -delete
# this will rewrite INSTALL, so restore it later
autoreconf -i -f
# if Makefile.in dropped a dependency on one of the files, this
# should bring it back
autoreconf -i -f
Author: xaizek
Author date (UTC): 2026-10-24 12:03
Committer name: xaizek
Committer date (UTC): 2026-10-24 12:28
Parent(s): fb57a0a193e8dd03d6e61877a0b86f0d05e0ff09
Signing key: 99DC5E4DB05F6BE2
Tree: 1524f6810542436d8c0323f2c9d8f2199f2b4f1a
File Lines added Lines deleted
build-aux/compile 29 13
build-aux/config.guess 99 29
build-aux/config.sub 723 243
build-aux/depcomp 10 9
build-aux/install-sh 9 9
build-aux/missing 50 29
build-aux/test-driver 13 6
File build-aux/compile changed (mode: 100755) (index df363c8fb..02ff093c3)
1 1 #! /bin/sh #! /bin/sh
2 2 # Wrapper for compilers which do not understand '-c -o'. # Wrapper for compilers which do not understand '-c -o'.
3 3
4 scriptversion=2018-03-07.03; # UTC
4 scriptversion=2025-06-18.21; # UTC
5 5
6 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
6 # Copyright (C) 1999-2025 Free Software Foundation, Inc.
7 7 # Written by Tom Tromey <tromey@cygnus.com>. # Written by Tom Tromey <tromey@cygnus.com>.
8 8 # #
9 9 # This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
 
... ... IFS=" "" $nl"
37 37
38 38 file_conv= file_conv=
39 39
40 # func_file_conv build_file lazy
40 # func_file_conv build_file unneeded_conversions
41 41 # Convert a $build file to $host form and store it in $file # Convert a $build file to $host form and store it in $file
42 42 # Currently only supports Windows hosts. If the determined conversion # Currently only supports Windows hosts. If the determined conversion
43 # type is listed in (the comma separated) LAZY, no conversion will
44 # take place.
43 # type is listed in (the comma separated) UNNEEDED_CONVERSIONS, no
44 # conversion will take place.
45 45 func_file_conv () func_file_conv ()
46 46 { {
47 47 file=$1 file=$1
 
... ... func_file_conv ()
51 51 # lazily determine how to convert abs files # lazily determine how to convert abs files
52 52 case `uname -s` in case `uname -s` in
53 53 MINGW*) MINGW*)
54 file_conv=mingw
54 if test -n "$MSYSTEM" && (cygpath --version) >/dev/null 2>&1; then
55 # MSYS2 environment.
56 file_conv=cygwin
57 else
58 # Original MinGW environment.
59 file_conv=mingw
60 fi
55 61 ;; ;;
56 CYGWIN* | MSYS*)
62 MSYS*)
63 # Old MSYS environment, or MSYS2 with 32-bit MSYS2 shell.
64 file_conv=cygwin
65 ;;
66 CYGWIN*)
67 # Cygwin environment.
57 68 file_conv=cygwin file_conv=cygwin
58 69 ;; ;;
59 70 *) *)
 
... ... func_file_conv ()
63 74 fi fi
64 75 case $file_conv/,$2, in case $file_conv/,$2, in
65 76 *,$file_conv,*) *,$file_conv,*)
77 # This is the optimization mentioned above:
78 # If UNNEEDED_CONVERSIONS contains $file_conv, don't convert.
66 79 ;; ;;
67 80 mingw/*) mingw/*)
68 81 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
69 82 ;; ;;
70 cygwin/* | msys/*)
71 file=`cygpath -m "$file" || echo "$file"`
83 cygwin/*)
84 file=`cygpath -w "$file" || echo "$file"`
72 85 ;; ;;
73 86 wine/*) wine/*)
74 87 file=`winepath -w "$file" || echo "$file"` file=`winepath -w "$file" || echo "$file"`
 
... ... func_cl_wrapper ()
143 156 # configure might choose to run compile as 'compile cc -o foo foo.c'. # configure might choose to run compile as 'compile cc -o foo foo.c'.
144 157 eat=1 eat=1
145 158 case $2 in case $2 in
146 *.o | *.[oO][bB][jJ])
159 *.o | *.lo | *.[oO][bB][jJ])
147 160 func_file_conv "$2" func_file_conv "$2"
148 161 set x "$@" -Fo"$file" set x "$@" -Fo"$file"
149 162 shift shift
 
... ... If you are trying to build a whole package this is not the
248 261 right script to run: please start by reading the file 'INSTALL'. right script to run: please start by reading the file 'INSTALL'.
249 262
250 263 Report bugs to <bug-automake@gnu.org>. Report bugs to <bug-automake@gnu.org>.
264 GNU Automake home page: <https://www.gnu.org/software/automake/>.
265 General help using GNU software: <https://www.gnu.org/gethelp/>.
251 266 EOF EOF
252 267 exit $? exit $?
253 268 ;; ;;
254 269 -v | --v*) -v | --v*)
255 echo "compile $scriptversion"
270 echo "compile (GNU Automake) $scriptversion"
256 271 exit $? exit $?
257 272 ;; ;;
258 273 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
274 clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \
259 275 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
260 276 func_cl_wrapper "$@" # Doesn't return... func_cl_wrapper "$@" # Doesn't return...
261 277 ;; ;;
 
... ... exit $ret
340 356 # Local Variables: # Local Variables:
341 357 # mode: shell-script # mode: shell-script
342 358 # sh-indentation: 2 # sh-indentation: 2
343 # eval: (add-hook 'before-save-hook 'time-stamp)
359 # eval: (add-hook 'before-save-hook 'time-stamp nil t)
344 360 # time-stamp-start: "scriptversion=" # time-stamp-start: "scriptversion="
345 # time-stamp-format: "%:y-%02m-%02d.%02H"
361 # time-stamp-format: "%Y-%02m-%02d.%02H"
346 362 # time-stamp-time-zone: "UTC0" # time-stamp-time-zone: "UTC0"
347 363 # time-stamp-end: "; # UTC" # time-stamp-end: "; # UTC"
348 364 # End: # End:
File build-aux/config.guess changed (mode: 100755) (index e81d3ae7c..a9d01fde4)
1 1 #! /bin/sh #! /bin/sh
2 2 # Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
3 # Copyright 1992-2021 Free Software Foundation, Inc.
3 # Copyright 1992-2025 Free Software Foundation, Inc.
4 4
5 5 # shellcheck disable=SC2006,SC2268 # see below for rationale # shellcheck disable=SC2006,SC2268 # see below for rationale
6 6
7 timestamp='2021-06-03'
7 timestamp='2025-07-10'
8 8
9 9 # This file is free software; you can redistribute it and/or modify it # 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 # 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. # (at your option) any later version.
13 13 # #
14 14 # This program is distributed in the hope that it will be useful, but # This program is distributed in the hope that it will be useful, but
 
... ... me=`echo "$0" | sed -e 's,.*/,,'`
47 47 usage="\ usage="\
48 48 Usage: $0 [OPTION] Usage: $0 [OPTION]
49 49
50 Output the configuration name of the system \`$me' is run on.
50 Output the configuration name of the system '$me' is run on.
51 51
52 52 Options: Options:
53 53 -h, --help print this help, then exit -h, --help print this help, then exit
 
... ... version="\
60 60 GNU config.guess ($timestamp) GNU config.guess ($timestamp)
61 61
62 62 Originally written by Per Bothner. Originally written by Per Bothner.
63 Copyright 1992-2021 Free Software Foundation, Inc.
63 Copyright 1992-2025 Free Software Foundation, Inc.
64 64
65 65 This is free software; see the source for copying conditions. There is NO 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." warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
67 67
68 68 help=" help="
69 Try \`$me --help' for more information."
69 Try '$me --help' for more information."
70 70
71 71 # Parse command line # Parse command line
72 72 while test $# -gt 0 ; do while test $# -gt 0 ; do
 
... ... GUESS=
102 102 # temporary files to be created and, as you can see below, it is a # temporary files to be created and, as you can see below, it is a
103 103 # headache to deal with in a portable fashion. # headache to deal with in a portable fashion.
104 104
105 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
106 # use `HOST_CC' if defined, but it is deprecated.
105 # Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still
106 # use 'HOST_CC' if defined, but it is deprecated.
107 107
108 108 # Portable tmp directory creation inspired by the Autoconf team. # Portable tmp directory creation inspired by the Autoconf team.
109 109
 
... ... set_cc_for_build() {
123 123 dummy=$tmp/dummy dummy=$tmp/dummy
124 124 case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
125 125 ,,) echo "int x;" > "$dummy.c" ,,) echo "int x;" > "$dummy.c"
126 for driver in cc gcc c89 c99 ; do
126 for driver in cc gcc c17 c99 c89 ; do
127 127 if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
128 128 CC_FOR_BUILD=$driver CC_FOR_BUILD=$driver
129 129 break break
 
... ... Linux|GNU|GNU/*)
155 155
156 156 set_cc_for_build set_cc_for_build
157 157 cat <<-EOF > "$dummy.c" cat <<-EOF > "$dummy.c"
158 #if defined(__ANDROID__)
159 LIBC=android
160 #else
158 161 #include <features.h> #include <features.h>
159 162 #if defined(__UCLIBC__) #if defined(__UCLIBC__)
160 163 LIBC=uclibc LIBC=uclibc
 
... ... Linux|GNU|GNU/*)
162 165 LIBC=dietlibc LIBC=dietlibc
163 166 #elif defined(__GLIBC__) #elif defined(__GLIBC__)
164 167 LIBC=gnu LIBC=gnu
168 #elif defined(__LLVM_LIBC__)
169 LIBC=llvm
165 170 #else #else
166 171 #include <stdarg.h> #include <stdarg.h>
167 172 /* First heuristic to detect musl libc. */ /* First heuristic to detect musl libc. */
 
... ... Linux|GNU|GNU/*)
169 174 LIBC=musl LIBC=musl
170 175 #endif #endif
171 176 #endif #endif
177 #endif
172 178 EOF EOF
173 179 cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
174 180 eval "$cc_set_libc" eval "$cc_set_libc"
 
... ... case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
437 443 # This test works for both compilers. # This test works for both compilers.
438 444 if test "$CC_FOR_BUILD" != no_compiler_found; then if test "$CC_FOR_BUILD" != no_compiler_found; then
439 445 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
440 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
446 (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
441 447 grep IS_64BIT_ARCH >/dev/null grep IS_64BIT_ARCH >/dev/null
442 448 then then
443 449 SUN_ARCH=x86_64 SUN_ARCH=x86_64
 
... ... case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
459 465 UNAME_RELEASE=`uname -v` UNAME_RELEASE=`uname -v`
460 466 ;; ;;
461 467 esac esac
462 # Japanese Language versions have a version number like `4.1.3-JL'.
468 # Japanese Language versions have a version number like '4.1.3-JL'.
463 469 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'` SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
464 470 GUESS=sparc-sun-sunos$SUN_REL GUESS=sparc-sun-sunos$SUN_REL
465 471 ;; ;;
 
... ... EOF
628 634 sed 's/^ //' << EOF > "$dummy.c" sed 's/^ //' << EOF > "$dummy.c"
629 635 #include <sys/systemcfg.h> #include <sys/systemcfg.h>
630 636
631 main()
637 int
638 main ()
632 639 { {
633 640 if (!__power_pc()) if (!__power_pc())
634 641 exit(1); exit(1);
 
... ... EOF
712 719 #include <stdlib.h> #include <stdlib.h>
713 720 #include <unistd.h> #include <unistd.h>
714 721
715 int main ()
722 int
723 main ()
716 724 { {
717 725 #if defined(_SC_KERNEL_BITS) #if defined(_SC_KERNEL_BITS)
718 726 long bits = sysconf(_SC_KERNEL_BITS); long bits = sysconf(_SC_KERNEL_BITS);
 
... ... EOF
904 912 fi fi
905 913 ;; ;;
906 914 *:FreeBSD:*:*) *:FreeBSD:*:*)
907 UNAME_PROCESSOR=`/usr/bin/uname -p`
915 UNAME_PROCESSOR=`uname -p`
908 916 case $UNAME_PROCESSOR in case $UNAME_PROCESSOR in
909 917 amd64) amd64)
910 918 UNAME_PROCESSOR=x86_64 ;; UNAME_PROCESSOR=x86_64 ;;
 
... ... EOF
929 937 i*:PW*:*) i*:PW*:*)
930 938 GUESS=$UNAME_MACHINE-pc-pw32 GUESS=$UNAME_MACHINE-pc-pw32
931 939 ;; ;;
940 *:SerenityOS:*:*)
941 GUESS=$UNAME_MACHINE-pc-serenity
942 ;;
932 943 *:Interix*:*) *:Interix*:*)
933 944 case $UNAME_MACHINE in case $UNAME_MACHINE in
934 945 x86) x86)
 
... ... EOF
963 974 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
964 975 GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
965 976 ;; ;;
977 x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*)
978 GUESS="$UNAME_MACHINE-pc-managarm-mlibc"
979 ;;
980 *:[Mm]anagarm:*:*)
981 GUESS="$UNAME_MACHINE-unknown-managarm-mlibc"
982 ;;
966 983 *:Minix:*:*) *:Minix:*:*)
967 984 GUESS=$UNAME_MACHINE-unknown-minix GUESS=$UNAME_MACHINE-unknown-minix
968 985 ;; ;;
969 986 aarch64:Linux:*:*) aarch64:Linux:*:*)
970 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
987 set_cc_for_build
988 CPU=$UNAME_MACHINE
989 LIBCABI=$LIBC
990 if test "$CC_FOR_BUILD" != no_compiler_found; then
991 ABI=64
992 sed 's/^ //' << EOF > "$dummy.c"
993 #ifdef __ARM_EABI__
994 #ifdef __ARM_PCS_VFP
995 ABI=eabihf
996 #else
997 ABI=eabi
998 #endif
999 #endif
1000 EOF
1001 cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
1002 eval "$cc_set_abi"
1003 case $ABI in
1004 eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;;
1005 esac
1006 fi
1007 GUESS=$CPU-unknown-linux-$LIBCABI
971 1008 ;; ;;
972 1009 aarch64_be:Linux:*:*) aarch64_be:Linux:*:*)
973 1010 UNAME_MACHINE=aarch64_be UNAME_MACHINE=aarch64_be
 
... ... EOF
1033 1070 k1om:Linux:*:*) k1om:Linux:*:*)
1034 1071 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1035 1072 ;; ;;
1036 loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
1073 kvx:Linux:*:*)
1074 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1075 ;;
1076 kvx:cos:*:*)
1077 GUESS=$UNAME_MACHINE-unknown-cos
1078 ;;
1079 kvx:mbr:*:*)
1080 GUESS=$UNAME_MACHINE-unknown-mbr
1081 ;;
1082 loongarch32:Linux:*:* | loongarch64:Linux:*:*)
1037 1083 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1038 1084 ;; ;;
1039 1085 m32r*:Linux:*:*) m32r*:Linux:*:*)
 
... ... EOF
1148 1194 ;; ;;
1149 1195 x86_64:Linux:*:*) x86_64:Linux:*:*)
1150 1196 set_cc_for_build set_cc_for_build
1197 CPU=$UNAME_MACHINE
1151 1198 LIBCABI=$LIBC LIBCABI=$LIBC
1152 1199 if test "$CC_FOR_BUILD" != no_compiler_found; then if test "$CC_FOR_BUILD" != no_compiler_found; then
1153 if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
1154 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1155 grep IS_X32 >/dev/null
1156 then
1157 LIBCABI=${LIBC}x32
1158 fi
1200 ABI=64
1201 sed 's/^ //' << EOF > "$dummy.c"
1202 #ifdef __i386__
1203 ABI=x86
1204 #else
1205 #ifdef __ILP32__
1206 ABI=x32
1207 #endif
1208 #endif
1209 EOF
1210 cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
1211 eval "$cc_set_abi"
1212 case $ABI in
1213 x86) CPU=i686 ;;
1214 x32) LIBCABI=${LIBC}x32 ;;
1215 esac
1159 1216 fi fi
1160 GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
1217 GUESS=$CPU-pc-linux-$LIBCABI
1161 1218 ;; ;;
1162 1219 xtensa*:Linux:*:*) xtensa*:Linux:*:*)
1163 1220 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
 
... ... EOF
1177 1234 GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
1178 1235 ;; ;;
1179 1236 i*86:OS/2:*:*) i*86:OS/2:*:*)
1180 # If we were able to find `uname', then EMX Unix compatibility
1237 # If we were able to find 'uname', then EMX Unix compatibility
1181 1238 # is probably installed. # is probably installed.
1182 1239 GUESS=$UNAME_MACHINE-pc-os2-emx GUESS=$UNAME_MACHINE-pc-os2-emx
1183 1240 ;; ;;
 
... ... EOF
1318 1375 GUESS=ns32k-sni-sysv GUESS=ns32k-sni-sysv
1319 1376 fi fi
1320 1377 ;; ;;
1321 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1378 PENTIUM:*:4.0*:*) # Unisys 'ClearPath HMP IX 4000' SVR4/MP effort
1322 1379 # says <Richard.M.Bartel@ccMail.Census.GOV> # says <Richard.M.Bartel@ccMail.Census.GOV>
1323 1380 GUESS=i586-unisys-sysv4 GUESS=i586-unisys-sysv4
1324 1381 ;; ;;
 
... ... EOF
1364 1421 BePC:Haiku:*:*) # Haiku running on Intel PC compatible. BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1365 1422 GUESS=i586-pc-haiku GUESS=i586-pc-haiku
1366 1423 ;; ;;
1367 x86_64:Haiku:*:*)
1368 GUESS=x86_64-unknown-haiku
1424 ppc:Haiku:*:*) # Haiku running on Apple PowerPC
1425 GUESS=powerpc-apple-haiku
1426 ;;
1427 *:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
1428 GUESS=$UNAME_MACHINE-unknown-haiku
1369 1429 ;; ;;
1370 1430 SX-4:SUPER-UX:*:*) SX-4:SUPER-UX:*:*)
1371 1431 GUESS=sx4-nec-superux$UNAME_RELEASE GUESS=sx4-nec-superux$UNAME_RELEASE
 
... ... EOF
1522 1582 i*86:rdos:*:*) i*86:rdos:*:*)
1523 1583 GUESS=$UNAME_MACHINE-pc-rdos GUESS=$UNAME_MACHINE-pc-rdos
1524 1584 ;; ;;
1585 i*86:Fiwix:*:*)
1586 GUESS=$UNAME_MACHINE-pc-fiwix
1587 ;;
1525 1588 *:AROS:*:*) *:AROS:*:*)
1526 1589 GUESS=$UNAME_MACHINE-unknown-aros GUESS=$UNAME_MACHINE-unknown-aros
1527 1590 ;; ;;
 
... ... EOF
1534 1597 *:Unleashed:*:*) *:Unleashed:*:*)
1535 1598 GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
1536 1599 ;; ;;
1600 x86_64:[Ii]ronclad:*:*|i?86:[Ii]ronclad:*:*)
1601 GUESS=$UNAME_MACHINE-pc-ironclad-mlibc
1602 ;;
1603 *:[Ii]ronclad:*:*)
1604 GUESS=$UNAME_MACHINE-unknown-ironclad-mlibc
1605 ;;
1537 1606 esac esac
1538 1607
1539 1608 # Do we have a guess based on uname results? # Do we have a guess based on uname results?
 
... ... cat > "$dummy.c" <<EOF
1557 1626 #endif #endif
1558 1627 #endif #endif
1559 1628 #endif #endif
1629 int
1560 1630 main () main ()
1561 1631 { {
1562 1632 #if defined (sony) #if defined (sony)
 
... ... fi
1741 1811 exit 1 exit 1
1742 1812
1743 1813 # Local variables: # Local variables:
1744 # eval: (add-hook 'before-save-hook 'time-stamp)
1814 # eval: (add-hook 'before-save-hook 'time-stamp nil t)
1745 1815 # time-stamp-start: "timestamp='" # time-stamp-start: "timestamp='"
1746 # time-stamp-format: "%:y-%02m-%02d"
1816 # time-stamp-format: "%Y-%02m-%02d"
1747 1817 # time-stamp-end: "'" # time-stamp-end: "'"
1748 1818 # End: # End:
File build-aux/config.sub changed (mode: 100755) (index d74fb6dea..3d35cde17)
1 1 #! /bin/sh #! /bin/sh
2 2 # Configuration validation subroutine script. # Configuration validation subroutine script.
3 # Copyright 1992-2021 Free Software Foundation, Inc.
3 # Copyright 1992-2025 Free Software Foundation, Inc.
4 4
5 # shellcheck disable=SC2006,SC2268 # see below for rationale
5 # shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
6 6
7 timestamp='2021-08-14'
7 timestamp='2025-07-10'
8 8
9 9 # This file is free software; you can redistribute it and/or modify it # 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 # 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. # (at your option) any later version.
13 13 # #
14 14 # This program is distributed in the hope that it will be useful, but # This program is distributed in the hope that it will be useful, but
 
... ... Report bugs and patches to <config-patches@gnu.org>."
76 76 version="\ version="\
77 77 GNU config.sub ($timestamp) GNU config.sub ($timestamp)
78 78
79 Copyright 1992-2021 Free Software Foundation, Inc.
79 Copyright 1992-2025 Free Software Foundation, Inc.
80 80
81 81 This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
82 82 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
83 83
84 84 help=" help="
85 Try \`$me --help' for more information."
85 Try '$me --help' for more information."
86 86
87 87 # Parse command line # Parse command line
88 88 while test $# -gt 0 ; do while test $# -gt 0 ; do
 
... ... case $# in
120 120 esac esac
121 121
122 122 # Split fields of configuration type # Split fields of configuration type
123 # shellcheck disable=SC2162
124 123 saved_IFS=$IFS saved_IFS=$IFS
125 124 IFS="-" read field1 field2 field3 field4 <<EOF IFS="-" read field1 field2 field3 field4 <<EOF
126 125 $1 $1
 
... ... IFS=$saved_IFS
130 129 # Separate into logical components for further validation # Separate into logical components for further validation
131 130 case $1 in case $1 in
132 131 *-*-*-*-*) *-*-*-*-*)
133 echo Invalid configuration \`"$1"\': more than four components >&2
132 echo "Invalid configuration '$1': more than four components" >&2
134 133 exit 1 exit 1
135 134 ;; ;;
136 135 *-*-*-*) *-*-*-*)
 
... ... case $1 in
142 141 # parts # parts
143 142 maybe_os=$field2-$field3 maybe_os=$field2-$field3
144 143 case $maybe_os in case $maybe_os in
145 nto-qnx* | linux-* | uclinux-uclibc* \
146 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
147 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
148 | storm-chaos* | os2-emx* | rtmk-nova*)
144 cloudabi*-eabi* \
145 | kfreebsd*-gnu* \
146 | knetbsd*-gnu* \
147 | kopensolaris*-gnu* \
148 | ironclad-* \
149 | linux-* \
150 | managarm-* \
151 | netbsd*-eabi* \
152 | netbsd*-gnu* \
153 | nto-qnx* \
154 | os2-emx* \
155 | rtmk-nova* \
156 | storm-chaos* \
157 | uclinux-gnu* \
158 | uclinux-uclibc* \
159 | windows-* )
149 160 basic_machine=$field1 basic_machine=$field1
150 161 basic_os=$maybe_os basic_os=$maybe_os
151 162 ;; ;;
 
... ... case $1 in
160 171 esac esac
161 172 ;; ;;
162 173 *-*) *-*)
163 # A lone config we happen to match not fitting any pattern
164 174 case $field1-$field2 in case $field1-$field2 in
175 # Shorthands that happen to contain a single dash
176 convex-c[12] | convex-c3[248])
177 basic_machine=$field2-convex
178 basic_os=
179 ;;
165 180 decstation-3100) decstation-3100)
166 181 basic_machine=mips-dec basic_machine=mips-dec
167 182 basic_os= basic_os=
 
... ... case $1 in
169 184 *-*) *-*)
170 185 # Second component is usually, but not always the OS # Second component is usually, but not always the OS
171 186 case $field2 in case $field2 in
172 # Prevent following clause from handling this valid os
187 # Do not treat sunos as a manufacturer
173 188 sun*os*) sun*os*)
174 189 basic_machine=$field1 basic_machine=$field1
175 190 basic_os=$field2 basic_os=$field2
176 191 ;; ;;
177 zephyr*)
178 basic_machine=$field1-unknown
179 basic_os=$field2
180 ;;
181 192 # Manufacturers # Manufacturers
182 dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
183 | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
184 | unicom* | ibm* | next | hp | isi* | apollo | altos* \
185 | convergent* | ncr* | news | 32* | 3600* | 3100* \
186 | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \
187 | ultra | tti* | harris | dolphin | highlevel | gould \
188 | cbm | ns | masscomp | apple | axis | knuth | cray \
189 | microblaze* | sim | cisco \
190 | oki | wec | wrs | winbond)
193 3100* \
194 | 32* \
195 | 3300* \
196 | 3600* \
197 | 7300* \
198 | acorn \
199 | altos* \
200 | apollo \
201 | apple \
202 | atari \
203 | att* \
204 | axis \
205 | be \
206 | bull \
207 | cbm \
208 | ccur \
209 | cisco \
210 | commodore \
211 | convergent* \
212 | convex* \
213 | cray \
214 | crds \
215 | dec* \
216 | delta* \
217 | dg \
218 | digital \
219 | dolphin \
220 | encore* \
221 | gould \
222 | harris \
223 | highlevel \
224 | hitachi* \
225 | hp \
226 | ibm* \
227 | intergraph \
228 | isi* \
229 | knuth \
230 | masscomp \
231 | microblaze* \
232 | mips* \
233 | motorola* \
234 | ncr* \
235 | news \
236 | next \
237 | ns \
238 | oki \
239 | omron* \
240 | pc533* \
241 | rebel \
242 | rom68k \
243 | rombug \
244 | semi \
245 | sequent* \
246 | sgi* \
247 | siemens \
248 | sim \
249 | sni \
250 | sony* \
251 | stratus \
252 | sun \
253 | sun[234]* \
254 | tektronix \
255 | tti* \
256 | ultra \
257 | unicom* \
258 | wec \
259 | winbond \
260 | wrs)
191 261 basic_machine=$field1-$field2 basic_machine=$field1-$field2
192 262 basic_os= basic_os=
193 263 ;; ;;
264 tock* | zephyr*)
265 basic_machine=$field1-unknown
266 basic_os=$field2
267 ;;
194 268 *) *)
195 269 basic_machine=$field1 basic_machine=$field1
196 270 basic_os=$field2 basic_os=$field2
 
... ... case $1 in
271 345 basic_machine=arm-unknown basic_machine=arm-unknown
272 346 basic_os=cegcc basic_os=cegcc
273 347 ;; ;;
274 convex-c1)
275 basic_machine=c1-convex
276 basic_os=bsd
277 ;;
278 convex-c2)
279 basic_machine=c2-convex
280 basic_os=bsd
281 ;;
282 convex-c32)
283 basic_machine=c32-convex
284 basic_os=bsd
285 ;;
286 convex-c34)
287 basic_machine=c34-convex
288 basic_os=bsd
289 ;;
290 convex-c38)
291 basic_machine=c38-convex
292 basic_os=bsd
293 ;;
294 348 cray) cray)
295 349 basic_machine=j90-cray basic_machine=j90-cray
296 350 basic_os=unicos basic_os=unicos
 
... ... case $basic_machine in
713 767 vendor=dec vendor=dec
714 768 basic_os=tops20 basic_os=tops20
715 769 ;; ;;
716 delta | 3300 | motorola-3300 | motorola-delta \
717 | 3300-motorola | delta-motorola)
770 delta | 3300 | delta-motorola | 3300-motorola | motorola-delta | motorola-3300)
718 771 cpu=m68k cpu=m68k
719 772 vendor=motorola vendor=motorola
720 773 ;; ;;
721 dpx2*)
774 # This used to be dpx2*, but that gets the RS6000-based
775 # DPX/20 and the x86-based DPX/2-100 wrong. See
776 # https://oldskool.silicium.org/stations/bull_dpx20.htm
777 # https://www.feb-patrimoine.com/english/bull_dpx2.htm
778 # https://www.feb-patrimoine.com/english/unix_and_bull.htm
779 dpx2 | dpx2[23]00 | dpx2[23]xx)
722 780 cpu=m68k cpu=m68k
723 781 vendor=bull vendor=bull
724 basic_os=sysv3
782 ;;
783 dpx2100 | dpx21xx)
784 cpu=i386
785 vendor=bull
786 ;;
787 dpx20)
788 cpu=rs6000
789 vendor=bull
725 790 ;; ;;
726 791 encore | umax | mmax) encore | umax | mmax)
727 792 cpu=ns32k cpu=ns32k
 
... ... case $basic_machine in
836 901 next | m*-next) next | m*-next)
837 902 cpu=m68k cpu=m68k
838 903 vendor=next vendor=next
839 case $basic_os in
840 openstep*)
841 ;;
842 nextstep*)
843 ;;
844 ns2*)
845 basic_os=nextstep2
846 ;;
847 *)
848 basic_os=nextstep3
849 ;;
850 esac
851 904 ;; ;;
852 905 np1) np1)
853 906 cpu=np1 cpu=np1
 
... ... case $basic_machine in
936 989 ;; ;;
937 990
938 991 *-*) *-*)
939 # shellcheck disable=SC2162
940 992 saved_IFS=$IFS saved_IFS=$IFS
941 993 IFS="-" read cpu vendor <<EOF IFS="-" read cpu vendor <<EOF
942 994 $basic_machine $basic_machine
943 995 EOF EOF
944 996 IFS=$saved_IFS IFS=$saved_IFS
945 997 ;; ;;
946 # We use `pc' rather than `unknown'
998 # We use 'pc' rather than 'unknown'
947 999 # because (1) that's what they normally are, and # because (1) that's what they normally are, and
948 1000 # (2) the word "unknown" tends to confuse beginning users. # (2) the word "unknown" tends to confuse beginning users.
949 1001 i*86 | x86_64) i*86 | x86_64)
 
... ... unset -v basic_machine
971 1023
972 1024 # Decode basic machines in the full and proper CPU-Company form. # Decode basic machines in the full and proper CPU-Company form.
973 1025 case $cpu-$vendor in case $cpu-$vendor in
974 # Here we handle the default manufacturer of certain CPU types in canonical form. It is in
975 # some cases the only manufacturer, in others, it is the most popular.
1026 # Here we handle the default manufacturer of certain CPU types in canonical form.
1027 # It is in some cases the only manufacturer, in others, it is the most popular.
1028 c[12]-convex | c[12]-unknown | c3[248]-convex | c3[248]-unknown)
1029 vendor=convex
1030 basic_os=${basic_os:-bsd}
1031 ;;
976 1032 craynv-unknown) craynv-unknown)
977 1033 vendor=cray vendor=cray
978 1034 basic_os=${basic_os:-unicosmp} basic_os=${basic_os:-unicosmp}
979 1035 ;; ;;
980 1036 c90-unknown | c90-cray) c90-unknown | c90-cray)
981 1037 vendor=cray vendor=cray
982 basic_os=${Basic_os:-unicos}
1038 basic_os=${basic_os:-unicos}
983 1039 ;; ;;
984 1040 fx80-unknown) fx80-unknown)
985 1041 vendor=alliant vendor=alliant
 
... ... case $cpu-$vendor in
1020 1076 ;; ;;
1021 1077
1022 1078 # Here we normalize CPU types with a missing or matching vendor # Here we normalize CPU types with a missing or matching vendor
1023 dpx20-unknown | dpx20-bull)
1024 cpu=rs6000
1025 vendor=bull
1079 armh-unknown | armh-alt)
1080 cpu=armv7l
1081 vendor=alt
1082 basic_os=${basic_os:-linux-gnueabihf}
1083 ;;
1084
1085 # Normalized CPU+vendor pairs that imply an OS, if not otherwise specified
1086 m68k-isi)
1087 basic_os=${basic_os:-sysv}
1088 ;;
1089 m68k-sony)
1090 basic_os=${basic_os:-newsos}
1091 ;;
1092 m68k-tektronix)
1093 basic_os=${basic_os:-bsd}
1094 ;;
1095 m88k-harris)
1096 basic_os=${basic_os:-sysv3}
1097 ;;
1098 i386-bull | m68k-bull)
1099 basic_os=${basic_os:-sysv3}
1100 ;;
1101 rs6000-bull)
1026 1102 basic_os=${basic_os:-bosx} basic_os=${basic_os:-bosx}
1027 1103 ;; ;;
1104 mips-sni)
1105 basic_os=${basic_os:-sysv4}
1106 ;;
1028 1107
1029 1108 # Here we normalize CPU types irrespective of the vendor # Here we normalize CPU types irrespective of the vendor
1030 1109 amd64-*) amd64-*)
 
... ... case $cpu-$vendor in
1032 1111 ;; ;;
1033 1112 blackfin-*) blackfin-*)
1034 1113 cpu=bfin cpu=bfin
1035 basic_os=linux
1114 basic_os=${basic_os:-linux}
1036 1115 ;; ;;
1037 1116 c54x-*) c54x-*)
1038 1117 cpu=tic54x cpu=tic54x
 
... ... case $cpu-$vendor in
1055 1134 ;; ;;
1056 1135 m68knommu-*) m68knommu-*)
1057 1136 cpu=m68k cpu=m68k
1058 basic_os=linux
1137 basic_os=${basic_os:-linux}
1059 1138 ;; ;;
1060 1139 m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*) m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
1061 1140 cpu=s12z cpu=s12z
 
... ... case $cpu-$vendor in
1065 1144 ;; ;;
1066 1145 parisc-*) parisc-*)
1067 1146 cpu=hppa cpu=hppa
1068 basic_os=linux
1147 basic_os=${basic_os:-linux}
1069 1148 ;; ;;
1070 1149 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1071 1150 cpu=i586 cpu=i586
1072 1151 ;; ;;
1073 pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
1152 pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*)
1074 1153 cpu=i686 cpu=i686
1075 1154 ;; ;;
1076 1155 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
 
... ... case $cpu-$vendor in
1079 1158 pentium4-*) pentium4-*)
1080 1159 cpu=i786 cpu=i786
1081 1160 ;; ;;
1082 pc98-*)
1083 cpu=i386
1084 ;;
1085 1161 ppc-* | ppcbe-*) ppc-* | ppcbe-*)
1086 1162 cpu=powerpc cpu=powerpc
1087 1163 ;; ;;
 
... ... case $cpu-$vendor in
1115 1191 tx39el-*) tx39el-*)
1116 1192 cpu=mipstx39el cpu=mipstx39el
1117 1193 ;; ;;
1118 x64-*)
1119 cpu=x86_64
1120 ;;
1121 1194 xscale-* | xscalee[bl]-*) xscale-* | xscalee[bl]-*)
1122 1195 cpu=`echo "$cpu" | sed 's/^xscale/arm/'` cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
1123 1196 ;; ;;
1124 arm64-*)
1197 arm64-* | aarch64le-* | arm64_32-*)
1125 1198 cpu=aarch64 cpu=aarch64
1126 1199 ;; ;;
1127 1200
 
... ... case $cpu-$vendor in
1173 1246 # Recognize the canonical CPU types that are allowed with any # Recognize the canonical CPU types that are allowed with any
1174 1247 # company name. # company name.
1175 1248 case $cpu in case $cpu in
1176 1750a | 580 \
1249 1750a \
1250 | 580 \
1251 | [cjt]90 \
1177 1252 | a29k \ | a29k \
1178 | aarch64 | aarch64_be \
1253 | aarch64 \
1254 | aarch64_be \
1255 | aarch64c \
1179 1256 | abacus \ | abacus \
1180 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
1181 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \
1182 | alphapca5[67] | alpha64pca5[67] \
1257 | alpha \
1258 | alpha64 \
1259 | alpha64ev56 \
1260 | alpha64ev6[78] \
1261 | alpha64ev[4-8] \
1262 | alpha64pca5[67] \
1263 | alphaev56 \
1264 | alphaev6[78] \
1265 | alphaev[4-8] \
1266 | alphapca5[67] \
1183 1267 | am33_2.0 \ | am33_2.0 \
1184 1268 | amdgcn \ | amdgcn \
1185 | arc | arceb | arc32 | arc64 \
1186 | arm | arm[lb]e | arme[lb] | armv* \
1187 | avr | avr32 \
1269 | arc \
1270 | arc32 \
1271 | arc64 \
1272 | arceb \
1273 | arm \
1274 | arm64e \
1275 | arm64ec \
1276 | arm[lb]e \
1277 | arme[lb] \
1278 | armv* \
1188 1279 | asmjs \ | asmjs \
1280 | avr \
1281 | avr32 \
1189 1282 | ba \ | ba \
1190 | be32 | be64 \
1191 | bfin | bpf | bs2000 \
1192 | c[123]* | c30 | [cjt]90 | c4x \
1193 | c8051 | clipper | craynv | csky | cydra \
1194 | d10v | d30v | dlx | dsp16xx \
1195 | e2k | elxsi | epiphany \
1196 | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \
1197 | h8300 | h8500 \
1198 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1283 | be32 \
1284 | be64 \
1285 | bfin \
1286 | bpf \
1287 | bs2000 \
1288 | c30 \
1289 | c4x \
1290 | c8051 \
1291 | c[123]* \
1292 | clipper \
1293 | craynv \
1294 | csky \
1295 | cydra \
1296 | d10v \
1297 | d30v \
1298 | dlx \
1299 | dsp16xx \
1300 | e2k \
1301 | elxsi \
1302 | epiphany \
1303 | f30[01] \
1304 | f700 \
1305 | fido \
1306 | fr30 \
1307 | frv \
1308 | ft32 \
1309 | fx80 \
1310 | h8300 \
1311 | h8500 \
1199 1312 | hexagon \ | hexagon \
1200 | i370 | i*86 | i860 | i960 | ia16 | ia64 \
1201 | ip2k | iq2000 \
1313 | hppa \
1314 | hppa1.[01] \
1315 | hppa2.0 \
1316 | hppa2.0[nw] \
1317 | hppa64 \
1318 | i*86 \
1319 | i370 \
1320 | i860 \
1321 | i960 \
1322 | ia16 \
1323 | ia64 \
1324 | intelgt \
1325 | ip2k \
1326 | iq2000 \
1327 | javascript \
1202 1328 | k1om \ | k1om \
1203 | le32 | le64 \
1329 | kvx \
1330 | le32 \
1331 | le64 \
1204 1332 | lm32 \ | lm32 \
1205 | loongarch32 | loongarch64 | loongarchx32 \
1206 | m32c | m32r | m32rle \
1207 | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
1208 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
1209 | m88110 | m88k | maxq | mb | mcore | mep | metag \
1210 | microblaze | microblazeel \
1211 | mips | mipsbe | mipseb | mipsel | mipsle \
1212 | mips16 \
1213 | mips64 | mips64eb | mips64el \
1214 | mips64octeon | mips64octeonel \
1215 | mips64orion | mips64orionel \
1216 | mips64r5900 | mips64r5900el \
1217 | mips64vr | mips64vrel \
1218 | mips64vr4100 | mips64vr4100el \
1219 | mips64vr4300 | mips64vr4300el \
1220 | mips64vr5000 | mips64vr5000el \
1221 | mips64vr5900 | mips64vr5900el \
1222 | mipsisa32 | mipsisa32el \
1223 | mipsisa32r2 | mipsisa32r2el \
1224 | mipsisa32r3 | mipsisa32r3el \
1225 | mipsisa32r5 | mipsisa32r5el \
1226 | mipsisa32r6 | mipsisa32r6el \
1227 | mipsisa64 | mipsisa64el \
1228 | mipsisa64r2 | mipsisa64r2el \
1229 | mipsisa64r3 | mipsisa64r3el \
1230 | mipsisa64r5 | mipsisa64r5el \
1231 | mipsisa64r6 | mipsisa64r6el \
1232 | mipsisa64sb1 | mipsisa64sb1el \
1233 | mipsisa64sr71k | mipsisa64sr71kel \
1234 | mipsr5900 | mipsr5900el \
1235 | mipstx39 | mipstx39el \
1333 | loongarch32 \
1334 | loongarch64 \
1335 | m32c \
1336 | m32r \
1337 | m32rle \
1338 | m5200 \
1339 | m68000 \
1340 | m680[012346]0 \
1341 | m6811 \
1342 | m6812 \
1343 | m68360 \
1344 | m683?2 \
1345 | m68hc11 \
1346 | m68hc12 \
1347 | m68hcs12x \
1348 | m68k \
1349 | m88110 \
1350 | m88k \
1351 | maxq \
1352 | mb \
1353 | mcore \
1354 | mep \
1355 | metag \
1356 | microblaze \
1357 | microblazeel \
1358 | mips* \
1236 1359 | mmix \ | mmix \
1237 | mn10200 | mn10300 \
1360 | mn10200 \
1361 | mn10300 \
1238 1362 | moxie \ | moxie \
1239 | mt \
1240 1363 | msp430 \ | msp430 \
1241 | nds32 | nds32le | nds32be \
1364 | mt \
1365 | nanomips* \
1366 | nds32 \
1367 | nds32be \
1368 | nds32le \
1242 1369 | nfp \ | nfp \
1243 | nios | nios2 | nios2eb | nios2el \
1244 | none | np1 | ns16k | ns32k | nvptx \
1370 | nios \
1371 | nios2 \
1372 | nios2eb \
1373 | nios2el \
1374 | none \
1375 | np1 \
1376 | ns16k \
1377 | ns32k \
1378 | nvptx \
1245 1379 | open8 \ | open8 \
1246 1380 | or1k* \ | or1k* \
1247 1381 | or32 \ | or32 \
1248 1382 | orion \ | orion \
1383 | pdp10 \
1384 | pdp11 \
1249 1385 | picochip \ | picochip \
1250 | pdp10 | pdp11 | pj | pjl | pn | power \
1251 | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
1386 | pj \
1387 | pjl \
1388 | pn \
1389 | power \
1390 | powerpc \
1391 | powerpc64 \
1392 | powerpc64le \
1393 | powerpcle \
1394 | powerpcspe \
1252 1395 | pru \ | pru \
1253 1396 | pyramid \ | pyramid \
1254 | riscv | riscv32 | riscv32be | riscv64 | riscv64be \
1255 | rl78 | romp | rs6000 | rx \
1256 | s390 | s390x \
1397 | riscv \
1398 | riscv32 \
1399 | riscv32be \
1400 | riscv64 \
1401 | riscv64be \
1402 | rl78 \
1403 | romp \
1404 | rs6000 \
1405 | rx \
1406 | s390 \
1407 | s390x \
1257 1408 | score \ | score \
1258 | sh | shl \
1259 | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \
1260 | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \
1261 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \
1409 | sh \
1410 | sh64 \
1411 | sh64le \
1412 | sh[12345][lb]e \
1413 | sh[1234] \
1414 | sh[1234]e[lb] \
1415 | sh[23]e \
1416 | sh[23]ele \
1417 | sh[24]a \
1418 | sh[24]ae[lb] \
1419 | sh[lb]e \
1420 | she[lb] \
1421 | shl \
1422 | sparc \
1423 | sparc64 \
1424 | sparc64b \
1425 | sparc64v \
1426 | sparc86x \
1427 | sparclet \
1262 1428 | sparclite \ | sparclite \
1263 | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
1429 | sparcv8 \
1430 | sparcv9 \
1431 | sparcv9b \
1432 | sparcv9v \
1264 1433 | spu \ | spu \
1434 | sv1 \
1435 | sx* \
1265 1436 | tahoe \ | tahoe \
1266 1437 | thumbv7* \ | thumbv7* \
1267 | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
1438 | tic30 \
1439 | tic4x \
1440 | tic54x \
1441 | tic55x \
1442 | tic6x \
1443 | tic80 \
1268 1444 | tron \ | tron \
1269 1445 | ubicom32 \ | ubicom32 \
1270 | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
1446 | v70 \
1447 | v810 \
1448 | v850 \
1449 | v850e \
1450 | v850e1 \
1451 | v850e2 \
1452 | v850e2v3 \
1453 | v850es \
1271 1454 | vax \ | vax \
1455 | vc4 \
1272 1456 | visium \ | visium \
1273 1457 | w65 \ | w65 \
1274 | wasm32 | wasm64 \
1458 | wasm32 \
1459 | wasm64 \
1275 1460 | we32k \ | we32k \
1276 | x86 | x86_64 | xc16x | xgate | xps100 \
1277 | xstormy16 | xtensa* \
1461 | x86 \
1462 | x86_64 \
1463 | xc16x \
1464 | xgate \
1465 | xps100 \
1466 | xstormy16 \
1467 | xtensa* \
1278 1468 | ymp \ | ymp \
1279 | z8k | z80)
1469 | z80 \
1470 | z8k)
1280 1471 ;; ;;
1281 1472
1282 1473 *) *)
1283 echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
1474 echo "Invalid configuration '$1': machine '$cpu-$vendor' not recognized" 1>&2
1284 1475 exit 1 exit 1
1285 1476 ;; ;;
1286 1477 esac esac
 
... ... esac
1301 1492
1302 1493 # Decode manufacturer-specific aliases for certain operating systems. # Decode manufacturer-specific aliases for certain operating systems.
1303 1494
1304 if test x$basic_os != x
1495 if test x"$basic_os" != x
1305 1496 then then
1306 1497
1307 # First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
1498 # First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
1308 1499 # set os. # set os.
1500 obj=
1309 1501 case $basic_os in case $basic_os in
1310 1502 gnu/linux*) gnu/linux*)
1311 1503 kernel=linux kernel=linux
 
... ... case $basic_os in
1320 1512 os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'` os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
1321 1513 ;; ;;
1322 1514 *-*) *-*)
1323 # shellcheck disable=SC2162
1324 1515 saved_IFS=$IFS saved_IFS=$IFS
1325 1516 IFS="-" read kernel os <<EOF IFS="-" read kernel os <<EOF
1326 1517 $basic_os $basic_os
 
... ... EOF
1332 1523 kernel=nto kernel=nto
1333 1524 os=`echo "$basic_os" | sed -e 's|nto|qnx|'` os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
1334 1525 ;; ;;
1526 ironclad*)
1527 kernel=ironclad
1528 os=`echo "$basic_os" | sed -e 's|ironclad|mlibc|'`
1529 ;;
1335 1530 linux*) linux*)
1336 1531 kernel=linux kernel=linux
1337 1532 os=`echo "$basic_os" | sed -e 's|linux|gnu|'` os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
1338 1533 ;; ;;
1534 managarm*)
1535 kernel=managarm
1536 os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'`
1537 ;;
1339 1538 *) *)
1340 1539 kernel= kernel=
1341 1540 os=$basic_os os=$basic_os
 
... ... case $os in
1363 1562 unixware*) unixware*)
1364 1563 os=sysv4.2uw os=sysv4.2uw
1365 1564 ;; ;;
1565 # The marketing names for NeXT's operating systems were
1566 # NeXTSTEP, NeXTSTEP 2, OpenSTEP 3, OpenSTEP 4. 'openstep' is
1567 # mapped to 'openstep3', but 'openstep1' and 'openstep2' are
1568 # mapped to 'nextstep' and 'nextstep2', consistent with the
1569 # treatment of SunOS/Solaris.
1570 ns | ns1 | nextstep | nextstep1 | openstep1)
1571 os=nextstep
1572 ;;
1573 ns2 | nextstep2 | openstep2)
1574 os=nextstep2
1575 ;;
1576 ns3 | nextstep3 | openstep | openstep3)
1577 os=openstep3
1578 ;;
1579 ns4 | nextstep4 | openstep4)
1580 os=openstep4
1581 ;;
1366 1582 # es1800 is here to avoid being matched by es* (a different OS) # es1800 is here to avoid being matched by es* (a different OS)
1367 1583 es1800*) es1800*)
1368 1584 os=ose os=ose
 
... ... case $os in
1433 1649 ;; ;;
1434 1650 utek*) utek*)
1435 1651 os=bsd os=bsd
1652 vendor=`echo "$vendor" | sed -e 's|^unknown$|tektronix|'`
1436 1653 ;; ;;
1437 1654 dynix*) dynix*)
1438 1655 os=bsd os=bsd
 
... ... case $os in
1449 1666 386bsd) 386bsd)
1450 1667 os=bsd os=bsd
1451 1668 ;; ;;
1452 ctix* | uts*)
1669 ctix*)
1453 1670 os=sysv os=sysv
1671 vendor=`echo "$vendor" | sed -e 's|^unknown$|convergent|'`
1454 1672 ;; ;;
1455 nova*)
1456 os=rtmk-nova
1673 uts*)
1674 os=sysv
1457 1675 ;; ;;
1458 ns2)
1459 os=nextstep2
1676 nova*)
1677 kernel=rtmk
1678 os=nova
1460 1679 ;; ;;
1461 1680 # Preserve the version number of sinix5. # Preserve the version number of sinix5.
1462 1681 sinix5.*) sinix5.*)
1463 1682 os=`echo "$os" | sed -e 's|sinix|sysv|'` os=`echo "$os" | sed -e 's|sinix|sysv|'`
1683 vendor=`echo "$vendor" | sed -e 's|^unknown$|sni|'`
1464 1684 ;; ;;
1465 1685 sinix*) sinix*)
1466 1686 os=sysv4 os=sysv4
1687 vendor=`echo "$vendor" | sed -e 's|^unknown$|sni|'`
1467 1688 ;; ;;
1468 1689 tpf*) tpf*)
1469 1690 os=tpf os=tpf
 
... ... case $os in
1501 1722 os=eabi os=eabi
1502 1723 ;; ;;
1503 1724 *) *)
1504 os=elf
1725 os=
1726 obj=elf
1505 1727 ;; ;;
1506 1728 esac esac
1507 1729 ;; ;;
1730 aout* | coff* | elf* | pe*)
1731 # These are machine code file formats, not OSes
1732 obj=$os
1733 os=
1734 ;;
1508 1735 *) *)
1509 1736 # No normalization, but not necessarily accepted, that comes below. # No normalization, but not necessarily accepted, that comes below.
1510 1737 ;; ;;
 
... ... else
1523 1750 # system, and we'll never get to this point. # system, and we'll never get to this point.
1524 1751
1525 1752 kernel= kernel=
1753 obj=
1526 1754 case $cpu-$vendor in case $cpu-$vendor in
1527 1755 score-*) score-*)
1528 os=elf
1756 os=
1757 obj=elf
1529 1758 ;; ;;
1530 1759 spu-*) spu-*)
1531 os=elf
1760 os=
1761 obj=elf
1532 1762 ;; ;;
1533 1763 *-acorn) *-acorn)
1534 1764 os=riscix1.2 os=riscix1.2
 
... ... case $cpu-$vendor in
1538 1768 os=gnu os=gnu
1539 1769 ;; ;;
1540 1770 arm*-semi) arm*-semi)
1541 os=aout
1771 os=
1772 obj=aout
1542 1773 ;; ;;
1543 1774 c4x-* | tic4x-*) c4x-* | tic4x-*)
1544 os=coff
1775 os=
1776 obj=coff
1545 1777 ;; ;;
1546 1778 c8051-*) c8051-*)
1547 os=elf
1779 os=
1780 obj=elf
1548 1781 ;; ;;
1549 1782 clipper-intergraph) clipper-intergraph)
1550 1783 os=clix os=clix
1551 1784 ;; ;;
1552 1785 hexagon-*) hexagon-*)
1553 os=elf
1786 os=
1787 obj=elf
1554 1788 ;; ;;
1555 1789 tic54x-*) tic54x-*)
1556 os=coff
1790 os=
1791 obj=coff
1557 1792 ;; ;;
1558 1793 tic55x-*) tic55x-*)
1559 os=coff
1794 os=
1795 obj=coff
1560 1796 ;; ;;
1561 1797 tic6x-*) tic6x-*)
1562 os=coff
1798 os=
1799 obj=coff
1563 1800 ;; ;;
1564 1801 # This must come before the *-dec entry. # This must come before the *-dec entry.
1565 1802 pdp10-*) pdp10-*)
 
... ... case $cpu-$vendor in
1581 1818 os=sunos3 os=sunos3
1582 1819 ;; ;;
1583 1820 m68*-cisco) m68*-cisco)
1584 os=aout
1821 os=
1822 obj=aout
1585 1823 ;; ;;
1586 1824 mep-*) mep-*)
1587 os=elf
1825 os=
1826 obj=elf
1827 ;;
1828 # The -sgi and -siemens entries must be before the mips- entry
1829 # or we get the wrong os.
1830 *-sgi)
1831 os=irix
1832 ;;
1833 *-siemens)
1834 os=sysv4
1588 1835 ;; ;;
1589 1836 mips*-cisco) mips*-cisco)
1590 os=elf
1837 os=
1838 obj=elf
1591 1839 ;; ;;
1592 mips*-*)
1593 os=elf
1840 mips*-*|nanomips*-*)
1841 os=
1842 obj=elf
1594 1843 ;; ;;
1595 1844 or32-*) or32-*)
1596 os=coff
1845 os=
1846 obj=coff
1597 1847 ;; ;;
1598 *-tti) # must be before sparc entry or we get the wrong os.
1848 # This must be before the sparc-* entry or we get the wrong os.
1849 *-tti)
1599 1850 os=sysv3 os=sysv3
1600 1851 ;; ;;
1601 1852 sparc-* | *-sun) sparc-* | *-sun)
1602 1853 os=sunos4.1.1 os=sunos4.1.1
1603 1854 ;; ;;
1604 1855 pru-*) pru-*)
1605 os=elf
1856 os=
1857 obj=elf
1606 1858 ;; ;;
1607 1859 *-be) *-be)
1608 1860 os=beos os=beos
 
... ... case $cpu-$vendor in
1626 1878 os=hpux os=hpux
1627 1879 ;; ;;
1628 1880 *-hitachi) *-hitachi)
1629 os=hiux
1881 os=hiuxwe2
1630 1882 ;; ;;
1631 1883 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1632 1884 os=sysv os=sysv
 
... ... case $cpu-$vendor in
1670 1922 *-encore) *-encore)
1671 1923 os=bsd os=bsd
1672 1924 ;; ;;
1673 *-sgi)
1674 os=irix
1675 ;;
1676 *-siemens)
1677 os=sysv4
1678 ;;
1679 1925 *-masscomp) *-masscomp)
1680 1926 os=rtu os=rtu
1681 1927 ;; ;;
 
... ... case $cpu-$vendor in
1683 1929 os=uxpv os=uxpv
1684 1930 ;; ;;
1685 1931 *-rom68k) *-rom68k)
1686 os=coff
1932 os=
1933 obj=coff
1687 1934 ;; ;;
1688 1935 *-*bug) *-*bug)
1689 os=coff
1936 os=
1937 obj=coff
1690 1938 ;; ;;
1691 1939 *-apple) *-apple)
1692 1940 os=macos os=macos
 
... ... esac
1704 1952
1705 1953 fi fi
1706 1954
1707 # Now, validate our (potentially fixed-up) OS.
1955 # Now, validate our (potentially fixed-up) individual pieces (OS, OBJ).
1956
1708 1957 case $os in case $os in
1709 1958 # Sometimes we do "kernel-libc", so those need to count as OSes. # Sometimes we do "kernel-libc", so those need to count as OSes.
1710 musl* | newlib* | relibc* | uclibc*)
1959 llvm* | musl* | newlib* | relibc* | uclibc*)
1711 1960 ;; ;;
1712 1961 # Likewise for "kernel-abi" # Likewise for "kernel-abi"
1713 1962 eabi* | gnueabi*) eabi* | gnueabi*)
 
... ... case $os in
1715 1964 # VxWorks passes extra cpu info in the 4th filed. # VxWorks passes extra cpu info in the 4th filed.
1716 1965 simlinux | simwindows | spe) simlinux | simwindows | spe)
1717 1966 ;; ;;
1967 # See `case $cpu-$os` validation below
1968 ghcjs)
1969 ;;
1718 1970 # Now accept the basic system types. # Now accept the basic system types.
1719 # The portable systems comes first.
1720 1971 # Each alternative MUST end in a * to match a version number. # Each alternative MUST end in a * to match a version number.
1721 gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
1722 | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
1723 | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
1724 | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
1725 | hiux* | abug | nacl* | netware* | windows* \
1726 | os9* | macos* | osx* | ios* \
1727 | mpw* | magic* | mmixware* | mon960* | lnews* \
1728 | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
1729 | aos* | aros* | cloudabi* | sortix* | twizzler* \
1730 | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
1731 | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
1732 | mirbsd* | netbsd* | dicos* | openedition* | ose* \
1733 | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \
1734 | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \
1735 | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
1736 | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
1737 | udi* | lites* | ieee* | go32* | aux* | hcos* \
1738 | chorusrdb* | cegcc* | glidix* | serenity* \
1739 | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
1740 | midipix* | mingw32* | mingw64* | mint* \
1741 | uxpv* | beos* | mpeix* | udk* | moxiebox* \
1742 | interix* | uwin* | mks* | rhapsody* | darwin* \
1743 | openstep* | oskit* | conix* | pw32* | nonstopux* \
1744 | storm-chaos* | tops10* | tenex* | tops20* | its* \
1745 | os2* | vos* | palmos* | uclinux* | nucleus* | morphos* \
1746 | scout* | superux* | sysv* | rtmk* | tpf* | windiss* \
1747 | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
1748 | skyos* | haiku* | rdos* | toppers* | drops* | es* \
1749 | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
1750 | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
1751 | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
1972 abug \
1973 | aix* \
1974 | amdhsa* \
1975 | amigados* \
1976 | amigaos* \
1977 | android* \
1978 | aof* \
1979 | aos* \
1980 | aros* \
1981 | atheos* \
1982 | auroraux* \
1983 | aux* \
1984 | banan_os* \
1985 | beos* \
1986 | bitrig* \
1987 | bme* \
1988 | bosx* \
1989 | bsd* \
1990 | cegcc* \
1991 | chorusos* \
1992 | chorusrdb* \
1993 | clix* \
1994 | cloudabi* \
1995 | cnk* \
1996 | conix* \
1997 | cos* \
1998 | cxux* \
1999 | cygwin* \
2000 | darwin* \
2001 | dgux* \
2002 | dicos* \
2003 | dnix* \
2004 | domain* \
2005 | dragonfly* \
2006 | drops* \
2007 | ebmon* \
2008 | ecoff* \
2009 | ekkobsd* \
2010 | emscripten* \
2011 | emx* \
2012 | es* \
2013 | fiwix* \
2014 | freebsd* \
2015 | fuchsia* \
2016 | genix* \
2017 | genode* \
2018 | glidix* \
2019 | gnu* \
2020 | go32* \
2021 | haiku* \
2022 | hcos* \
2023 | hiux* \
2024 | hms* \
2025 | hpux* \
2026 | ieee* \
2027 | interix* \
2028 | ios* \
2029 | iris* \
2030 | irix* \
2031 | isc* \
2032 | its* \
2033 | l4re* \
2034 | libertybsd* \
2035 | lites* \
2036 | lnews* \
2037 | luna* \
2038 | lynxos* \
2039 | mach* \
2040 | macos* \
2041 | magic* \
2042 | mbr* \
2043 | midipix* \
2044 | midnightbsd* \
2045 | mingw32* \
2046 | mingw64* \
2047 | minix* \
2048 | mint* \
2049 | mirbsd* \
2050 | mks* \
2051 | mlibc* \
2052 | mmixware* \
2053 | mon960* \
2054 | morphos* \
2055 | moss* \
2056 | moxiebox* \
2057 | mpeix* \
2058 | mpw* \
2059 | msdos* \
2060 | msys* \
2061 | mvs* \
2062 | nacl* \
2063 | netbsd* \
2064 | netware* \
2065 | newsos* \
2066 | nextstep* \
2067 | nindy* \
2068 | nonstopux* \
2069 | nova* \
2070 | nsk* \
2071 | nucleus* \
2072 | nx6 \
2073 | nx7 \
2074 | oabi* \
2075 | ohos* \
2076 | onefs* \
2077 | openbsd* \
2078 | openedition* \
2079 | openstep* \
2080 | os108* \
2081 | os2* \
2082 | os400* \
2083 | os68k* \
2084 | os9* \
2085 | ose* \
2086 | osf* \
2087 | oskit* \
2088 | osx* \
2089 | palmos* \
2090 | phoenix* \
2091 | plan9* \
2092 | powermax* \
2093 | powerunix* \
2094 | proelf* \
2095 | psos* \
2096 | psp* \
2097 | ptx* \
2098 | pw32* \
2099 | qnx* \
2100 | rdos* \
2101 | redox* \
2102 | rhapsody* \
2103 | riscix* \
2104 | riscos* \
2105 | rtems* \
2106 | rtmk* \
2107 | rtu* \
2108 | scout* \
2109 | secbsd* \
2110 | sei* \
2111 | serenity* \
2112 | sim* \
2113 | skyos* \
2114 | solaris* \
2115 | solidbsd* \
2116 | sortix* \
2117 | storm-chaos* \
2118 | sunos \
2119 | sunos[34]* \
2120 | superux* \
2121 | syllable* \
2122 | sym* \
2123 | sysv* \
2124 | tenex* \
2125 | tirtos* \
2126 | tock* \
2127 | toppers* \
2128 | tops10* \
2129 | tops20* \
2130 | tpf* \
2131 | tvos* \
2132 | twizzler* \
2133 | uclinux* \
2134 | udi* \
2135 | udk* \
2136 | ultrix* \
2137 | unicos* \
2138 | uniplus* \
2139 | unleashed* \
2140 | unos* \
2141 | uwin* \
2142 | uxpv* \
2143 | v88r* \
2144 |*vms* \
2145 | vos* \
2146 | vsta* \
2147 | vxsim* \
2148 | vxworks* \
2149 | wasi* \
2150 | watchos* \
2151 | wince* \
2152 | windiss* \
2153 | windows* \
2154 | winnt* \
2155 | xenix* \
2156 | xray* \
2157 | zephyr* \
2158 | zvmoe* )
1752 2159 ;; ;;
1753 2160 # This one is extra strict with allowed versions # This one is extra strict with allowed versions
1754 2161 sco3.2v2 | sco3.2v[4-9]* | sco5v6*) sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
1755 2162 # Don't forget version if it is 3.2v4 or newer. # Don't forget version if it is 3.2v4 or newer.
1756 2163 ;; ;;
2164 # This refers to builds using the UEFI calling convention
2165 # (which depends on the architecture) and PE file format.
2166 # Note that this is both a different calling convention and
2167 # different file format than that of GNU-EFI
2168 # (x86_64-w64-mingw32).
2169 uefi)
2170 ;;
1757 2171 none) none)
1758 2172 ;; ;;
2173 kernel* | msvc* )
2174 # Restricted further below
2175 ;;
2176 '')
2177 if test x"$obj" = x
2178 then
2179 echo "Invalid configuration '$1': Blank OS only allowed with explicit machine code file format" 1>&2
2180 fi
2181 ;;
1759 2182 *) *)
1760 echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2
2183 echo "Invalid configuration '$1': OS '$os' not recognized" 1>&2
2184 exit 1
2185 ;;
2186 esac
2187
2188 case $obj in
2189 aout* | coff* | elf* | pe*)
2190 ;;
2191 '')
2192 # empty is fine
2193 ;;
2194 *)
2195 echo "Invalid configuration '$1': Machine code format '$obj' not recognized" 1>&2
2196 exit 1
2197 ;;
2198 esac
2199
2200 # Here we handle the constraint that a (synthetic) cpu and os are
2201 # valid only in combination with each other and nowhere else.
2202 case $cpu-$os in
2203 # The "javascript-unknown-ghcjs" triple is used by GHC; we
2204 # accept it here in order to tolerate that, but reject any
2205 # variations.
2206 javascript-ghcjs)
2207 ;;
2208 javascript-* | *-ghcjs)
2209 echo "Invalid configuration '$1': cpu '$cpu' is not valid with os '$os$obj'" 1>&2
1761 2210 exit 1 exit 1
1762 2211 ;; ;;
1763 2212 esac esac
1764 2213
1765 2214 # As a final step for OS-related things, validate the OS-kernel combination # As a final step for OS-related things, validate the OS-kernel combination
1766 2215 # (given a valid OS), if there is a kernel. # (given a valid OS), if there is a kernel.
1767 case $kernel-$os in
1768 linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
1769 | linux-musl* | linux-relibc* | linux-uclibc* )
2216 case $kernel-$os-$obj in
2217 linux-gnu*- | linux-android*- | linux-dietlibc*- | linux-llvm*- \
2218 | linux-mlibc*- | linux-musl*- | linux-newlib*- \
2219 | linux-relibc*- | linux-uclibc*- | linux-ohos*- )
2220 ;;
2221 uclinux-uclibc*- | uclinux-gnu*- )
1770 2222 ;; ;;
1771 uclinux-uclibc* )
2223 ironclad-mlibc*-)
1772 2224 ;; ;;
1773 -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
2225 managarm-mlibc*- | managarm-kernel*- )
2226 ;;
2227 windows*-msvc*-)
2228 ;;
2229 -dietlibc*- | -llvm*- | -mlibc*- | -musl*- | -newlib*- | -relibc*- \
2230 | -uclibc*- )
1774 2231 # These are just libc implementations, not actual OSes, and thus # These are just libc implementations, not actual OSes, and thus
1775 2232 # require a kernel. # require a kernel.
1776 echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
2233 echo "Invalid configuration '$1': libc '$os' needs explicit kernel." 1>&2
1777 2234 exit 1 exit 1
1778 2235 ;; ;;
1779 kfreebsd*-gnu* | kopensolaris*-gnu*)
2236 -kernel*- )
2237 echo "Invalid configuration '$1': '$os' needs explicit kernel." 1>&2
2238 exit 1
1780 2239 ;; ;;
1781 vxworks-simlinux | vxworks-simwindows | vxworks-spe)
2240 *-kernel*- )
2241 echo "Invalid configuration '$1': '$kernel' does not support '$os'." 1>&2
2242 exit 1
1782 2243 ;; ;;
1783 nto-qnx*)
2244 *-msvc*- )
2245 echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2
2246 exit 1
1784 2247 ;; ;;
1785 os2-emx)
2248 kfreebsd*-gnu*- | knetbsd*-gnu*- | netbsd*-gnu*- | kopensolaris*-gnu*-)
2249 ;;
2250 vxworks-simlinux- | vxworks-simwindows- | vxworks-spe-)
2251 ;;
2252 nto-qnx*-)
2253 ;;
2254 os2-emx-)
1786 2255 ;; ;;
1787 *-eabi* | *-gnueabi*)
2256 rtmk-nova-)
1788 2257 ;; ;;
1789 -*)
2258 *-eabi*- | *-gnueabi*-)
2259 ;;
2260 ios*-simulator- | tvos*-simulator- | watchos*-simulator- )
2261 ;;
2262 none--*)
2263 # None (no kernel, i.e. freestanding / bare metal),
2264 # can be paired with an machine code file format
2265 ;;
2266 -*-)
1790 2267 # Blank kernel with real OS is always fine. # Blank kernel with real OS is always fine.
1791 2268 ;; ;;
1792 *-*)
1793 echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2
2269 --*)
2270 # Blank kernel and OS with real machine code file format is always fine.
2271 ;;
2272 *-*-*)
2273 echo "Invalid configuration '$1': Kernel '$kernel' not known to work with OS '$os'." 1>&2
1794 2274 exit 1 exit 1
1795 2275 ;; ;;
1796 2276 esac esac
 
... ... case $vendor in
1803 2283 *-riscix*) *-riscix*)
1804 2284 vendor=acorn vendor=acorn
1805 2285 ;; ;;
1806 *-sunos*)
2286 *-sunos* | *-solaris*)
1807 2287 vendor=sun vendor=sun
1808 2288 ;; ;;
1809 2289 *-cnk* | *-aix*) *-cnk* | *-aix*)
 
... ... case $vendor in
1873 2353 ;; ;;
1874 2354 esac esac
1875 2355
1876 echo "$cpu-$vendor-${kernel:+$kernel-}$os"
2356 echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}"
1877 2357 exit exit
1878 2358
1879 2359 # Local variables: # Local variables:
1880 # eval: (add-hook 'before-save-hook 'time-stamp)
2360 # eval: (add-hook 'before-save-hook 'time-stamp nil t)
1881 2361 # time-stamp-start: "timestamp='" # time-stamp-start: "timestamp='"
1882 # time-stamp-format: "%:y-%02m-%02d"
2362 # time-stamp-format: "%Y-%02m-%02d"
1883 2363 # time-stamp-end: "'" # time-stamp-end: "'"
1884 2364 # End: # End:
File build-aux/depcomp changed (mode: 100755) (index 715e34311..9f6725b9e)
1 1 #! /bin/sh #! /bin/sh
2 2 # depcomp - compile a program generating dependencies as side-effects # depcomp - compile a program generating dependencies as side-effects
3 3
4 scriptversion=2018-03-07.03; # UTC
4 scriptversion=2025-06-18.21; # UTC
5 5
6 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
6 # Copyright (C) 1999-2025 Free Software Foundation, Inc.
7 7
8 8 # This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
9 9 # it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
 
... ... Environment variables:
47 47 libtool Whether libtool is used (yes/no). libtool Whether libtool is used (yes/no).
48 48
49 49 Report bugs to <bug-automake@gnu.org>. Report bugs to <bug-automake@gnu.org>.
50 GNU Automake home page: <https://www.gnu.org/software/automake/>.
51 General help using GNU software: <https://www.gnu.org/gethelp/>.
50 52 EOF EOF
51 53 exit $? exit $?
52 54 ;; ;;
53 55 -v | --v*) -v | --v*)
54 echo "depcomp $scriptversion"
56 echo "depcomp (GNU Automake) $scriptversion"
55 57 exit $? exit $?
56 58 ;; ;;
57 59 esac esac
 
... ... nl='
113 115 # These definitions help. # These definitions help.
114 116 upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
115 117 lower=abcdefghijklmnopqrstuvwxyz lower=abcdefghijklmnopqrstuvwxyz
116 digits=0123456789
117 118 alpha=${upper}${lower} alpha=${upper}${lower}
118 119
119 120 if test -z "$depmode" || test -z "$source" || test -z "$object"; then if test -z "$depmode" || test -z "$source" || test -z "$object"; then
 
... ... tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
128 129
129 130 rm -f "$tmpdepfile" rm -f "$tmpdepfile"
130 131
131 # Avoid interferences from the environment.
132 # Avoid interference from the environment.
132 133 gccflag= dashmflag= gccflag= dashmflag=
133 134
134 135 # Some modes work just like other modes, but use different flags. We # Some modes work just like other modes, but use different flags. We
 
... ... gcc3)
198 199 ;; ;;
199 200
200 201 gcc) gcc)
201 ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
202 ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
202 ## Note that this doesn't just cater to obsolete pre-3.x GCC compilers.
203 ## but also to in-use compilers like IBM xlc/xlC and the HP C compiler.
203 204 ## (see the conditional assignment to $gccflag above). ## (see the conditional assignment to $gccflag above).
204 205 ## There are various ways to get dependency output from gcc. Here's ## There are various ways to get dependency output from gcc. Here's
205 206 ## why we pick this rather obscure method: ## why we pick this rather obscure method:
 
... ... exit 0
783 784 # Local Variables: # Local Variables:
784 785 # mode: shell-script # mode: shell-script
785 786 # sh-indentation: 2 # sh-indentation: 2
786 # eval: (add-hook 'before-save-hook 'time-stamp)
787 # eval: (add-hook 'before-save-hook 'time-stamp nil t)
787 788 # time-stamp-start: "scriptversion=" # time-stamp-start: "scriptversion="
788 # time-stamp-format: "%:y-%02m-%02d.%02H"
789 # time-stamp-format: "%Y-%02m-%02d.%02H"
789 790 # time-stamp-time-zone: "UTC0" # time-stamp-time-zone: "UTC0"
790 791 # time-stamp-end: "; # UTC" # time-stamp-end: "; # UTC"
791 792 # End: # End:
File build-aux/install-sh changed (mode: 100755) (index ec298b537..1d8d96696)
1 1 #!/bin/sh #!/bin/sh
2 2 # install - install a program, script, or datafile # install - install a program, script, or datafile
3 3
4 scriptversion=2020-11-14.01; # UTC
4 scriptversion=2025-06-18.21; # UTC
5 5
6 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was # This originates from X11R5 (mit/util/scripts/install.sh), which was
7 7 # later released in X11R6 (xc/config/util/install.sh) with the # later released in X11R6 (xc/config/util/install.sh) with the
 
... ... it's up to you to specify -f if you want it.
124 124
125 125 If -S is not specified, no backups are attempted. If -S is not specified, no backups are attempted.
126 126
127 Email bug reports to bug-automake@gnu.org.
128 Automake home page: https://www.gnu.org/software/automake/
129 "
127 Report bugs to <bug-automake@gnu.org>.
128 GNU Automake home page: <https://www.gnu.org/software/automake/>.
129 General help using GNU software: <https://www.gnu.org/gethelp/>."
130 130
131 131 while test $# -ne 0; do while test $# -ne 0; do
132 132 case $1 in case $1 in
 
... ... while test $# -ne 0; do
170 170
171 171 -T) is_target_a_directory=never;; -T) is_target_a_directory=never;;
172 172
173 --version) echo "$0 $scriptversion"; exit $?;;
173 --version) echo "$0 (GNU Automake) $scriptversion"; exit $?;;
174 174
175 175 --) shift --) shift
176 176 break;; break;;
 
... ... do
345 345 ' 0 ' 0
346 346
347 347 # Because "mkdir -p" follows existing symlinks and we likely work # Because "mkdir -p" follows existing symlinks and we likely work
348 # directly in world-writeable /tmp, make sure that the '$tmpdir'
348 # directly in world-writable /tmp, make sure that the '$tmpdir'
349 349 # directory is successfully created first before we actually test # directory is successfully created first before we actually test
350 350 # 'mkdir -p'. # 'mkdir -p'.
351 351 if (umask $mkdir_umask && if (umask $mkdir_umask &&
 
... ... do
353 353 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
354 354 then then
355 355 if test -z "$dir_arg" || { if test -z "$dir_arg" || {
356 # Check for POSIX incompatibilities with -m.
356 # Check for POSIX incompatibility with -m.
357 357 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
358 358 # other-writable bit of parent directory when it shouldn't. # other-writable bit of parent directory when it shouldn't.
359 359 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
 
... ... do
533 533 done done
534 534
535 535 # Local variables: # Local variables:
536 # eval: (add-hook 'before-save-hook 'time-stamp)
536 # eval: (add-hook 'before-save-hook 'time-stamp nil t)
537 537 # time-stamp-start: "scriptversion=" # time-stamp-start: "scriptversion="
538 # time-stamp-format: "%:y-%02m-%02d.%02H"
538 # time-stamp-format: "%Y-%02m-%02d.%02H"
539 539 # time-stamp-time-zone: "UTC0" # time-stamp-time-zone: "UTC0"
540 540 # time-stamp-end: "; # UTC" # time-stamp-end: "; # UTC"
541 541 # End: # End:
File build-aux/missing changed (mode: 100755) (index 1fe1611f1..5e450bab3)
1 1 #! /bin/sh #! /bin/sh
2 # Common wrapper for a few potentially missing GNU programs.
2 # Common wrapper for a few potentially missing GNU and other programs.
3 3
4 scriptversion=2018-03-07.03; # UTC
4 scriptversion=2025-06-18.21; # UTC
5 5
6 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
6 # shellcheck disable=SC2006,SC2268 # we must support pre-POSIX shells
7
8 # Copyright (C) 1996-2025 Free Software Foundation, Inc.
7 9 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
8 10
9 11 # This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
 
... ... Options:
54 56 -v, --version output version information and exit -v, --version output version information and exit
55 57
56 58 Supported PROGRAM values: Supported PROGRAM values:
57 aclocal autoconf autoheader autom4te automake makeinfo
58 bison yacc flex lex help2man
59 aclocal autoconf autogen autoheader autom4te automake autoreconf
60 bison flex help2man lex makeinfo perl yacc
59 61
60 62 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
61 63 'g' are ignored when checking the name. 'g' are ignored when checking the name.
62 64
63 Send bug reports to <bug-automake@gnu.org>."
65 Report bugs to <bug-automake@gnu.org>.
66 GNU Automake home page: <https://www.gnu.org/software/automake/>.
67 General help using GNU software: <https://www.gnu.org/gethelp/>."
64 68 exit $? exit $?
65 69 ;; ;;
66 70
67 71 -v|--v|--ve|--ver|--vers|--versi|--versio|--version) -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
68 echo "missing $scriptversion (GNU Automake)"
72 echo "missing (GNU Automake) $scriptversion"
69 73 exit $? exit $?
70 74 ;; ;;
71 75
 
... ... gnu_software_URL=https://www.gnu.org/software
108 112 program_details () program_details ()
109 113 { {
110 114 case $1 in case $1 in
111 aclocal|automake)
115 aclocal|automake|autoreconf)
112 116 echo "The '$1' program is part of the GNU Automake package:" echo "The '$1' program is part of the GNU Automake package:"
113 117 echo "<$gnu_software_URL/automake>" echo "<$gnu_software_URL/automake>"
114 118 echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
 
... ... program_details ()
123 127 echo "<$gnu_software_URL/m4/>" echo "<$gnu_software_URL/m4/>"
124 128 echo "<$perl_URL>" echo "<$perl_URL>"
125 129 ;; ;;
130 *)
131 :
132 ;;
126 133 esac esac
127 134 } }
128 135
 
... ... give_advice ()
137 144 printf '%s\n' "'$1' is $msg." printf '%s\n' "'$1' is $msg."
138 145
139 146 configure_deps="'configure.ac' or m4 files included by 'configure.ac'" configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
147 autoheader_deps="'acconfig.h'"
148 automake_deps="'Makefile.am'"
149 aclocal_deps="'acinclude.m4'"
140 150 case $normalized_program in case $normalized_program in
151 aclocal*)
152 echo "You should only need it if you modified $aclocal_deps or"
153 echo "$configure_deps."
154 ;;
141 155 autoconf*) autoconf*)
142 echo "You should only need it if you modified 'configure.ac',"
143 echo "or m4 files included by it."
144 program_details 'autoconf'
156 echo "You should only need it if you modified $configure_deps."
157 ;;
158 autogen*)
159 echo "You should only need it if you modified a '.def' or '.tpl' file."
160 echo "You may want to install the GNU AutoGen package:"
161 echo "<$gnu_software_URL/autogen/>"
145 162 ;; ;;
146 163 autoheader*) autoheader*)
147 echo "You should only need it if you modified 'acconfig.h' or"
164 echo "You should only need it if you modified $autoheader_deps or"
148 165 echo "$configure_deps." echo "$configure_deps."
149 program_details 'autoheader'
150 166 ;; ;;
151 167 automake*) automake*)
152 echo "You should only need it if you modified 'Makefile.am' or"
153 echo "$configure_deps."
154 program_details 'automake'
155 ;;
156 aclocal*)
157 echo "You should only need it if you modified 'acinclude.m4' or"
168 echo "You should only need it if you modified $automake_deps or"
158 169 echo "$configure_deps." echo "$configure_deps."
159 program_details 'aclocal'
160 170 ;; ;;
161 autom4te*)
171 autom4te*)
162 172 echo "You might have modified some maintainer files that require" echo "You might have modified some maintainer files that require"
163 173 echo "the 'autom4te' program to be rebuilt." echo "the 'autom4te' program to be rebuilt."
164 program_details 'autom4te'
174 ;;
175 autoreconf*)
176 echo "You should only need it if you modified $aclocal_deps or"
177 echo "$automake_deps or $autoheader_deps or $automake_deps or"
178 echo "$configure_deps."
165 179 ;; ;;
166 180 bison*|yacc*) bison*|yacc*)
167 181 echo "You should only need it if you modified a '.y' file." echo "You should only need it if you modified a '.y' file."
168 182 echo "You may want to install the GNU Bison package:" echo "You may want to install the GNU Bison package:"
169 183 echo "<$gnu_software_URL/bison/>" echo "<$gnu_software_URL/bison/>"
170 184 ;; ;;
171 lex*|flex*)
172 echo "You should only need it if you modified a '.l' file."
173 echo "You may want to install the Fast Lexical Analyzer package:"
174 echo "<$flex_URL>"
175 ;;
176 185 help2man*) help2man*)
177 186 echo "You should only need it if you modified a dependency" \ echo "You should only need it if you modified a dependency" \
178 187 "of a man page." "of a man page."
179 188 echo "You may want to install the GNU Help2man package:" echo "You may want to install the GNU Help2man package:"
180 189 echo "<$gnu_software_URL/help2man/>" echo "<$gnu_software_URL/help2man/>"
181 190 ;; ;;
191 lex*|flex*)
192 echo "You should only need it if you modified a '.l' file."
193 echo "You may want to install the Fast Lexical Analyzer package:"
194 echo "<$flex_URL>"
195 ;;
182 196 makeinfo*) makeinfo*)
183 197 echo "You should only need it if you modified a '.texi' file, or" echo "You should only need it if you modified a '.texi' file, or"
184 198 echo "any other file indirectly affecting the aspect of the manual." echo "any other file indirectly affecting the aspect of the manual."
 
... ... give_advice ()
189 203 echo "want to install GNU make:" echo "want to install GNU make:"
190 204 echo "<$gnu_software_URL/make/>" echo "<$gnu_software_URL/make/>"
191 205 ;; ;;
206 perl*)
207 echo "You should only need it to run GNU Autoconf, GNU Automake, "
208 echo " assorted other tools, or if you modified a Perl source file."
209 echo "You may want to install the Perl 5 language interpreter:"
210 echo "<$perl_URL>"
211 ;;
192 212 *) *)
193 213 echo "You might have modified some files without having the proper" echo "You might have modified some files without having the proper"
194 214 echo "tools for further handling them. Check the 'README' file, it" echo "tools for further handling them. Check the 'README' file, it"
 
... ... give_advice ()
197 217 echo "case some other package contains this missing '$1' program." echo "case some other package contains this missing '$1' program."
198 218 ;; ;;
199 219 esac esac
220 program_details "$normalized_program"
200 221 } }
201 222
202 223 give_advice "$1" | sed -e '1s/^/WARNING: /' \ give_advice "$1" | sed -e '1s/^/WARNING: /' \
 
... ... give_advice "$1" | sed -e '1s/^/WARNING: /' \
207 228 exit $st exit $st
208 229
209 230 # Local variables: # Local variables:
210 # eval: (add-hook 'before-save-hook 'time-stamp)
231 # eval: (add-hook 'before-save-hook 'time-stamp nil t)
211 232 # time-stamp-start: "scriptversion=" # time-stamp-start: "scriptversion="
212 # time-stamp-format: "%:y-%02m-%02d.%02H"
233 # time-stamp-format: "%Y-%02m-%02d.%02H"
213 234 # time-stamp-time-zone: "UTC0" # time-stamp-time-zone: "UTC0"
214 235 # time-stamp-end: "; # UTC" # time-stamp-end: "; # UTC"
215 236 # End: # End:
File build-aux/test-driver changed (mode: 100755) (index be73b80ad..d81fba79c)
1 1 #! /bin/sh #! /bin/sh
2 2 # test-driver - basic testsuite driver script. # test-driver - basic testsuite driver script.
3 3
4 scriptversion=2018-03-07.03; # UTC
4 scriptversion=2025-06-18.21; # UTC
5 5
6 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
6 # Copyright (C) 2011-2025 Free Software Foundation, Inc.
7 7 # #
8 8 # This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
9 9 # it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
 
... ... print_usage ()
44 44 Usage: Usage:
45 45 test-driver --test-name NAME --log-file PATH --trs-file PATH test-driver --test-name NAME --log-file PATH --trs-file PATH
46 46 [--expect-failure {yes|no}] [--color-tests {yes|no}] [--expect-failure {yes|no}] [--color-tests {yes|no}]
47 [--collect-skipped-logs {yes|no}]
47 48 [--enable-hard-errors {yes|no}] [--] [--enable-hard-errors {yes|no}] [--]
48 49 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS] TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
49 50
50 51 The '--test-name', '--log-file' and '--trs-file' options are mandatory. The '--test-name', '--log-file' and '--trs-file' options are mandatory.
51 52 See the GNU Automake documentation for information. See the GNU Automake documentation for information.
53
54 Report bugs to <bug-automake@gnu.org>.
55 GNU Automake home page: <https://www.gnu.org/software/automake/>.
56 General help using GNU software: <https://www.gnu.org/gethelp/>.
52 57 END END
53 58 } }
54 59
 
... ... log_file= # Where to save the output of the test script.
57 62 trs_file= # Where to save the metadata of the test run. trs_file= # Where to save the metadata of the test run.
58 63 expect_failure=no expect_failure=no
59 64 color_tests=no color_tests=no
65 collect_skipped_logs=yes
60 66 enable_hard_errors=yes enable_hard_errors=yes
61 67 while test $# -gt 0; do while test $# -gt 0; do
62 68 case $1 in case $1 in
63 69 --help) print_usage; exit $?;; --help) print_usage; exit $?;;
64 --version) echo "test-driver $scriptversion"; exit $?;;
70 --version) echo "test-driver (GNU Automake) $scriptversion"; exit $?;;
65 71 --test-name) test_name=$2; shift;; --test-name) test_name=$2; shift;;
66 72 --log-file) log_file=$2; shift;; --log-file) log_file=$2; shift;;
67 73 --trs-file) trs_file=$2; shift;; --trs-file) trs_file=$2; shift;;
68 74 --color-tests) color_tests=$2; shift;; --color-tests) color_tests=$2; shift;;
75 --collect-skipped-logs) collect_skipped_logs=$2; shift;;
69 76 --expect-failure) expect_failure=$2; shift;; --expect-failure) expect_failure=$2; shift;;
70 77 --enable-hard-errors) enable_hard_errors=$2; shift;; --enable-hard-errors) enable_hard_errors=$2; shift;;
71 78 --) shift; break;; --) shift; break;;
 
... ... fi
121 128 case $tweaked_estatus:$expect_failure in case $tweaked_estatus:$expect_failure in
122 129 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
123 130 0:*) col=$grn res=PASS recheck=no gcopy=no;; 0:*) col=$grn res=PASS recheck=no gcopy=no;;
124 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
131 77:*) col=$blu res=SKIP recheck=no gcopy=$collect_skipped_logs;;
125 132 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
126 133 *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
127 134 *:*) col=$red res=FAIL recheck=yes gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
 
... ... echo ":copy-in-global-log: $gcopy" >> $trs_file
145 152 # Local Variables: # Local Variables:
146 153 # mode: shell-script # mode: shell-script
147 154 # sh-indentation: 2 # sh-indentation: 2
148 # eval: (add-hook 'before-save-hook 'time-stamp)
155 # eval: (add-hook 'before-save-hook 'time-stamp nil t)
149 156 # time-stamp-start: "scriptversion=" # time-stamp-start: "scriptversion="
150 # time-stamp-format: "%:y-%02m-%02d.%02H"
157 # time-stamp-format: "%Y-%02m-%02d.%02H"
151 158 # time-stamp-time-zone: "UTC0" # time-stamp-time-zone: "UTC0"
152 159 # time-stamp-end: "; # UTC" # time-stamp-end: "; # UTC"
153 160 # End: # End:
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master