3 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
4 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
5 |
|
|
6 |
timestamp='2001-04-20' |
timestamp='2001-08-23' |
7 |
|
|
8 |
# This file is free software; you can redistribute it and/or modify it |
# This file is free software; you can redistribute it and/or modify it |
9 |
# under the terms of the GNU General Public License as published by |
# under the terms of the GNU General Public License as published by |
52 |
GNU config.guess ($timestamp) |
GNU config.guess ($timestamp) |
53 |
|
|
54 |
Originally written by Per Bothner. |
Originally written by Per Bothner. |
55 |
Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
56 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
57 |
|
|
58 |
This is free software; see the source for copying conditions. There is NO |
This is free software; see the source for copying conditions. There is NO |
95 |
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still |
# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still |
96 |
# use `HOST_CC' if defined, but it is deprecated. |
# use `HOST_CC' if defined, but it is deprecated. |
97 |
|
|
98 |
case $CC_FOR_BUILD,$HOST_CC,$CC in |
set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in |
99 |
,,) echo "int dummy(){}" > $dummy.c |
,,) echo "int dummy(){}" > $dummy.c ; |
100 |
for c in cc gcc c89 ; do |
for c in cc gcc c89 ; do |
101 |
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 |
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; |
102 |
if test $? = 0 ; then |
if test $? = 0 ; then |
103 |
CC_FOR_BUILD="$c"; break |
CC_FOR_BUILD="$c"; break ; |
104 |
fi |
fi ; |
105 |
done |
done ; |
106 |
rm -f $dummy.c $dummy.o $dummy.rel |
rm -f $dummy.c $dummy.o $dummy.rel ; |
107 |
if test x"$CC_FOR_BUILD" = x ; then |
if test x"$CC_FOR_BUILD" = x ; then |
108 |
CC_FOR_BUILD=no_compiler_found |
CC_FOR_BUILD=no_compiler_found ; |
109 |
fi |
fi |
110 |
;; |
;; |
111 |
,,*) CC_FOR_BUILD=$CC ;; |
,,*) CC_FOR_BUILD=$CC ;; |
112 |
,*,*) CC_FOR_BUILD=$HOST_CC ;; |
,*,*) CC_FOR_BUILD=$HOST_CC ;; |
113 |
esac |
esac' |
114 |
|
|
115 |
# This is needed to find uname on a Pyramid OSx when run in the BSD universe. |
# This is needed to find uname on a Pyramid OSx when run in the BSD universe. |
116 |
# (ghazi@noc.rutgers.edu 8/24/94.) |
# (ghazi@noc.rutgers.edu 1994-08-24) |
117 |
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then |
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then |
118 |
PATH=$PATH:/.attbin ; export PATH |
PATH=$PATH:/.attbin ; export PATH |
119 |
fi |
fi |
150 |
# to ELF recently, or will in the future. |
# to ELF recently, or will in the future. |
151 |
case "${UNAME_MACHINE}" in |
case "${UNAME_MACHINE}" in |
152 |
i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k) |
i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k) |
153 |
|
eval $set_cc_for_build |
154 |
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
155 |
| grep __ELF__ >/dev/null |
| grep __ELF__ >/dev/null |
156 |
then |
then |
205 |
jsr \$26,exit |
jsr \$26,exit |
206 |
.end main |
.end main |
207 |
EOF |
EOF |
208 |
|
eval $set_cc_for_build |
209 |
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null |
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null |
210 |
if test "$?" = 0 ; then |
if test "$?" = 0 ; then |
211 |
case `./$dummy` in |
case `./$dummy` in |
227 |
2-307) |
2-307) |
228 |
UNAME_MACHINE="alphaev67" |
UNAME_MACHINE="alphaev67" |
229 |
;; |
;; |
230 |
|
2-1307) |
231 |
|
UNAME_MACHINE="alphaev68" |
232 |
|
;; |
233 |
esac |
esac |
234 |
fi |
fi |
235 |
rm -f $dummy.s $dummy |
rm -f $dummy.s $dummy |
333 |
aushp:SunOS:*:*) |
aushp:SunOS:*:*) |
334 |
echo sparc-auspex-sunos${UNAME_RELEASE} |
echo sparc-auspex-sunos${UNAME_RELEASE} |
335 |
exit 0 ;; |
exit 0 ;; |
336 |
|
sparc*:NetBSD:*) |
337 |
|
echo `uname -p`-unknown-netbsd${UNAME_RELEASE} |
338 |
|
exit 0 ;; |
339 |
atari*:OpenBSD:*:*) |
atari*:OpenBSD:*:*) |
340 |
echo m68k-unknown-openbsd${UNAME_RELEASE} |
echo m68k-unknown-openbsd${UNAME_RELEASE} |
341 |
exit 0 ;; |
exit 0 ;; |
414 |
exit (-1); |
exit (-1); |
415 |
} |
} |
416 |
EOF |
EOF |
417 |
|
eval $set_cc_for_build |
418 |
$CC_FOR_BUILD $dummy.c -o $dummy \ |
$CC_FOR_BUILD $dummy.c -o $dummy \ |
419 |
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ |
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ |
420 |
&& rm -f $dummy.c $dummy && exit 0 |
&& rm -f $dummy.c $dummy && exit 0 |
495 |
exit(0); |
exit(0); |
496 |
} |
} |
497 |
EOF |
EOF |
498 |
|
eval $set_cc_for_build |
499 |
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 |
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 |
500 |
rm -f $dummy.c $dummy |
rm -f $dummy.c $dummy |
501 |
echo rs6000-ibm-aix3.2.5 |
echo rs6000-ibm-aix3.2.5 |
596 |
exit (0); |
exit (0); |
597 |
} |
} |
598 |
EOF |
EOF |
599 |
|
eval $set_cc_for_build |
600 |
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` |
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` |
601 |
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi |
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi |
602 |
rm -f $dummy.c $dummy |
rm -f $dummy.c $dummy |
634 |
exit (0); |
exit (0); |
635 |
} |
} |
636 |
EOF |
EOF |
637 |
|
eval $set_cc_for_build |
638 |
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 |
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 |
639 |
rm -f $dummy.c $dummy |
rm -f $dummy.c $dummy |
640 |
echo unknown-hitachi-hiuxwe2 |
echo unknown-hitachi-hiuxwe2 |
645 |
9000/8??:4.3bsd:*:*) |
9000/8??:4.3bsd:*:*) |
646 |
echo hppa1.0-hp-bsd |
echo hppa1.0-hp-bsd |
647 |
exit 0 ;; |
exit 0 ;; |
648 |
*9??*:MPE/iX:*:*) |
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
649 |
echo hppa1.0-hp-mpeix |
echo hppa1.0-hp-mpeix |
650 |
exit 0 ;; |
exit 0 ;; |
651 |
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) |
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) |
689 |
echo xmp-cray-unicos |
echo xmp-cray-unicos |
690 |
exit 0 ;; |
exit 0 ;; |
691 |
CRAY*Y-MP:*:*:*) |
CRAY*Y-MP:*:*:*) |
692 |
echo ymp-cray-unicos${UNAME_RELEASE} |
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
693 |
exit 0 ;; |
exit 0 ;; |
694 |
CRAY*[A-Z]90:*:*:*) |
CRAY*[A-Z]90:*:*:*) |
695 |
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ |
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ |
696 |
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
697 |
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ |
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
698 |
|
-e 's/\.[^.]*$/.X/' |
699 |
exit 0 ;; |
exit 0 ;; |
700 |
CRAY*TS:*:*:*) |
CRAY*TS:*:*:*) |
701 |
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
776 |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
echo ${UNAME_MACHINE}-unknown-linux-gnu |
777 |
exit 0 ;; |
exit 0 ;; |
778 |
mips:Linux:*:*) |
mips:Linux:*:*) |
779 |
cat >$dummy.c <<EOF |
case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in |
780 |
#ifdef __cplusplus |
big) echo mips-unknown-linux-gnu && exit 0 ;; |
781 |
#include <stdio.h> /* for printf() prototype */ |
little) echo mipsel-unknown-linux-gnu && exit 0 ;; |
782 |
int main (int argc, char *argv[]) { |
esac |
|
#else |
|
|
int main (argc, argv) int argc; char *argv[]; { |
|
|
#endif |
|
|
#ifdef __MIPSEB__ |
|
|
printf ("%s-unknown-linux-gnu\n", argv[1]); |
|
|
#endif |
|
|
#ifdef __MIPSEL__ |
|
|
printf ("%sel-unknown-linux-gnu\n", argv[1]); |
|
|
#endif |
|
|
return 0; |
|
|
} |
|
|
EOF |
|
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 |
|
|
rm -f $dummy.c $dummy |
|
783 |
;; |
;; |
784 |
ppc:Linux:*:*) |
ppc:Linux:*:*) |
785 |
# Determine Lib Version |
echo powerpc-unknown-linux-gnu |
786 |
cat >$dummy.c <<EOF |
exit 0 ;; |
787 |
#include <features.h> |
ppc64:Linux:*:*) |
788 |
#if defined(__GLIBC__) |
echo powerpc64-unknown-linux-gnu |
|
extern char __libc_version[]; |
|
|
extern char __libc_release[]; |
|
|
#endif |
|
|
main(argc, argv) |
|
|
int argc; |
|
|
char *argv[]; |
|
|
{ |
|
|
#if defined(__GLIBC__) |
|
|
printf("%s %s\n", __libc_version, __libc_release); |
|
|
#else |
|
|
printf("unknown\n"); |
|
|
#endif |
|
|
return 0; |
|
|
} |
|
|
EOF |
|
|
LIBC="" |
|
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null |
|
|
if test "$?" = 0 ; then |
|
|
./$dummy | grep 1\.99 > /dev/null |
|
|
if test "$?" = 0 ; then LIBC="libc1" ; fi |
|
|
fi |
|
|
rm -f $dummy.c $dummy |
|
|
echo powerpc-unknown-linux-gnu${LIBC} |
|
789 |
exit 0 ;; |
exit 0 ;; |
790 |
alpha:Linux:*:*) |
alpha:Linux:*:*) |
791 |
cat <<EOF >$dummy.s |
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
792 |
.data |
EV5) UNAME_MACHINE=alphaev5 ;; |
793 |
\$Lformat: |
EV56) UNAME_MACHINE=alphaev56 ;; |
794 |
.byte 37,100,45,37,120,10,0 # "%d-%x\n" |
PCA56) UNAME_MACHINE=alphapca56 ;; |
795 |
.text |
PCA57) UNAME_MACHINE=alphapca56 ;; |
796 |
.globl main |
EV6) UNAME_MACHINE=alphaev6 ;; |
797 |
.align 4 |
EV67) UNAME_MACHINE=alphaev67 ;; |
798 |
.ent main |
EV68*) UNAME_MACHINE=alphaev68 ;; |
799 |
main: |
esac |
800 |
.frame \$30,16,\$26,0 |
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null |
801 |
ldgp \$29,0(\$27) |
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
|
.prologue 1 |
|
|
.long 0x47e03d80 # implver \$0 |
|
|
lda \$2,-1 |
|
|
.long 0x47e20c21 # amask \$2,\$1 |
|
|
lda \$16,\$Lformat |
|
|
mov \$0,\$17 |
|
|
not \$1,\$18 |
|
|
jsr \$26,printf |
|
|
ldgp \$29,0(\$26) |
|
|
mov 0,\$16 |
|
|
jsr \$26,exit |
|
|
.end main |
|
|
EOF |
|
|
LIBC="" |
|
|
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null |
|
|
if test "$?" = 0 ; then |
|
|
case `./$dummy` in |
|
|
0-0) UNAME_MACHINE="alpha" ;; |
|
|
1-0) UNAME_MACHINE="alphaev5" ;; |
|
|
1-1) UNAME_MACHINE="alphaev56" ;; |
|
|
1-101) UNAME_MACHINE="alphapca56" ;; |
|
|
2-303) UNAME_MACHINE="alphaev6" ;; |
|
|
2-307) UNAME_MACHINE="alphaev67" ;; |
|
|
esac |
|
|
objdump --private-headers $dummy | \ |
|
|
grep ld.so.1 > /dev/null |
|
|
if test "$?" = 0 ; then |
|
|
LIBC="libc1" |
|
|
fi |
|
|
fi |
|
|
rm -f $dummy.s $dummy |
|
802 |
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
803 |
exit 0 ;; |
exit 0 ;; |
804 |
parisc:Linux:*:* | hppa:Linux:*:*) |
parisc:Linux:*:* | hppa:Linux:*:*) |
828 |
# The BFD linker knows what the default object file format is, so |
# The BFD linker knows what the default object file format is, so |
829 |
# first see if it will tell us. cd to the root directory to prevent |
# first see if it will tell us. cd to the root directory to prevent |
830 |
# problems with other programs or directories called `ld' in the path. |
# problems with other programs or directories called `ld' in the path. |
831 |
ld_supported_emulations=`cd /; ld --help 2>&1 \ |
ld_supported_targets=`cd /; ld --help 2>&1 \ |
832 |
| sed -ne '/supported emulations:/!d |
| sed -ne '/supported targets:/!d |
833 |
s/[ ][ ]*/ /g |
s/[ ][ ]*/ /g |
834 |
s/.*supported emulations: *// |
s/.*supported targets: *// |
835 |
s/ .*// |
s/ .*// |
836 |
p'` |
p'` |
837 |
case "$ld_supported_emulations" in |
case "$ld_supported_targets" in |
838 |
i*86linux) |
elf32-i386) |
|
echo "${UNAME_MACHINE}-pc-linux-gnuaout" |
|
|
exit 0 |
|
|
;; |
|
|
elf_i*86) |
|
839 |
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" |
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" |
840 |
;; |
;; |
841 |
i*86coff) |
a.out-i386-linux) |
842 |
|
echo "${UNAME_MACHINE}-pc-linux-gnuaout" |
843 |
|
exit 0 ;; |
844 |
|
coff-i386) |
845 |
echo "${UNAME_MACHINE}-pc-linux-gnucoff" |
echo "${UNAME_MACHINE}-pc-linux-gnucoff" |
846 |
exit 0 |
exit 0 ;; |
847 |
;; |
"") |
848 |
esac |
# Either a pre-BFD a.out linker (linux-gnuoldld) or |
849 |
# Either a pre-BFD a.out linker (linux-gnuoldld) |
# one that does not give us useful --help. |
850 |
# or one that does not give us useful --help. |
echo "${UNAME_MACHINE}-pc-linux-gnuoldld" |
851 |
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. |
exit 0 ;; |
|
# If ld does not provide *any* "supported emulations:" |
|
|
# that means it is gnuoldld. |
|
|
test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 |
|
|
case "${UNAME_MACHINE}" in |
|
|
i*86) |
|
|
VENDOR=pc; |
|
|
;; |
|
|
*) |
|
|
VENDOR=unknown; |
|
|
;; |
|
852 |
esac |
esac |
853 |
# Determine whether the default compiler is a.out or elf |
# Determine whether the default compiler is a.out or elf |
854 |
cat >$dummy.c <<EOF |
cat >$dummy.c <<EOF |
862 |
#ifdef __ELF__ |
#ifdef __ELF__ |
863 |
# ifdef __GLIBC__ |
# ifdef __GLIBC__ |
864 |
# if __GLIBC__ >= 2 |
# if __GLIBC__ >= 2 |
865 |
printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); |
printf ("%s-pc-linux-gnu\n", argv[1]); |
866 |
# else |
# else |
867 |
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); |
printf ("%s-pc-linux-gnulibc1\n", argv[1]); |
868 |
# endif |
# endif |
869 |
# else |
# else |
870 |
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); |
printf ("%s-pc-linux-gnulibc1\n", argv[1]); |
871 |
# endif |
# endif |
872 |
#else |
#else |
873 |
printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); |
printf ("%s-pc-linux-gnuaout\n", argv[1]); |
874 |
#endif |
#endif |
875 |
return 0; |
return 0; |
876 |
} |
} |
877 |
EOF |
EOF |
878 |
|
eval $set_cc_for_build |
879 |
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 |
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 |
880 |
rm -f $dummy.c $dummy |
rm -f $dummy.c $dummy |
881 |
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 |
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 |
882 |
;; |
;; |
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions |
|
|
# are messed up and put the nodename in both sysname and nodename. |
|
883 |
i*86:DYNIX/ptx:4*:*) |
i*86:DYNIX/ptx:4*:*) |
884 |
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
885 |
|
# earlier versions are messed up and put the nodename in both |
886 |
|
# sysname and nodename. |
887 |
echo i386-sequent-sysv4 |
echo i386-sequent-sysv4 |
888 |
exit 0 ;; |
exit 0 ;; |
889 |
i*86:UNIX_SV:4.2MP:2.*) |
i*86:UNIX_SV:4.2MP:2.*) |
902 |
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} |
echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} |
903 |
fi |
fi |
904 |
exit 0 ;; |
exit 0 ;; |
905 |
i*86:*:5:7*) |
i*86:*:5:[78]*) |
906 |
# Fixed at (any) Pentium or better |
case `/bin/uname -X | grep "^Machine"` in |
907 |
UNAME_MACHINE=i586 |
*486*) UNAME_MACHINE=i486 ;; |
908 |
if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then |
*Pentium) UNAME_MACHINE=i586 ;; |
909 |
echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION} |
*Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
910 |
else |
esac |
911 |
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} |
echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} |
|
fi |
|
912 |
exit 0 ;; |
exit 0 ;; |
913 |
i*86:*:3.2:*) |
i*86:*:3.2:*) |
914 |
if test -f /usr/options/cb.name; then |
if test -f /usr/options/cb.name; then |
1002 |
echo ns32k-sni-sysv |
echo ns32k-sni-sysv |
1003 |
fi |
fi |
1004 |
exit 0 ;; |
exit 0 ;; |
1005 |
PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
1006 |
# says <Richard.M.Bartel@ccMail.Census.GOV> |
# says <Richard.M.Bartel@ccMail.Census.GOV> |
1007 |
echo i586-unisys-sysv4 |
echo i586-unisys-sysv4 |
1008 |
exit 0 ;; |
exit 0 ;; |
1009 |
*:UNIX_System_V:4*:FTX*) |
*:UNIX_System_V:4*:FTX*) |
1015 |
# From seanf@swdc.stratus.com. |
# From seanf@swdc.stratus.com. |
1016 |
echo i860-stratus-sysv4 |
echo i860-stratus-sysv4 |
1017 |
exit 0 ;; |
exit 0 ;; |
1018 |
|
*:VOS:*:*) |
1019 |
|
# From Paul.Green@stratus.com. |
1020 |
|
echo hppa1.1-stratus-vos |
1021 |
|
exit 0 ;; |
1022 |
mc68*:A/UX:*:*) |
mc68*:A/UX:*:*) |
1023 |
echo m68k-apple-aux${UNAME_RELEASE} |
echo m68k-apple-aux${UNAME_RELEASE} |
1024 |
exit 0 ;; |
exit 0 ;; |
1111 |
*:ITS:*:*) |
*:ITS:*:*) |
1112 |
echo pdp10-unknown-its |
echo pdp10-unknown-its |
1113 |
exit 0 ;; |
exit 0 ;; |
1114 |
|
i*86:XTS-300:*:STOP) |
1115 |
|
echo ${UNAME_MACHINE}-unknown-stop |
1116 |
|
exit 0 ;; |
1117 |
|
i*86:atheos:*:*) |
1118 |
|
echo ${UNAME_MACHINE}-unknown-atheos |
1119 |
|
exit 0 ;; |
1120 |
esac |
esac |
1121 |
|
|
1122 |
#echo '(No uname command or uname output not recognized.)' 1>&2 |
#echo '(No uname command or uname output not recognized.)' 1>&2 |
1236 |
} |
} |
1237 |
EOF |
EOF |
1238 |
|
|
1239 |
|
eval $set_cc_for_build |
1240 |
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 |
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 |
1241 |
rm -f $dummy.c $dummy |
rm -f $dummy.c $dummy |
1242 |
|
|