diff options
author | Thomas Bushnell, BSG <thomas@gnu.org> | 1997-05-07 19:19:04 +0000 |
---|---|---|
committer | Thomas Bushnell, BSG <thomas@gnu.org> | 1997-05-07 19:19:04 +0000 |
commit | 9bdc0764e03e8b6c42c12a304885462f9411185a (patch) | |
tree | 6103849aca21e530f3fbe9ccbcf1f242eae877c0 /config.guess | |
parent | 97d0510c9d629c1a6327159a89055871edb89f44 (diff) | |
download | emacs-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-x | config.guess | 2 |
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 |