]> git.eshelyaron.com Git - emacs.git/commitdiff
Recognize either / or - as a machine/suptype separator from uname -m
authorThomas Bushnell, BSG <thomas@gnu.org>
Wed, 7 May 1997 19:19:04 +0000 (19:19 +0000)
committerThomas Bushnell, BSG <thomas@gnu.org>
Wed, 7 May 1997 19:19:04 +0000 (19:19 +0000)
to cope with older systems that have the older uname.

config.guess

index bfd352355e116a3b452f5ebf93cc921c04874a26..ea44a2a9caa9dea575c18520a0935ff846e61ec8 100755 (executable)
@@ -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