607 Commits

Author SHA1 Message Date
Ben Elliston
e1e709f4a9 * config.guess (romp-ibm:4.4BSD:*): Correct pattern so that it
does not match romp-ibm:BSD:* in the immediately following case.
2017-11-01 10:06:21 +11:00
Ben Elliston
57406ae8e6 * config.guess (mips:*:*:UMIPS | mips:*:*:RISCos): Use explicit
escaping for \n.
2017-11-01 10:03:09 +11:00
Ben Elliston
4e9ab51a54 * config.guess: Whitespace fixes.
* config.sub: Ditto.
2017-11-01 09:31:38 +11:00
Ben Elliston
c003e5cb94 * config.guess: Output a note that a C compiler may be needed when
guessing fails on MIPS GNU/Linux systems.
2017-09-26 12:16:43 +10:00
Ben Elliston
c346c22106 * config.guess (Local variables): Use 'write-file-functions
instead of the deprecated 'write-file-hook (as of Emacs 22.1).
	* config.sub: Likewise.
2017-09-26 11:38:13 +10:00
Paul Eggert
0710b02a4a Prefer https: to http: for gnu.org
In Gnulib, Emacs, etc. we are changing ftp: and http: URLs to
	use https:, to help defend against man-in-the-middle attacks.
	Propagate these changes upstream to the config scripts.
	* config.guess, config.sub: Use https: URLs in diagnostics
	and in comments.

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-09-17 08:25:26 +10:00
Ben Elliston
554e3feb15 * config.sub (maybe_os): Remove -windowsnt*.
* config.guess (Alpha\ *:Windows_NT*:*): Remove obsolete case.
	(21064:Windows_NT:50:3): Likewise.
	(i*:windows32*:*): Likewise.
	([345]86:Windows_95:*, [345]86:Windows_98:*): Likewise.
	([345]86:Windows_NT:*): Likewise.
	(8664:Windows_NT:*): Likewise.
	(i*:Windows_NT*:* | Pentium*:Windows_NT*:*): Likewise.
	(p*:CYGWIN*:*): Likewise.
	* testsuite/config-guess.data: Remove relevant test cases.
2017-09-12 11:52:17 +10:00
Ian Douglas Scott
636f39d3a3 * config.guess (*:Redox:*:*): New.
* testsuite/config-guess.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-08-08 18:54:55 +10:00
Ben Elliston
81497f5aaf * config.guess: Improve "outdated script" message. 2017-07-19 11:50:48 +10:00
Mojca Miklavec
7d3d27baf8 * config.guess (*:Darwin:*:*): Set UNAME_PROCESSOR to powerpc when
__POWERPC__ is defined (e.g. when building with gcc -arch ppc).

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-05-27 21:26:27 +10:00
Ben Elliston
281c61b32f * config.guess (NSR-*:NONSTOP_KERNEL:*:*): Match suffix with *.
(NEO-*:NONSTOP_KERNEL:*:*): Likewise.
	* testsuite/config-guess.data: Add test cases.
2017-05-11 20:36:27 +10:00
Ben Elliston
53c0fcc404 Reported by Hugues Lefebvre <hugues.lefebvre@lusis.fr>.
* config.guess (NSX-*:NONSTOP_KERNEL:*:*): Some L-SERIES systems
	now have more than one letter in the suffix, so match with *.
	* testsuite/config-guess.data: Add a test case.
2017-05-11 09:50:56 +10:00
Gerald Pfeifer
00666e7b39 * config.guess (*:FreeBSD:*:*): Refactor CPU handling.
Canonicalize i386-*-freebsd* to i586-*-freebsd*.

Signed-off-by: Ben Elliston <bje@gnu.org>
2017-03-05 08:29:01 +11:00
Ben Elliston
2fbde7c1b5 Reported by Hugues Lefebvre <hugues.lefebvre@lusis.fr>.
* config.guess (NSX-?:NONSTOP_KERNEL:*:*): New.
	* config.sub (nsx-tandem): New.
	* testsuite/config-guess.data: Add a test case.
	* testsuite/config-sub.data: Likewise.
