aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Bothner1994-08-29 01:19:13 +0000
committerPer Bothner1994-08-29 01:19:13 +0000
commite06403735b16e31ec7f39247c2a9965a1f64e8cd (patch)
tree61e6471fa7d8bd03fff1244390280e9ab211be1a
parentef469729a799af92e06868d2317ff07980865c6a (diff)
downloademacs-e06403735b16e31ec7f39247c2a9965a1f64e8cd.tar.gz
emacs-e06403735b16e31ec7f39247c2a9965a1f64e8cd.zip
Various fixes (freebsd, ncr, nextstep): See ChangeLog.
-rwxr-xr-xconfig.guess11
1 files changed, 8 insertions, 3 deletions
diff --git a/config.guess b/config.guess
index ec93e20a094..be77c82eba6 100755
--- a/config.guess
+++ b/config.guess
@@ -16,6 +16,8 @@
16# along with this program; if not, write to the Free Software 16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 17# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
18 18
19# Written by Per Bothner <bothner@cygnus.com>.
20# The master version of this file is at the FSF in /home/gd/gnu/lib.
19# 21#
20# This script attempts to guess a canonical system name similar to 22# This script attempts to guess a canonical system name similar to
21# config.sub. If it succeeds, it prints the system name on stdout, and 23# config.sub. If it succeeds, it prints the system name on stdout, and
@@ -237,7 +239,7 @@ EOF
237 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 239 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
238 exit 0 ;; 240 exit 0 ;;
239 *:FreeBSD:*:*) 241 *:FreeBSD:*:*)
240 echo ${UNAME_MACHINE}-unknown-freebsd${UNAME_RELEASE} 242 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/(.*//'`
241 exit 0 ;; 243 exit 0 ;;
242 *:NetBSD:*:*) 244 *:NetBSD:*:*)
243 echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` 245 echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
@@ -285,9 +287,12 @@ EOF
285 exit 0 ;; 287 exit 0 ;;
286 M680[234]0:*:R3V[567]*:*) 288 M680[234]0:*:R3V[567]*:*)
287 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 289 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
288 3[34]??:*:4.0:* | 3[34]??,3[34]??:*:4.0:*) 290 3[34]??:*:4.0:*)
289 uname -p 2>/dev/null | grep 86 >/dev/null \ 291 uname -p 2>/dev/null | grep 86 >/dev/null \
290 && echo i486-ncr-sysv4 && exit 0 ;; 292 && echo i486-ncr-sysv4 && exit 0 ;;
293 33[56]0,3???:*:4.0:*)
294 uname -p 2>/dev/null | grep 86 >/dev/null \
295 && echo i486-ncr-sysv4.3 && exit 0 ;;
291 m680[234]0:LynxOS:2.2*:*) 296 m680[234]0:LynxOS:2.2*:*)
292 echo m68k-lynx-lynxos${UNAME_RELEASE} 297 echo m68k-lynx-lynxos${UNAME_RELEASE}
293 exit 0 ;; 298 exit 0 ;;
@@ -346,7 +351,7 @@ main ()
346#endif 351#endif
347 int version; 352 int version;
348 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; 353 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
349 printf ("%s-next-neststep%s\n", __ARCHITECTURE__, version==2 ? "2" : "3"); 354 printf ("%s-next-nextstep%s\n", __ARCHITECTURE__, version==2 ? "2" : "3");
350 exit (0); 355 exit (0);
351#endif 356#endif
352 357