From: Thomas Bushnell, BSG Date: Wed, 7 May 1997 19:19:04 +0000 (+0000) Subject: Recognize either / or - as a machine/suptype separator from uname -m X-Git-Tag: fsf-origin~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de307dfe289ca5e5180fe16cd7c05b44e4ffbdad;p=thirdparty%2Fautoconf.git Recognize either / or - as a machine/suptype separator from uname -m to cope with older systems that have the older uname. --- diff --git a/config.guess b/config.guess index bfd35235..ea44a2a9 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