475 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
c4d5b5f44e * config.guess (*:Sortix:*:*): New.
* config.sub (-sortix*): New.

Signed-off-by: Ben Elliston <bje@gnu.org>
2015-08-20 13:55:56 +10:00
宋冬生
9c63d2fafe * config.guess (*:NetBSD:*:*): Use only the major release and
minor release number in the triplet.
	* testsuite/config-guess.data: Add new tests.

Signed-off-by: Ben Elliston <bje@gnu.org>
2015-07-03 15:07:38 +10:00
Alexandre Oliva
ca9bfb8cc7 * config.guess (x86_64:Linux:*:*): Output 'pc', not 'unknown'.
* testsuite/config-guess.data: Update test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2015-06-30 17:26:58 +10:00
Dmitry V. Levin
9c71dc568d * config.guess (e2k:Linux:*:*): New.
* config.sub (e2k, e2k-*): New.
	* testsuite/config-guess.data: Add a test case.
	* testsuite/config-sub.data: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
2015-03-04 12:25:30 +11:00
Ben Elliston
e80c19a777 Fix leading whitespace problems. 2015-02-23 11:17:38 +11:00
Taylor R Campbell
d9c8f45036 * config.guess (*:NetBSD:*:*): Handle earm* archs.
* config.sub (netbsd*-eabi*): New.
	* testsuite/config-guess.data: Add test cases.
	* testsuite/config-sub.data: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
