# HG changeset patch # User Thomas Bushnell, BSG # Date 863032744 0 # Node ID 426dde65302896041a7c839aadb45d912f287382 # Parent ad3a8768539af3480139354d11f0d7c2e50e3989 Recognize either / or - as a machine/suptype separator from uname -m to cope with older systems that have the older uname. diff -r ad3a8768539a -r 426dde653028 config.guess --- a/config.guess Wed May 07 07:26:10 1997 +0000 +++ b/config.guess Wed May 07 19:19:04 1997 +0000 @@ -430,7 +430,7 @@ 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