summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1997-05-07 19:19:04 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1997-05-07 19:19:04 +0000
commit9bdc0764e03e8b6c42c12a304885462f9411185a (patch)
tree6103849aca21e530f3fbe9ccbcf1f242eae877c0 /config.guess
parent97d0510c9d629c1a6327159a89055871edb89f44 (diff)
downloademacs-9bdc0764e03e8b6c42c12a304885462f9411185a.tar.gz
Recognize either / or - as a machine/suptype separator from uname -m
to cope with older systems that have the older uname.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.guess b/config.guess
index bfd352355e1..ea44a2a9caa 100755
--- a/config.guess
+++ b/config.guess
@@ -430,7 +430,7 @@ EOF
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
*:GNU:*:*)
- echo `echo ${UNAME_MACHINE}|sed -e 's,-.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;;
*:Linux:*:*)
# The BFD linker knows what the default object file format is, so