Urs Janßen
d495b0fc6b
* config.sub: Recognize m68k-next-openstep* as openstep*, not
...
nextstep3.
* testsuite/config-sub.data: Add test cases.
Signed-off-by: Ben Elliston <bje@gnu.org>
2019-03-29 08:31:13 +11:00
Ben Elliston
f6872aecd5
Revert " * Makefile (check-guess): Don't remove uname here."
...
This reverts commit f34dacb3462ca1b390e70b090dbeafbdca7ce28a.
2019-03-23 22:09:04 +11:00
Ben Elliston
f34dacb346
* Makefile (check-guess): Don't remove uname here.
...
* testsuite/config-guess.sh (run_config_guess): Remove dummy uname
script if the test passes (if not, the script is left behind for
inspection).
2019-03-23 22:07:56 +11:00
Ben Elliston
8999a781ce
* testsuite/config-sub.sh (run_one_config_sub): New.
...
(run_one_config_sub_idempotent): Likewise.
(run_config_sub): Parallelise test cases.
(run_config_sub_idempotent): Likewise.
2019-03-23 16:59:09 +11:00
YunQiang Su
fe616913d7
* config.guess (mips:Linux:*:*): Detect ISA R6.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2019-03-08 13:12:21 +11:00
Urs Janßen
57c365fdb4
* config.guess (m68k-sony-newsos, mips-dec-ultrix3): Restore C
...
program that detects these systems.
Signed-off-by: Ben Elliston <bje@gnu.org>
2019-03-04 09:55:18 +11:00
Urs Janßen
6bf486266c
* config.guess (i*86:*:5:[678]*): Fix Unixware output.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2019-02-19 16:07:32 +11:00
Ben Elliston
286a38db91
This change silences a false positive from Shellcheck:
...
"Redirecting to/from command name instead of file. Did you want
pipes/xargs (or quote to ignore)? [SC2238]"
* testsuite/config-guess.sh (run_config_guess): For clarity, write
uname replacement to './uname', not 'uname'.
2019-01-20 21:03:48 +11:00
Ben Elliston
2221f7d58e
Revert:
...
2019-01-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config.guess (sun4*:SunOS:5.*:*): Return sparcv9-sun-solaris2.*
with 64-bit compiler.
(tadpole*:SunOS:5.*:*): Likewise.
2019-01-15 10:26:10 +11:00
Ben Elliston
b0cc4c6f78
* config.sub (shl): Recognise.
...
* testsuite/config-sub.data: Add a test case.
2019-01-05 00:19:05 +11:00
Ben Elliston
da03f82a82
* config.sub: Move v70, w65 and others into sort order.
2019-01-05 00:18:03 +11:00
Ben Elliston
210e50d643
* config.sub (mips64eb): Recognise.
...
* testsuite/config-sub.data: Add a test case for mips64eb.
2019-01-04 17:21:13 +11:00
Ben Elliston
c9fa258d05
Fix space before tab.
2019-01-04 06:38:07 +11:00
Ben Elliston
42ddb154fe
* testsuite/config-guess.data: Add more test cases.
2019-01-03 15:11:46 +11:00
Ben Elliston
a2e10dfcf0
Disable Shellcheck warning SC2162 ("read without -r with mangle
...
backslashes") in two places. We can't easily resolve these.
2019-01-03 12:02:57 +11:00
Ben Elliston
5fe51ffd1b
* config.guess (sun4*:SunOS:5.*:*): Return sparcv9-sun-solaris2.*
...
with 64-bit compiler.
(tadpole*:SunOS:5.*:*): Likewise.
2019-01-03 11:59:32 +11:00
Ben Elliston
d49c7de1e8
* testsuite/config-guess.data: Add a test for ARM Linux.
2019-01-03 11:21:21 +11:00
Ben Elliston
a58cd1856a
* testsuite/config-guess.data: Add new tests for Solaris on i386
...
and SPARC machines.
2019-01-03 11:13:53 +11:00
Ben Elliston
d0452dbb43
* testsuite/config-guess.sh (run_config_guess): Set CC_FOR_BUILD
...
to no_compiler_found so that we don't erroneously use the compiler
of the host running the testsuite.
* testsuite/config-guess.data: Adjust ARM FreeBSD expected output.
2019-01-03 11:09:27 +11:00
Ben Elliston
c701dfb820
* config.guess: Update copyright years.
...
* config.sub: Likewise.
* doc/config.guess.1: Regenerate.
* doc/config.sub.1: Likewise.
2019-01-01 08:15:34 +11:00
Keno Fischer
b3914f8d55
* config.sub (*-emscripten): Recognise.
...
* testsute/config-sub.data: Add test cases.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-12-31 14:18:43 +11:00
Ben Elliston
9e514cc932
Revert 2018-07-18 change:
...
From Apostolos Syropoulos <asyropoulos@gmail.com>:
* config.guess (i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*): Use the
isainfo(1) command to guess what kind of system we have. Running
isainfo -b returns either "32" or "64".
2018-12-21 12:22:29 +11:00
Ben Elliston
9764df548d
Revert 2018-05-05 change.
...
* config.sub: Don't pass the -r option to 'read'. Solaris 10 sh
does not support -r.
2018-12-16 22:42:25 +11:00
Ben Elliston
c262b492d5
* config.guess: No need to explicitly save $? in the EXIT trap
...
handler. This allows the same trap handler to be used as for other
common signals.
2018-12-07 08:09:40 +11:00
Ben Elliston
058639be22
Bump timestamps.
2018-11-28 20:38:51 +11:00
Lauri Tirkkonen
dbd9d383bd
* config.guess (*:Unleashed:*:*): New.
...
* config.sub (unleashed*): New.
* testsuite/config-sub.data: Add a test case.
* testsuite/config-guess.data: Likewise.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-11-26 22:04:32 +11:00
Andrew Stubbs
7e97ab3987
* config.sub (amdgnu-amdhsa): Recognise.
...
* testsuite/config-sub.data: Test amdgcn-amdhsa.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-11-20 09:18:57 +11:00
Ben Elliston
2fa97a8a0e
* config.guess (amd64:CYGWIN*:*:*, x86_64:CYGWIN*:*:*): Set
...
manufacturer to 'pc'.
* testsuite/config-guess.data: Update test cases.
2018-10-26 11:21:25 +11:00
Peter Kokot
653fbad91c
* config.sub: Direct diagnostic output to standard error.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-10-20 20:34:28 +11:00
Ben Elliston
96a919bb3a
Replace final http URL with https. From Daniel Kahn Gillmor.
2018-10-19 10:34:35 +11:00
Urs Janßen
1c9a125dd0
* config.sub: Fix comment typos.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-10-17 10:38:21 +11:00
Mikaël Urankar
59e2ce0e6b
* config.guess (arm:FreeBSD:*:*): Match on 'arm' not 'arm*'.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-29 20:40:37 +10:00
Ben Elliston
ceeb0d9e0f
Bump timestamp.
2018-08-29 14:41:46 +10:00
John Ericson
d300aa0a31
* config.sub: Parse basic_machine into cpu and vendor. This adds
...
more lines, but makes a bunch of code simpler and easier to read.
sed(1) is used a lot less, for example.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-28 10:06:03 +10:00
John Ericson
a6387dca6b
* config.sub: More deduplication and organize more basic machines.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-28 10:04:02 +10:00
John Ericson
fc14426403
* config.sub: Deduplicate and organize more basic machines.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-28 09:59:08 +10:00
John Ericson
5948bb17e1
* config.sub: Remove redundant patterns from second `case
...
$basic_machine in`. The second case only needs to handle patterns
of the form *-*. We can drop some patterns without a change in
functionality.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-28 09:46:35 +10:00
John Ericson
fc12b1e453
* config.sub: Remove duplicates in the huge `case basic_machine
...
in` arms. These patterns whitelist canonical CPU types that are
allowed with any vendor. The former arm accepts a provided vendor,
and the latter arm defaults a vendor when none is provided. Split
`case $basic_machine in` in to two, and then pre-default the
missing vendor so that only the explicit-vendor rules are needed.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-28 09:42:04 +10:00
Ben Elliston
b8ee5f7994
From Justin Hibbits:
...
* config.sub (powerpcspe, powerpcspe-*): New.
* testsuite/config-sub.data: Add test cases.
2018-08-24 20:54:40 +10:00
John Ericson
8ecdc3a878
* config.sub: Consolidate *-pc handling.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-24 20:41:12 +10:00
John Ericson
478579434f
* config.sub (cr16-*): Do not clobber vendor.
...
* testsuite/config-sub.data (cr16-random-elf): Adjust test case.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-24 20:36:55 +10:00
John Ericson
ddf4d5ca18
* config.sub: Consolidate some *-* patterns above big patterns.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-24 20:32:50 +10:00
Ben Elliston
f5aba1772c
* testsuite/config-sub.data: Add more tests.
2018-08-24 20:31:06 +10:00
John Ericson
ebd65bf58a
* config.sub: Finish moving big patterns to the bottom.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-23 18:35:40 +10:00
John Ericson
890df4376b
* config.sub: Move the big patterns to the bottom in preparation
...
for de-duplication. It causes Shellcheck to see more overlapping
patterns. Fix miscellaneous problems identified by Shellcheck.
* testsuite/config-sub.data: Adjust tests.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-20 17:36:53 +10:00
John Ericson
0e62f680f8
* testsuite/config-sub.data: Add legacy test cases.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-20 16:45:39 +10:00
John Ericson
588e779320
* config.sub (sequent): Make this a one-component alias.
...
* testsuite/config-sub.data (sequent-ptx): Adjust test case.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-14 10:11:14 +10:00
John Ericson
7397e860d9
* config.sub: Move some erroneous foo-* aliases to be single
...
component aliases.
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-14 10:07:33 +10:00
Ben Elliston
0b99e39a4e
* testsuite/config-sub.data: Add legacy test cases for cydra,
...
da30, dec3100, decstation, decstation-3100, decstatn, orion, pc98,
pmin, pmax, romp, rs6000, vax, x64, xps and xps100.
2018-08-13 20:25:15 +10:00
John Ericson
b06a862db4
* config.sub: Make a few basic_machines short-hands only.
...
Signed-off-by: Ben Elliston <bje@gnu.org>
2018-08-13 14:28:54 +10:00