2000-10-12 Ben Elliston <bje@redhat.com>

* config.guess: Detect GNU/Linux on HP PA-RISC systems.
	From David Huggins-Daines <dhd@linuxcare.com>.
This commit is contained in:
Ben Elliston 2000-10-11 19:03:36 +00:00
parent f575236a68
commit c67509912b
2 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-10-12 Ben Elliston <bje@redhat.com>
* config.guess: Detect GNU/Linux on HP PA-RISC systems.
From David Huggins-Daines <dhd@linuxcare.com>.
2000-10-09 Ben Elliston <bje@redhat.com>
* config.sub: Typo fix for sh{3,4} case.

16
config.guess vendored
View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc.
version='2000-10-07'
version='2000-10-12'
# 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
@ -859,6 +859,20 @@ EOF
echo s390-ibm-linux && exit 0
elif test "${UNAME_MACHINE}" = "x86_64"; then
echo x86_64-unknown-linux-gnu && exit 0
elif test "${UNAME_MACHINE}" = "parisc" -o "${UNAME_MACHINE}" = "hppa"; then
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
PA7*)
echo hppa1.1-unknown-linux-gnu
;;
PA8*)
echo hppa2.0-unknown-linux-gnu
;;
*)
echo hppa-unknown-linux-gnu
;;
esac
exit 0
else
# Either a pre-BFD a.out linker (linux-gnuoldld)
# or one that does not give us useful --help.