mirror of
git://git.savannah.gnu.org/config.git
synced 2025-07-06 13:18:21 +12:00
config.guess: invoke "uname -p" from PATH for non-arm FreeBSD
Starting with commitafe1fa96bf
, "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 commit68873f3c11
.
This commit is contained in:
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 ;;
|
||||
|
Reference in New Issue
Block a user