Mercurial > emacs
comparison config.guess @ 16575:3c85d35d84a2 libc-961114 libc-961115 libc-961116 libc-961117 libc-961118 libc-961119
Bunch of updates. See ChangeLog.
author | Per Bothner <bothner@cygnus.com> |
---|---|
date | Thu, 14 Nov 1996 02:06:05 +0000 |
parents | 09234d82799a |
children | 7361b2115a77 |
comparison
equal
deleted
inserted
replaced
16574:205846f84b5e | 16575:3c85d35d84a2 |
---|---|
82 fi | 82 fi |
83 exit 0 ;; | 83 exit 0 ;; |
84 NILE:*:*:dcosx) | 84 NILE:*:*:dcosx) |
85 echo pyramid-pyramid-svr4 | 85 echo pyramid-pyramid-svr4 |
86 exit 0 ;; | 86 exit 0 ;; |
87 sun4*:SunOS:5.*:*) | 87 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
88 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 88 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
89 exit 0 ;; | 89 exit 0 ;; |
90 i86pc:SunOS:5.*:*) | 90 i86pc:SunOS:5.*:*) |
91 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | 91 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
92 exit 0 ;; | 92 exit 0 ;; |
106 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` | 106 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` |
107 exit 0 ;; | 107 exit 0 ;; |
108 sun3*:SunOS:*:*) | 108 sun3*:SunOS:*:*) |
109 echo m68k-sun-sunos${UNAME_RELEASE} | 109 echo m68k-sun-sunos${UNAME_RELEASE} |
110 exit 0 ;; | 110 exit 0 ;; |
111 aushp:SunOS:*:*) | |
112 echo sparc-auspex-sunos${UNAME_RELEASE} | |
113 exit 0 ;; | |
111 atari*:NetBSD:*:*) | 114 atari*:NetBSD:*:*) |
112 echo m68k-atari-netbsd${UNAME_RELEASE} | 115 echo m68k-atari-netbsd${UNAME_RELEASE} |
113 exit 0 ;; | 116 exit 0 ;; |
114 atari*:OpenBSD:*:*) | 117 atari*:OpenBSD:*:*) |
115 echo m68k-atari-openbsd${UNAME_RELEASE} | 118 echo m68k-atari-openbsd${UNAME_RELEASE} |
123 mac68k:NetBSD:*:*) | 126 mac68k:NetBSD:*:*) |
124 echo m68k-apple-netbsd${UNAME_RELEASE} | 127 echo m68k-apple-netbsd${UNAME_RELEASE} |
125 exit 0 ;; | 128 exit 0 ;; |
126 mac68k:OpenBSD:*:*) | 129 mac68k:OpenBSD:*:*) |
127 echo m68k-apple-openbsd${UNAME_RELEASE} | 130 echo m68k-apple-openbsd${UNAME_RELEASE} |
131 exit 0 ;; | |
132 RISC*:Mach:*:*) | |
133 echo mips-dec-mach_bsd4.3 | |
128 exit 0 ;; | 134 exit 0 ;; |
129 RISC*:ULTRIX:*:*) | 135 RISC*:ULTRIX:*:*) |
130 echo mips-dec-ultrix${UNAME_RELEASE} | 136 echo mips-dec-ultrix${UNAME_RELEASE} |
131 exit 0 ;; | 137 exit 0 ;; |
132 VAX*:ULTRIX*:*:*) | 138 VAX*:ULTRIX*:*:*) |
147 #endif | 153 #endif |
148 #endif | 154 #endif |
149 exit (-1); | 155 exit (-1); |
150 } | 156 } |
151 EOF | 157 EOF |
152 ${CC-cc} dummy.c -o dummy && ./dummy "${UNAME_RELEASE}" \ | 158 ${CC-cc} dummy.c -o dummy \ |
159 && ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ | |
153 && rm dummy.c dummy && exit 0 | 160 && rm dummy.c dummy && exit 0 |
154 rm -f dummy.c dummy | 161 rm -f dummy.c dummy |
155 echo mips-mips-riscos${UNAME_RELEASE} | 162 echo mips-mips-riscos${UNAME_RELEASE} |
156 exit 0 ;; | 163 exit 0 ;; |
157 Night_Hawk:Power_UNIX:*:*) | 164 Night_Hawk:Power_UNIX:*:*) |
307 echo hppa1.1-hp-osf | 314 echo hppa1.1-hp-osf |
308 exit 0 ;; | 315 exit 0 ;; |
309 hp8??:OSF1:*:*) | 316 hp8??:OSF1:*:*) |
310 echo hppa1.0-hp-osf | 317 echo hppa1.0-hp-osf |
311 exit 0 ;; | 318 exit 0 ;; |
319 i?86:OSF1:*:*) | |
320 if [ -x /usr/sbin/sysversion ] ; then | |
321 echo ${UNAME_MACHINE}-unknown-osf1mk | |
322 else | |
323 echo ${UNAME_MACHINE}-unknown-osf1 | |
324 fi | |
325 exit 0 ;; | |
312 parisc*:Lites*:*:*) | 326 parisc*:Lites*:*:*) |
313 echo hppa1.1-hp-lites | 327 echo hppa1.1-hp-lites |
314 exit 0 ;; | 328 exit 0 ;; |
315 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) | 329 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
316 echo c1-convex-bsd | 330 echo c1-convex-bsd |
344 CRAY*TS:*:*:*) | 358 CRAY*TS:*:*:*) |
345 echo t90-cray-unicos${UNAME_RELEASE} | 359 echo t90-cray-unicos${UNAME_RELEASE} |
346 exit 0 ;; | 360 exit 0 ;; |
347 CRAY-2:*:*:*) | 361 CRAY-2:*:*:*) |
348 echo cray2-cray-unicos | 362 echo cray2-cray-unicos |
363 exit 0 ;; | |
364 F300:UNIX_System_V:*:*) | |
365 FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'` | |
366 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
367 echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
349 exit 0 ;; | 368 exit 0 ;; |
350 hp3[0-9][05]:NetBSD:*:*) | 369 hp3[0-9][05]:NetBSD:*:*) |
351 echo m68k-hp-netbsd${UNAME_RELEASE} | 370 echo m68k-hp-netbsd${UNAME_RELEASE} |
352 exit 0 ;; | 371 exit 0 ;; |
353 hp3[0-9][05]:OpenBSD:*:*) | 372 hp3[0-9][05]:OpenBSD:*:*) |
463 echo m68010-convergent-sysv | 482 echo m68010-convergent-sysv |
464 exit 0 ;; | 483 exit 0 ;; |
465 m68*:*:R3V[567]*:*) | 484 m68*:*:R3V[567]*:*) |
466 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; | 485 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; |
467 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) | 486 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) |
468 UNAME_REL=4.3 | 487 OS_REL='' |
469 if test -f /etc/.relid; then | 488 test -r /etc/.relid \ |
470 UNAME_REL=4.3.`awk '{ print $3 }' /etc/.relid` | 489 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
471 fi | 490 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
472 uname -p 2>/dev/null | grep 86 >/dev/null \ | 491 && echo i486-ncr-sysv4.3${OS_REL} && exit 0 |
473 && echo i486-ncr-sysv$UNAME_REL && exit 0 | 492 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
474 uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | 493 && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; |
475 && echo i586-ncr-sysv$UNAME_REL && exit 0 ;; | |
476 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) | 494 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
477 uname -p 2>/dev/null | grep 86 >/dev/null \ | 495 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
478 && echo i486-ncr-sysv4 && exit 0 ;; | 496 && echo i486-ncr-sysv4 && exit 0 ;; |
479 m68*:LynxOS:2.*:*) | 497 m68*:LynxOS:2.*:*) |
480 echo m68k-unknown-lynxos${UNAME_RELEASE} | 498 echo m68k-unknown-lynxos${UNAME_RELEASE} |
481 exit 0 ;; | 499 exit 0 ;; |
482 mc68030:UNIX_System_V:4.*:*) | 500 mc68030:UNIX_System_V:4.*:*) |
488 TSUNAMI:LynxOS:2.*:*) | 506 TSUNAMI:LynxOS:2.*:*) |
489 echo sparc-unknown-lynxos${UNAME_RELEASE} | 507 echo sparc-unknown-lynxos${UNAME_RELEASE} |
490 exit 0 ;; | 508 exit 0 ;; |
491 rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) | 509 rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) |
492 echo rs6000-unknown-lynxos${UNAME_RELEASE} | 510 echo rs6000-unknown-lynxos${UNAME_RELEASE} |
511 exit 0 ;; | |
512 SM[BE]S:UNIX_SV:*:*) | |
513 echo mips-dde-sysv${UNAME_RELEASE} | |
493 exit 0 ;; | 514 exit 0 ;; |
494 RM*:SINIX-*:*:*) | 515 RM*:SINIX-*:*:*) |
495 echo mips-sni-sysv4 | 516 echo mips-sni-sysv4 |
496 exit 0 ;; | 517 exit 0 ;; |
497 *:SINIX-*:*:*) | 518 *:SINIX-*:*:*) |
512 echo i860-stratus-sysv4 | 533 echo i860-stratus-sysv4 |
513 exit 0 ;; | 534 exit 0 ;; |
514 mc68*:A/UX:*:*) | 535 mc68*:A/UX:*:*) |
515 echo m68k-apple-aux${UNAME_RELEASE} | 536 echo m68k-apple-aux${UNAME_RELEASE} |
516 exit 0 ;; | 537 exit 0 ;; |
517 R3000:*System_V*:*:*) | 538 R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*) |
518 if [ -d /usr/nec ]; then | 539 if [ -d /usr/nec ]; then |
519 echo mips-nec-sysv${UNAME_RELEASE} | 540 echo mips-nec-sysv${UNAME_RELEASE} |
520 else | 541 else |
521 echo mips-unknown-sysv${UNAME_RELEASE} | 542 echo mips-unknown-sysv${UNAME_RELEASE} |
522 fi | 543 fi |
562 #if !defined (__ARCHITECTURE__) | 583 #if !defined (__ARCHITECTURE__) |
563 #define __ARCHITECTURE__ "m68k" | 584 #define __ARCHITECTURE__ "m68k" |
564 #endif | 585 #endif |
565 int version; | 586 int version; |
566 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; | 587 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; |
567 printf ("%s-next-%s%d\n", __ARCHITECTURE__, version); | 588 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); |
568 exit (0); | 589 exit (0); |
569 #endif | 590 #endif |
570 | 591 |
571 #if defined (MULTIMAX) || defined (n16) | 592 #if defined (MULTIMAX) || defined (n16) |
572 #if defined (UMAXV) | 593 #if defined (UMAXV) |