2015-02-23 07:09:51 +11:00
Taylor R Campbell
b5c9e06027 * config.guess (*:NetBSD:*:*): uname -p' and sysctl -n
hw.machine_arch' have been the same since `uname -p' was
	introduced in 1998.  `sysctl -n hw.machine_arch' has been around a
	little longer, since 1997, so fall back to that in the obscure
	case that someone might still care about that vintage.

Signed-off-by: Ben Elliston <bje@gnu.org>
2015-02-21 10:52:18 +11:00
Ben Elliston
714957f92f * config.guess: Update copyright years.
* config.sub: Likewise.
2015-01-01 04:39:41 +11:00
Ben Elliston
31898b96a4 * config.guess (*:AIX:*:[4567]): Use /usr/biun/lslpp and not
oslevel to determine the OS version number. This gives more a
	precise version number.	From Michael Felt.
2014-11-04 21:57:16 +11:00
Ben Elliston
3d697cab85 Tweak top-of-file comment. 2014-11-04 21:19:12 +11:00
Christian Svensson
47681e2a9b * config.guess (openrisc:Linux:*:*): New.
* config.guess (or1k*:Linux:*:*): Modified for or1knd.
	* config.sub (or1knd): New.
	* testsuite/config-guess.data: Test for or1knd:Linux, openrisc:Linux.
	* testsuite/config-sub.data: Tests for or1knd-linux, or1knd-elf,
	or1knd and or1k.

Signed-off-by: Ben Elliston <bje@gnu.org>
2014-03-24 19:55:13 +11:00
Ben Elliston
f4ebd3ed09 Reported by Dejan Lekic <dejan.lekic@gmail.com>.
* config.guess (*:MSYS*:*): Match all machines, not just i*.
	* testsuite/config-guess.data: Add a test case.
2014-03-13 00:04:59 +11:00
Urs Janssen
6947a35648 * config.guess (Linux|GNU|GNU/*): Strip extraneous whitespace
inserted by the preprocessor (eg, pgcc -E).

Signed-off-by: Ben Elliston <bje@gnu.org>
2014-02-12 22:13:37 +11:00
Ben Elliston
98d92476e9 * config.guess: Remove check for /usr/apollo directory. 2014-01-25 12:30:35 +11:00
Ben Elliston
4fe9ffeda1 * config.guess: Remove the C program that detects ancient
operating systems without using uname(1).
2014-01-25 10:55:03 +11:00
Ben Elliston
83dc3e68b2 * config.guess (vax-dec-bsd4.3): Remove from the C program.
(vax-dec-bsd4.3reno): Likewise.
	(vax-dec-bsd): Likewise.
	(vax-dec-ultrix): Likewise.
2014-01-25 10:52:47 +11:00
Ben Elliston
62de502a5c * config.guess (<arch>-next-nextstep): Remove from the C program.
(<arch>-next-openstep): Likewise.
2014-01-25 10:45:02 +11:00
Ben Elliston
7503e32e81 * config.guess (ns32k-encore-sysv): Remove from the C program.
(ns32k-encore-mach): Likewise.
	(ns32k-encore-bsd): Likewise.
2014-01-25 10:42:53 +11:00
Ben Elliston
6c134e4ebe * config.guess (mips-sony-bsd): Remove from the C program. 2014-01-25 10:41:17 +11:00
Ben Elliston
1a322da12e * config.guess (m68k-sony-newsos): Remove from the C program. 2014-01-25 10:39:07 +11:00
Ben Elliston
04d0856487 * config.guess (i386-sequent-dynix): Remove from the C program.
(n32k-sequent-dynix): Likewise.
2014-01-25 10:35:56 +11:00
Ben Elliston
040f6f53d0 * config.guess (i386-sequent-ptx): Remove from the C program. 2014-01-25 10:35:02 +11:00
Ben Elliston
027f78e575 * config.guess (i386-pc-bsd): Remove from the C program. 2014-01-25 10:26:02 +11:00
Ben Elliston
26087e5e6b * config.guess (i860-alliant-bsd): Remove from the C program. 2014-01-25 10:24:23 +11:00
Ben Elliston
4eeda315b0 * config.guess (m68k-hp-bsd): Remove from the C program. 2014-01-25 10:22:22 +11:00
Ben Elliston
5edf2123d2 * config.guess (arm-acron-riscix): Remove from the C program. 2014-01-25 10:21:06 +11:00
Ben Elliston
4f43a7a663 * config.guess (c1-convex-bsd, c32-convex-bsd, c2-convex-bsd)
(c34-convex-bsd, c38-convex-bsd, c4-convex-bsd): Remove Convex
	triplets that are not handled inside the case statement.
2014-01-25 10:18:07 +11:00
Ben Elliston
7e5d6f6356 * config.guess: Update copyright years.
* config.sub: Likewise.
2014-01-01 11:32:39 +11:00
Ben Elliston
3130bac631 Fix leading whitespace problems. 2013-11-29 09:21:40 +11:00
Karl Berry
3abc1f5af3 * config.guess (*:Darwin:*:*): Avoid executing `cc' on OS X 10.9,
as it ships with a stub that puts up a graphical alert prompting
	the user to install developer tools.

Signed-off-by: Ben Elliston <bje@gnu.org>
2013-11-28 10:46:50 +11:00
Ben Elliston
28d244f1b2 Bump timestamp. 2013-06-10 13:54:00 +10:00
Anton Blanchard
29900d3bff * config.guess (ppc64le:Linux:*:*, ppcle:Linux:*:*): New.
Signed-off-by: Ben Elliston <bje@gnu.org>
2013-06-06 14:21:16 +10:00
Mike Frysinger
20f0b7ebd0 * config.guess (s390:Linux:*:*|s390x:Linux:*:*): s390 targets
include "-gnu" suffixes like other Linux targets (and "-uclibc"
	with uclibc targets).

Signed-off-by: Ben Elliston <bje@gnu.org>
2013-05-16 16:16:32 +10:00
Mike Frysinger
cc7cea2393 * config.guess: Hoist C library detection code up to a common
location so all Linux targets can use it.

