summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author <Thomas>1997-05-07 19:19:04 +0000
committer <Thomas>1997-05-07 19:19:04 +0000
commit676f341671bedf6007a029bb2f3c472ebe308603 (patch)
tree81fcfcb9f01174b95c685913b481dba5e16aaa5d
parent7f27ada42c3342ed80354cd684f310a6c2d23db8 (diff)
downloademacs-libc-970516.tar.gz
to cope with older systems that have the older uname.
-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