aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1994-08-26 23:14:50 +0000
committerPer Bothner <per@bothner.com>1994-08-26 23:14:50 +0000
commit1f2a60d4e6e9a743384d622decfa8606edcb967e (patch)
tree192c96a3acb3a9e0fa75c42056c2e4a9be310c05
parentc01fe9368436a721393117dbd93022b211c44c1f (diff)
downloadgdb-1f2a60d4e6e9a743384d622decfa8606edcb967e.zip
gdb-1f2a60d4e6e9a743384d622decfa8606edcb967e.tar.gz
gdb-1f2a60d4e6e9a743384d622decfa8606edcb967e.tar.bz2
* config.guess (netbsd, freebsd, linux): Accept any machine,
not just i[34]86. (m68k-atari-sysv4): Relocate to match FSF version.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfig.guess14
2 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 18419fb..ec8ced7 100644
--- 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.
diff --git a/config.guess b/config.guess
index ef8474b..89f2ca8 100755
--- a/config.guess
+++ b/config.guess
@@ -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 ;;