aboutsummaryrefslogtreecommitdiff
path: root/config.guess
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 /config.guess
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.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess14
1 files changed, 7 insertions, 7 deletions
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 ;;