* config.guess (netbsd, freebsd, linux): Accept any machine,
authorPer Bothner <per@bothner.com>
Fri, 26 Aug 1994 23:14:50 +0000 (23:14 +0000)
committerPer Bothner <per@bothner.com>
Fri, 26 Aug 1994 23:14:50 +0000 (23:14 +0000)
not just i[34]86.
(m68k-atari-sysv4):  Relocate to match FSF version.

ChangeLog
config.guess

index 18419fb52e0d9cc3e92801d8c53f91ace86844d1..ec8ced7345cef6e24303195b8dfd8845da4030b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Fri Aug 26 14:30:05 1994  Per Bothner  (bothner@kalessin.cygnus.com)
 
+       * config.guess (netbsd, freebsd, linux):  Accept any machine,
+       not just i[34]86.
+       (m68k-atari-sysv4):  Relocate to match FSF version.
+
        * config.guess:  More merges from the FSF:
 
        Add a space before function call or macro invocation.
index ef8474beed829fe1283da95d8756fac46c748bfa..89f2ca8b5d98e911018301a96f7837b2dc534140 100755 (executable)
@@ -77,9 +77,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     sun3*:SunOS:*:*)
        echo m68k-sun-sunos${UNAME_RELEASE}
        exit 0 ;;
-    mc68030:UNIX_System_V:4.*:*)
-       echo m68k-atari-sysv4
-       exit 0 ;;
     RISC*:ULTRIX:*:*)
        echo mips-dec-ultrix${UNAME_RELEASE}
        exit 0 ;;
@@ -226,13 +223,13 @@ EOF
     i[34]86:BSD/386:*:*)
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
        exit 0 ;;
-    i[34]86:FreeBSD:*:*)
+    *:FreeBSD:*:*)
        echo ${UNAME_MACHINE}-unknown-freebsd${UNAME_RELEASE}
        exit 0 ;;
-    i[34]86:NetBSD:*:*)
-       echo ${UNAME_MACHINE}-unknown-netbsd${UNAME_RELEASE}
+    *: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.*:*)
@@ -284,6 +281,9 @@ EOF
     m680[234]0:LynxOS:2.2*:*)
        echo m68k-lynx-lynxos${UNAME_RELEASE}
        exit 0 ;;
+    mc68030:UNIX_System_V:4.*:*)
+       echo m68k-atari-sysv4
+       exit 0 ;;
     i[34]86:LynxOS:2.2*:*)
        echo i386-lynx-lynxos${UNAME_RELEASE}
        exit 0 ;;