mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00
config.guess: invoke "uname -p" from PATH for non-arm FreeBSD
Starting with commit afe1fa96bf32, "uname -p" from PATH is invoked in case of FreeBSD on arm, while in other FreeBSD cases it was invoked using a full pathname as "/usr/bin/uname -p". Fix this inconsistency and invoke "uname -p" from PATH for all FreeBSD cases. This also allows to test non-arm FreeBSD cases. * config.guess (*:FreeBSD:*:*): Invoke "uname -p" from PATH. * doc/config.guess.1: Regenerate. * testsuite/config-guess.data (x86_64-unknown-freebsd5.2, i586-unknown-freebsd7.0): Reintroduce the tests removed by commit 68873f3c11c6.
This commit is contained in:
parent
021155df7f
commit
e4786449e1
4
config.guess
vendored
4
config.guess
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||
|
||||
timestamp='2023-08-17'
|
||||
timestamp='2023-08-22'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@ -908,7 +908,7 @@ EOF
|
||||
fi
|
||||
;;
|
||||
*:FreeBSD:*:*)
|
||||
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
||||
UNAME_PROCESSOR=`uname -p`
|
||||
case $UNAME_PROCESSOR in
|
||||
amd64)
|
||||
UNAME_PROCESSOR=x86_64 ;;
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
|
||||
.TH CONFIG.GUESS "1" "August 2023" "GNU config.guess (2023-08-17)" "User Commands"
|
||||
.TH CONFIG.GUESS "1" "August 2023" "GNU config.guess (2023-08-22)" "User Commands"
|
||||
.SH NAME
|
||||
config.guess \- guess the build system triplet
|
||||
.SH SYNOPSIS
|
||||
|
@ -29,6 +29,7 @@ aarch64 | ignored | Linux | ignored | ignored | aarch64-unknown-linux-gnu
|
||||
aarch64 | ignored | Managarm | ignored | ignored | aarch64-unknown-managarm-mlibc
|
||||
aarch64_be | ignored | Linux | ignored | ignored | aarch64_be-unknown-linux-gnu
|
||||
amd64 | 1.5.12(0.116/4/2) | CYGWIN_NT-5.2 | ignored | ignored | x86_64-pc-cygwin
|
||||
amd64 | 5.2 | FreeBSD | ignored | x86_64 | x86_64-unknown-freebsd5.2
|
||||
amd64 | 6.1.4 | NetBSD | ignored | x86_64 | x86_64-unknown-netbsd6.1
|
||||
amd64 | 6.1.5_PATCH | NetBSD | ignored | x86_64 | x86_64-unknown-netbsd6.1
|
||||
amd64 | 7.0 | NetBSD | ignored | x86_64 | x86_64-unknown-netbsd7.0
|
||||
@ -109,6 +110,7 @@ or1knd | ignored | Linux | ignored | ignored | or1knd-unknown-linux-gnu
|
||||
or32 | ignored | Linux | ignored | ignored | or32-unknown-linux-gnu
|
||||
padre | 2.6.15 | Linux | ignored | ignored | sparc-unknown-linux-gnu
|
||||
pc | 1.0 | ignored | ignored | ignored | i586-pc-msdosdjgpp
|
||||
pc98 | 7.0 | FreeBSD | ignored | i386 | i586-unknown-freebsd7.0
|
||||
powerpc | 14.0 | Darwin | ignored | powerpc | powerpc-apple-darwin14.0
|
||||
ppc | 2.6.9-22 | Linux | ignored | ignored | powerpc-unknown-linux-gnu
|
||||
ppc | ignored | Haiku | ignored | ignored | powerpc-apple-haiku
|
||||
|
Loading…
x
Reference in New Issue
Block a user