diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1994-08-26 16:19:19 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1994-08-26 16:19:19 -0700 |
commit | e9954ee434e38d801b463328d9cf2d7fbba24f9a (patch) | |
tree | b983d942230a3dc44c216b90fd7458b5711a06cc /gcc/config.guess | |
parent | 405fc2388cd2a0733aee40eff37b04cfae653af9 (diff) | |
download | gcc-e9954ee434e38d801b463328d9cf2d7fbba24f9a.zip gcc-e9954ee434e38d801b463328d9cf2d7fbba24f9a.tar.gz gcc-e9954ee434e38d801b463328d9cf2d7fbba24f9a.tar.bz2 |
(netbsd, freebsd, linux): Accept any machine, not just i[34]86.
From-SVN: r7993
Diffstat (limited to 'gcc/config.guess')
-rwxr-xr-x | gcc/config.guess | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config.guess b/gcc/config.guess index 5838ce9..ec93e20 100755 --- a/gcc/config.guess +++ b/gcc/config.guess @@ -44,9 +44,6 @@ trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15 # 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 @@ EOF 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 ;; + *:NetBSD:*:*) + echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` exit 0 ;; - i[34]86:Linux:*:*) + *:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux exit 0 ;; i[34]86:UNIX_SV:4.*:* | i[34]86:SYSTEM_V:4.*:*) @@ -292,8 +292,8 @@ EOF 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 ;; |