annotate config.guess @ 3187:0790b5563a66

(syms_of_emacs) [CANNOT_DUMP]: Don't defsubr Sdump_emacs*.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 May 1993 00:51:49 +0000
parents d57fe7ef5a9f
children 62c03085c0d9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2907
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
1 #!/bin/sh
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
2 # This script attempts to guess a canonical system name.
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
3 # Copyright (C) 1992, 1993 Free Software Foundation, Inc.
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
4 #
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
5 # This file is free software; you can redistribute it and/or modify it
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
6 # under the terms of the GNU General Public License as published by
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
7 # the Free Software Foundation; either version 2 of the License, or
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
8 # (at your option) any later version.
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
9 #
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
10 # This program is distributed in the hope that it will be useful, but
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
13 # General Public License for more details.
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
14 #
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
15 # You should have received a copy of the GNU General Public License
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
16 # along with this program; if not, write to the Free Software
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
18
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
19 #
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
20 # This script attempts to guess a cononical system name similar to
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
21 # config.sub. If it succeeds, it prints the system name on stdout, and
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
22 # exits with 0. Otherwise, it prints an error message on stderr, and
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
23 # exits with 1.
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
24 #
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
25 # The plan is that this can be called by configure scripts if you
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
26 # don't specify an explicit system type (host/target name).
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
27 #
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
28 # Only a few systems have been added to this list; please add others
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
29 # (but try to keep the structure clean).
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
30 #
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
31
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
32 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
33 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
34 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
35 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
36
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
37 # Note: order is significant - the case branches are not exclusive.
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
38
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
39 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
40 alpha:OSF1:1.*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
41 echo alpha-dec-osf${UNAME_RELEASE}
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
42 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
43 sun4*:SunOS:[5-9].*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
44 echo sparc-sun-solaris2
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
45 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
46 sun4*:SunOS:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
47 echo sparc-sun-sunos${UNAME_RELEASE}
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
48 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
49 sun3*:SunOS:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
50 echo m68k-sun-sunos${UNAME_RELEASE}
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
51 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
52 RISC*:ULTRIX:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
53 echo mips-dec-ultrix${UNAME_RELEASE}
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
54 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
55 VAX*:ULTRIX*:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
56 echo vax-dec-ultrix${UNAME_RELEASE}
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
57 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
58 m88k:*:4*:R4*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
59 echo m88k-motorola-sysv4
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
60 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
61 m88k:*:3*:R3*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
62 echo m88k-motorola-sysv3
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
63 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
64 *:IRIX:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
65 echo mips-sgi-irix${UNAME_RELEASE}
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
66 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
67 i[34]86:AIX:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
68 echo i386-ibm-aix
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
69 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
70 *:AIX:2:3)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
71 echo rs6000-ibm-aix3.2
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
72 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
73 *:AIX:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
74 echo rs6000-ibm-aix
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
75 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
76 *:BOSX:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
77 echo rs6000-bull-bosx
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
78 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
79 9000/31?:HP-UX:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
80 echo m68000-hp-hpux
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
81 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
82 9000/3??:HP-UX:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
83 echo m68k-hp-hpux
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
84 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
85 9000/7??:HP-UX:*:* | 9000/8?7:HP-UX:*:* )
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
86 echo hppa1.1-hp-hpux
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
87 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
88 9000/8??:HP-UX:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
89 echo hppa1.0-hp-hpux
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
90 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
91 C1*:ConvexOS:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
92 echo c1-convex-bsd
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
93 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
94 C2*:ConvexOS:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
95 echo c2-convex-bsd
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
96 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
97 CRAY*X-MP:UNICOS:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
98 echo xmp-cray-unicos
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
99 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
100 CRAY*Y-MP:UNICOS:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
101 echo ymp-cray-unicos
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
102 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
103 CRAY-2:UNICOS:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
104 echo cray2-cray-unicos
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
105 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
106 i[34]86:Linux:*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
107 echo ${UNAME_MACHINE}-unknown-linux
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
108 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
109 i[34]86:UNIX_SV:4.*:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
110 echo i486-unknown-sysv4
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
111 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
112 i[34]86:*:3.2:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
113 if /bin/uname -X 2>/dev/null >/dev/null ; then
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
114 UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
115 (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
116 echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
117 else
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
118 echo ${UNAME_MACHINE}-unknown-sysv3.2
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
119 fi
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
120 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
121 mini*:CTIX:SYS*5:*)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
122 # "miniframe"
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
123 echo m68010-convergent-sysv
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
124 exit 0 ;;
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
125 esac
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
126
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
127 echo '(No uname command or uname output not recognized.)' 1>&2
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
128 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
129
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
130 cat >dummy.c <<EOF
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
131 main()
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
132 {
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
133 #if defined (sony)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
134 #if defined (MIPSEB)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
135 #else
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
136 printf("m68k-sony-newsos\n"); exit(0);
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
137 #endif
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
138 #endif
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
139
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
140 #if defined(hp300) && !defined(hpux)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
141 printf("m68k-hp-bsd\n"); exit(0);
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
142 #endif
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
143
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
144 #if defined (MULTIMAX) || defined (n16)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
145 #if defined (UMAXV)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
146 printf("ns32k-encore-sysv\n"); exit(0);
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
147 #else
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
148 #if defined (CMU)
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
149 printf("ns32k-encore-mach\n"); exit(0);
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
150 #else
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
151 printf("ns32k-encore-bsd\n"); exit(0);
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
152 #endif
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
153 #endif
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
154 #endif
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
155
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
156 #if defined(__386BSD__) || (defined(__bsdi__) && defined(__i386__))
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
157 printf("i386-unknown-bsd\n"); exit(0);
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
158 #endif
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
159
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
160 exit (1);
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
161 }
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
162 EOF
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
163
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
164 ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
165 rm -f dummy.c dummy
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
166
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
167 echo '(Unable to guess system type)' 1>&2
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
168
d57fe7ef5a9f Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
169 exit 1