Signed-off-by: Ben Elliston <bje@gnu.org>
2013-05-16 08:06:31 +10:00
Torsten Maehne
210f4a7dfd * config.guess (*:Darwin:*:*): Check for powerpc64.
Signed-off-by: Ben Elliston <bje@gnu.org>
2013-05-16 07:55:59 +10:00
Mischa Jonker
986360de6e * config.sub (arceb): New.
* config.guess (arc:Linux:*:*, arceb:Linux:*:*): New.
	* testsuite/config-guess.data: Add test cases.
	* testsuite/config-sub.data: Add test cases.

Signed-off-by: Ben Elliston <bje@gnu.org>
2013-04-24 22:26:32 +10:00
Jim Pryor
c47c1807fd * config.guess (i*86:Linux:*:*): Test for uClibc.
Signed-off-by: Ben Elliston <bje@gnu.org>
2013-04-24 20:21:10 +10:00
Jim Pryor
bb562af3ec * config.guess (x86_64:Linux:*:*): Test for uClibc.
Signed-off-by: Ben Elliston <bje@gnu.org>
2013-04-24 10:32:17 +10:00
Christian Svensson
fd4dee4466 * config.guess (or1k:Linux:*:*): New.
* config.sub (or1k): Likewise.
	* testsuite/config-guess.data: Test for or1k:Linux.
	* testsuite/config-sub.data: Tests for or1k-linux, or1k-elf.

Signed-off-by: Ben Elliston <bje@gnu.org>
2013-02-12 21:34:07 +11:00
Ben Elliston
64757f430a * config.guess: Contract the list of copyright years into the
range 1992-2013. Remove "(C)" character sequence from copyright
	statements. Per http://www.gnu.org/licenses/gpl-howto.html.
	* config.sub: Likewise.
2013-02-04 08:16:01 +11:00
Ben Elliston
80913759d6 Remove trailing whitespace. 2012-12-30 09:38:15 +11:00
Ben Elliston
a8066ce768 * config.guess: Bring up to GPLv3.
* config.sub: Likewise.
2012-12-29 08:25:52 +11:00
Ben Elliston
306afce200 * config.guess: Update copyright years.
* config.sub: Likewise.
2012-12-23 11:20:10 +11:00
Theo Markettos
e64279b1f7 * config.guess (arm:*:riscos:*): Allow arm*.
* testsuite/config-guess.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2012-09-25 23:24:17 +10:00
Alex Smith
6f8e28fb9e * config.guess (x86_64:Haiku:*:*): New.
* testsuite/config-guess.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2012-08-14 21:58:20 +10:00
Earnie Boyd
f16804b79e * config.guess (*:MINGW64*:*): New.
* config.sub (mingw64): Likewise.
	* testsuite/config-guess.data: Add a test case.
	* testsuite/config-sub.data: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
2012-07-31 13:23:38 +10:00
Ben Elliston
958bd4a188 config.guess: Remove commented code, circa 1994. 2012-07-29 19:24:27 +10:00
David Hill
fc7ed3ed8f * config.guess (*:Bitrig:*:*): New.
* config.sub (-bitrig*): Likewise.
	* testsuite/config-sub.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2012-06-17 08:38:27 +10:00
Dmitriy Fedchenko
30d03f3d11 * config.guess (NSE-?:NONSTOP_KERNEL:*:*): Match NSE-* as the
substring can be longer than one character.
	* testsuite/config-guess.data: Add a new test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2012-06-10 21:08:24 +10:00
Ben Elliston
d6f39afaf5 2012-01-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config.guess  (aarch64:Linux:*:*, aarch64_be:Linux:*:*): New.
	* config.sub (aarch64-*, aarch64_be-*): New.
	* testsuite/config-sub.data: Add aarch64-elf, aarch64-linux
	aarch64-unknown-elf, aarch64-unknown-linux, aarch64_be-elf,
	aarch64_be-linux, aarch64_be-unknown-elf,
	aarch64_be-unknown-linux.
	* testsuite/config-guess.data: Add aarch64, aarch64_be.
2012-02-14 07:46:33 +11:00