aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-08-26 00:40:24 +0000
committerRichard M. Stallman1994-08-26 00:40:24 +0000
commit1d6ce4b0474cb653974fa4669a34b79f3439b41d (patch)
treeeab02db3437f0f332f9163c704821b375b98b960
parent6e9495ec160104ee5175bcc8d9338c239c6ef708 (diff)
downloademacs-1d6ce4b0474cb653974fa4669a34b79f3439b41d.tar.gz
emacs-1d6ce4b0474cb653974fa4669a34b79f3439b41d.zip
entered into RCS
-rwxr-xr-xconfig.guess56
1 files changed, 30 insertions, 26 deletions
diff --git a/config.guess b/config.guess
index d71ba014745..e3a6761e211 100755
--- a/config.guess
+++ b/config.guess
@@ -270,7 +270,7 @@ esac
270#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 270#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
271 271
272cat >dummy.c <<EOF 272cat >dummy.c <<EOF
273main() 273main ()
274{ 274{
275#if defined (sony) 275#if defined (sony)
276#if defined (MIPSEB) 276#if defined (MIPSEB)
@@ -278,73 +278,77 @@ main()
278 I don't know.... */ 278 I don't know.... */
279 printf ("mips-sony-bsd\n"); exit (0); 279 printf ("mips-sony-bsd\n"); exit (0);
280#else 280#else
281 printf("m68k-sony-newsos\n"); exit(0); 281 printf ("m68k-sony-newsos\n"); exit (0);
282#endif 282#endif
283#endif 283#endif
284 284
285#if defined (__arm) && defined (__acorn) && defined (__unix) 285#if defined (__arm) && defined (__acorn) && defined (__unix)
286 printf("arm-acorn-riscix"); exit (0); 286 printf ("arm-acorn-riscix"); exit (0);
287#endif 287#endif
288 288
289#if defined(hp300) && !defined(hpux) 289#if defined (hp300) && !defined (hpux)
290 printf("m68k-hp-bsd\n"); exit(0); 290 printf ("m68k-hp-bsd\n"); exit (0);
291#endif 291#endif
292 292
293#if defined(NeXT) 293#if defined (NeXT)
294#if !defined(__ARCHITECTURE__) 294#if !defined (__ARCHITECTURE__)
295#define __ARCHITECTURE__ "m68k" 295#define __ARCHITECTURE__ "m68k"
296#endif 296#endif
297 int version; 297 int version;
298 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; 298 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
299 if (version==2) 299 if (version==2)
300 { 300 {
301 printf("%s-next-ns2\n", __ARCHITECTURE__); 301 printf ("%s-next-ns2\n", __ARCHITECTURE__);
302 exit(0); 302 exit (0);
303 } 303 }
304 else 304 else
305 { 305 {
306 printf("%s-next-ns3\n", __ARCHITECTURE__); 306 printf ("%s-next-ns3\n", __ARCHITECTURE__);
307 exit(0); 307 exit (0);
308 } 308 }
309#endif 309#endif
310 310
311#if defined (MULTIMAX) || defined (n16) 311#if defined (MULTIMAX) || defined (n16)
312#if defined (UMAXV) 312#if defined (UMAXV)
313 printf("ns32k-encore-sysv\n"); exit(0); 313 printf ("ns32k-encore-sysv\n"); exit (0);
314#else 314#else
315#if defined (CMU) 315#if defined (CMU)
316 printf("ns32k-encore-mach\n"); exit(0); 316 printf ("ns32k-encore-mach\n"); exit (0);
317#else 317#else
318 printf("ns32k-encore-bsd\n"); exit(0); 318 printf ("ns32k-encore-bsd\n"); exit (0);
319#endif 319#endif
320#endif 320#endif
321#endif 321#endif
322 322
323#if defined(__386BSD__) || (defined(__bsdi__) && defined(__i386__)) 323#if defined (__386BSD__) || (defined (__bsdi__) && defined (__i386__))
324 printf("i386-unknown-bsd\n"); exit(0); 324 printf ("i386-unknown-bsd\n"); exit (0);
325#endif 325#endif
326 326
327#if defined(sequent) 327#if defined (sequent)
328#if defined(i386) 328#if defined (i386)
329 printf("i386-sequent-dynix\n"); exit(0); 329 printf ("i386-sequent-dynix\n"); exit (0);
330#endif 330#endif
331#if defined (ns32000) 331#if defined (ns32000)
332 printf("ns32k-sequent-dynix\n"); exit(0); 332 printf ("ns32k-sequent-dynix\n"); exit (0);
333#endif 333#endif
334#endif 334#endif
335 335
336#if defined(_SEQUENT_) 336#if defined (_SEQUENT_)
337 printf("i386-sequent-ptx\n"); exit(0); 337 printf ("i386-sequent-ptx\n"); exit (0);
338#endif 338#endif
339 339
340#if defined(vax) 340#if defined (vax)
341#if !defined(ultrix) 341#if !defined (ultrix)
342 printf("vax-dec-bsd\n"); exit(0); 342 printf ("vax-dec-bsd\n"); exit (0);
343#else 343#else
344 printf("vax-dec-ultrix\n"); exit(0); 344 printf ("vax-dec-ultrix\n"); exit (0);
345#endif 345#endif
346#endif 346#endif
347 347
348#if defined (alliant) && defined (i860)
349 printf ("i860-alliant-bsd\n"); exit (0);
350#endif
351
348 exit (1); 352 exit (1);
349} 353}
350EOF 354EOF