2017-02-07 05:55:13 +11:00
Ben Elliston
6a82322dd0 * config.guess: Update copyright years.
* config.sub: Likewise.
	* doc/config.guess.1: Regenerate.
	* doc/config.sub.1: Likewise.
2016-12-31 23:04:57 +11:00
Ben Elliston
084a407660 * config.guess (mips64el:Linux:*:*): New.
* testsuite/config-guess.data: Add a test case.
2016-10-03 12:48:54 +11:00
David Abdurachmanov
9152ce4032 * config.guess (riscv32:Linux:*:*, riscv64:Linux:*:*): New.
* testsuite/config-guess.data: Add riscv32, riscv64.

Signed-off-by: Ben Elliston <bje@gnu.org>
2016-09-11 09:59:56 +10:00
Ben Elliston
dafd8e767e * config.guess: Improve help when a system is not recognised. 2016-05-15 19:19:18 +10:00
Nick Hudson
81063d2a4a * config.guess (*:NetBSD:*:*): Always use "netbsdelf" for earm.
Signed-off-by: Ben Elliston <bje@gnu.org>
2016-05-13 21:57:53 +10:00
Ben Elliston
706fbe57e3 Silence warning SC2021 from shellcheck.
* config.guess (*:GNU/*:*:*): Use [:upper:] and [:lower:] classes
	instead of [A-Z] and [a-z]. Putting [] around character ranges in
	tr is a mistake anyway, as it includes square brackets in the
	translation.
2016-04-02 13:19:03 +11:00
Ben Elliston
ff434509fc Silence warning SC2116 from shellcheck.
* config.guess (i*86:skyos:*:*): Fix misplaced backquote.
2016-04-02 13:17:45 +11:00
Ben Elliston
1f226b04f1 Silence warning SC1007 from shellcheck.
* config.guess: Explicitly set CCOPTS to "" not the empty string.
2016-04-02 12:59:20 +11:00
Luis Kornblueh
081b46702f * config.guess (SX-ACE:SUPER-UX:*:*): New.
* testsuite/config-guess.data: Add a test case.

Signed-off-by: Ben Elliston <bje@gnu.org>
2016-03-24 19:40:55 +11:00
Ben Elliston
bb8fb40295 * config.guess: Simplify shell code by removing quotes around
fixed strings that contain no expansions.
2016-02-11 22:44:49 +11:00
Urs Janßen
01874d586c * config.guess (*:LibertyBSD:*:*): Fix sed expression.
Signed-off-by: Ben Elliston <bje@gnu.org>
2016-02-11 14:26:32 +11:00
Riley Baird
6686d2dbf9 * config.guess (*:LibertyBSD:*:*): New.
* config.sub (-libertybsd*): Likewise.
	* testsuite/config-sub.data: Likewise.

Signed-off-by: Ben Elliston <bje@gnu.org>
2016-02-03 21:58:35 +11:00
Ben Elliston
8f57293617 * config.guess: Update copyright years.
* config.sub: Likewise.
2015-12-31 22:20:17 +11:00
Ben Elliston
72544e37a8 * config.guess: Shorten gitweb URLs.
* config.sub: Likewise.
2015-12-31 22:14:07 +11:00
Ben Elliston
7ac240afb7 * config.guess: Whitespace fixes.
* config.sub: Likewise.
2015-12-14 07:15:58 +11:00
Ben Elliston
44bd5675f4 Reported by Owen Urkov <owen@asperasoft.com>.
* config.guess (amd64:Isilon OneFS:*:*): New.
	* config.sub (-onefs*): New.
	* testsuite/config-guess.data: Add a test case.
	* testsuite/config-sub.data: Likewise.
2015-11-19 14:30:10 +11:00
Pavel Janík
1e80063123 * config.guess (pc:*:*:*): Comment tweak.
Signed-off-by: Ben Elliston <bje@gnu.org>
2015-10-21 15:05:21 +11:00
Ben Elliston
869aecc8c8 * config.guess (k1om:Linux:*:*): New.
* testsuite/config-guess.data: Add a test case.

	Reported by Jan Stypka <jasieek@student.agh.edu.pl>.
2015-09-14 09:50:28 +10:00
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