mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
2002-03-04 Adrian Bunk <bunk@fs.tum.de>
* config.guess (*:NetBSD:*:*): Use "sysctl -n hw.machine_arch" instead of "uname -p" to get UNAME_MACHINE_ARCH.
This commit is contained in:
parent
08eb900414
commit
b966da033f
@ -1,3 +1,8 @@
|
||||
2002-03-04 Adrian Bunk <bunk@fs.tum.de>
|
||||
|
||||
* config.guess (*:NetBSD:*:*): Use "sysctl -n hw.machine_arch"
|
||||
instead of "uname -p" to get UNAME_MACHINE_ARCH.
|
||||
|
||||
2002-02-22 Ben Elliston <bje@redhat.com>
|
||||
Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||
|
||||
|
7
config.guess
vendored
7
config.guess
vendored
@ -3,7 +3,7 @@
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2002-02-19'
|
||||
timestamp='2002-03-04'
|
||||
|
||||
# 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
|
||||
@ -138,8 +138,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
#
|
||||
# Note: NetBSD doesn't particularly care about the vendor
|
||||
# portion of the name. We always set it to "unknown".
|
||||
UNAME_MACHINE_ARCH=`(uname -p) 2>/dev/null` || \
|
||||
UNAME_MACHINE_ARCH=unknown
|
||||
sysctl="sysctl -n hw.machine_arch"
|
||||
UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
|
||||
/usr/sbin/$sysctl 2>/dev/null || echo unknown)`
|
||||
case "${UNAME_MACHINE_ARCH}" in
|
||||
arm*) machine=arm-unknown ;;
|
||||
sh3el) machine=shl-unknown ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user