2004-08-11 Paul Eggert <eggert@cs.ucla.edu>

* config.guess (*:Darwin:*:*): If uname -p reports "unknown",
	assume the processor is a powerpc.  This is because coreutils
	uname (at least versions 4.5.7 through 5.2.1) outputs "unknown"
	in this case, due to a MacOS X bug that causes
	sysctl ((int[]) {CTL_HW, HW_MACHINE_ARCH}, 2, buffer, &bufsize, 0, 0)
	to return a negative number.
	Problem reported by Petter Reinholdtsen in:
	http://lists.gnu.org/archive/html/bug-gnu-utils/2003-02/msg00201.html
This commit is contained in:
Ben Elliston
2004-08-11 01:26:11 +00:00
parent 53a181ce7a
commit 66e196c3a7
2 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,14 @@
2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
* config.guess (*:Darwin:*:*): If uname -p reports "unknown",
assume the processor is a powerpc. This is because coreutils
uname (at least versions 4.5.7 through 5.2.1) outputs "unknown"
in this case, due to a MacOS X bug that causes
sysctl ((int[]) {CTL_HW, HW_MACHINE_ARCH}, 2, buffer, &bufsize, 0, 0)
to return a negative number.
Problem reported by Petter Reinholdtsen in:
http://lists.gnu.org/archive/html/bug-gnu-utils/2003-02/msg00201.html
2004-07-19 Ben Elliston <bje@gnu.org>
* config.guess (S7501:*:4.0:3.0): Handle NCR System V UNIX machine.