# HG changeset patch # User Per Bothner # Date 777943159 0 # Node ID 3351fa6afe8f58b00f9d3d85fd07e3957f7a4081 # Parent 24927b6a05558f67d18a3b905aa9c946c1411bb9 (netbsd, freebsd, linux): Accept any machine, not just i[34]86. diff -r 24927b6a0555 -r 3351fa6afe8f config.guess --- a/config.guess Fri Aug 26 22:45:20 1994 +0000 +++ b/config.guess Fri Aug 26 23:19:19 1994 +0000 @@ -44,9 +44,6 @@ # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'` - exit 0 ;; alpha:OSF1:V*:*) # After 1.2, OSF1 uses "V1.3" for uname -r. echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^V//'` @@ -239,10 +236,13 @@ i[34]86:BSD/386:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; - i[34]86:FreeBSD:*:*) - echo ${UNAME_MACHINE}-unknown-freebsd + *:FreeBSD:*:*) + echo ${UNAME_MACHINE}-unknown-freebsd${UNAME_RELEASE} exit 0 ;; - i[34]86:Linux:*:*) + *:NetBSD:*:*) + echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; + *:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux exit 0 ;; i[34]86:UNIX_SV:4.*:* | i[34]86:SYSTEM_V:4.*:*) @@ -292,8 +292,8 @@ echo m68k-lynx-lynxos${UNAME_RELEASE} exit 0 ;; mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit 0 ;; + echo m68k-atari-sysv4 + exit 0 ;; i[34]86:LynxOS:2.2*:*) echo i386-lynx-lynxos${UNAME_RELEASE} exit 0 ;;