From ebc635b54772cc861ac30ae819a6893f3eda6026 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 2 Feb 2001 16:49:11 +0000 Subject: [PATCH] Fix frobbing of UNAME_RELEASE (meant to strip _{ALPHA,BETA} endings); it was originally just adding a trailing period. --- gnu/dist/toolchain/config.guess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/dist/toolchain/config.guess b/gnu/dist/toolchain/config.guess index 743191894c5b..aadc682d4bde 100755 --- a/gnu/dist/toolchain/config.guess +++ b/gnu/dist/toolchain/config.guess @@ -119,12 +119,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in mips:*) UNAME_MACHINE_ARCH=mipsel;; i386:*|m68k:*|ns32k:*|sparc:*|vax:*) if echo __ELF__ | cc -E - | grep -q __ELF__; then - UNAME_OBJFORMAT= + UNAME_OBJFORMAT= # (a.out) else UNAME_OBJFORMAT=elf fi;; esac - echo ${UNAME_MACHINE_ARCH}-unknown-netbsd${UNAME_OBJFORMAT}`echo ${UNAME_RELEASE} | sed -e 's/[-_].*/\./'` + echo ${UNAME_MACHINE_ARCH}-unknown-netbsd${UNAME_OBJFORMAT}`echo ${UNAME_RELEASE} | sed -e 's/_.*$//'` exit 0 ;; alpha:OSF1:*:*) if test $UNAME_RELEASE = "V4.0"; then