diff options
author | <Thomas> | 1997-05-07 19:19:04 +0000 |
---|---|---|
committer | <Thomas> | 1997-05-07 19:19:04 +0000 |
commit | 676f341671bedf6007a029bb2f3c472ebe308603 (patch) | |
tree | 81fcfcb9f01174b95c685913b481dba5e16aaa5d /config.guess | |
parent | 7f27ada42c3342ed80354cd684f310a6c2d23db8 (diff) | |
download | emacs-676f341671bedf6007a029bb2f3c472ebe308603.tar.gz |
Recognize either / or - as a machine/suptype separator from uname -mlibc-970605libc-970604libc-970603libc-970602libc-970601libc-970531libc-970530libc-970529libc-970528libc-970527libc-970526libc-970525libc-970524libc-970523libc-970522libc-970521libc-970520libc-970519libc-970518libc-970517libc-970516libc-970515libc-970514libc-970513libc-970512libc-970511libc-970510libc-970509libc-970508gnumach-release-1-1-1gnumach-release-1-1
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 |