aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-13 03:46:14 +0000
committerRichard M. Stallman1996-09-13 03:46:14 +0000
commit0f419363eb2ebcf8d1a29684ef285e40d48ac00e (patch)
tree7d49e3d71e6a6dec7cfa085df3db5a6c9ad7d1a1
parent16f45d1b8d556362a0668f192e4453f126946b1c (diff)
downloademacs-0f419363eb2ebcf8d1a29684ef285e40d48ac00e.tar.gz
emacs-0f419363eb2ebcf8d1a29684ef285e40d48ac00e.zip
Use pc instead of unknown, for pc clone systems.
Change linux to linux-gnu.
-rwxr-xr-xconfig.guess44
1 files changed, 22 insertions, 22 deletions
diff --git a/config.guess b/config.guess
index 0613f737fa8..f298e04b7f0 100755
--- a/config.guess
+++ b/config.guess
@@ -81,7 +81,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
81 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 81 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
82 exit 0 ;; 82 exit 0 ;;
83 i86pc:SunOS:5.*:*) 83 i86pc:SunOS:5.*:*)
84 echo i386-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 84 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
85 exit 0 ;; 85 exit 0 ;;
86 sun4*:SunOS:6*:*) 86 sun4*:SunOS:6*:*)
87 # According to config.sub, this is the proper way to canonicalize 87 # According to config.sub, this is the proper way to canonicalize
@@ -332,7 +332,7 @@ EOF
332 echo m68k-hp-netbsd${UNAME_RELEASE} 332 echo m68k-hp-netbsd${UNAME_RELEASE}
333 exit 0 ;; 333 exit 0 ;;
334 i[34]86:BSD/386:*:* | *:BSD/OS:*:*) 334 i[34]86:BSD/386:*:* | *:BSD/OS:*:*)
335 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 335 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
336 exit 0 ;; 336 exit 0 ;;
337 *:FreeBSD:*:*) 337 *:FreeBSD:*:*)
338 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 338 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
@@ -341,7 +341,7 @@ EOF
341 echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` 341 echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
342 exit 0 ;; 342 exit 0 ;;
343 i*:CYGWIN*:*) 343 i*:CYGWIN*:*)
344 echo i386-unknown-cygwin32 344 echo i386-pc-cygwin32
345 exit 0 ;; 345 exit 0 ;;
346 p*:CYGWIN*:*) 346 p*:CYGWIN*:*)
347 echo powerpcle-unknown-cygwin32 347 echo powerpcle-unknown-cygwin32
@@ -357,26 +357,26 @@ EOF
357 # first see if it will tell us. 357 # first see if it will tell us.
358 ld_help_string=`ld --help 2>&1` 358 ld_help_string=`ld --help 2>&1`
359 if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then 359 if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then
360 echo "${UNAME_MACHINE}-unknown-linux" ; exit 0 360 echo "${UNAME_MACHINE}-pc-linux-gnu" ; exit 0
361 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then 361 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then
362 echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0 362 echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0
363 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then 363 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then
364 echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0 364 echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0
365 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then 365 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
366 echo "${UNAME_MACHINE}-unknown-linux" ; exit 0 366 echo "${UNAME_MACHINE}-unknown-linux-gnu" ; exit 0
367 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then 367 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
368 echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0 368 echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0
369 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then 369 elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf32ppc"; then
370 echo "powerpc-unknown-linux" ; exit 0 370 echo "powerpc-unknown-linux-gnu" ; exit 0
371 elif test "${UNAME_MACHINE}" = "alpha" ; then 371 elif test "${UNAME_MACHINE}" = "alpha" ; then
372 echo alpha-unknown-linux ; exit 0 372 echo alpha-unknown-linux-gnu ; exit 0
373 elif test "${UNAME_MACHINE}" = "sparc" ; then 373 elif test "${UNAME_MACHINE}" = "sparc" ; then
374 echo sparc-unknown-linux ; exit 0 374 echo sparc-unknown-linux-gnu ; exit 0
375 else 375 else
376 # Either a pre-BFD a.out linker (linuxoldld) or one that does not give us 376 # Either a pre-BFD a.out linker (linux-gnuoldld) or one that does not give us
377 # useful --help. Gcc wants to distinguish between linuxoldld and linuxaout. 377 # useful --help. Gcc wants to distinguish between linux-gnuoldld and linux-gnuaout.
378 test ! -d /usr/lib/ldscripts/. \ 378 test ! -d /usr/lib/ldscripts/. \
379 && echo "${UNAME_MACHINE}-unknown-linuxoldld" && exit 0 379 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
380 # Determine whether the default compiler is a.out or elf 380 # Determine whether the default compiler is a.out or elf
381 cat >dummy.c <<EOF 381 cat >dummy.c <<EOF
382main(argc, argv) 382main(argc, argv)
@@ -384,9 +384,9 @@ int argc;
384char *argv[]; 384char *argv[];
385{ 385{
386#ifdef __ELF__ 386#ifdef __ELF__
387 printf ("%s-unknown-linux\n", argv[1]); 387 printf ("%s-pc-linux-gnu\n", argv[1]);
388#else 388#else
389 printf ("%s-unknown-linuxaout\n", argv[1]); 389 printf ("%s-pc-linux-gnuaout\n", argv[1]);
390#endif 390#endif
391 return 0; 391 return 0;
392} 392}
@@ -403,25 +403,25 @@ EOF
403 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then 403 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
404 echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} 404 echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
405 else 405 else
406 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE} 406 echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
407 fi 407 fi
408 exit 0 ;; 408 exit 0 ;;
409 i[34]86:*:3.2:*) 409 i[34]86:*:3.2:*)
410 if test -f /usr/options/cb.name; then 410 if test -f /usr/options/cb.name; then
411 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` 411 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
412 echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL 412 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
413 elif /bin/uname -X 2>/dev/null >/dev/null ; then 413 elif /bin/uname -X 2>/dev/null >/dev/null ; then
414 UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` 414 UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
415 (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 415 (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
416 (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ 416 (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
417 && UNAME_MACHINE=i586 417 && UNAME_MACHINE=i586
418 echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL 418 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
419 else 419 else
420 echo ${UNAME_MACHINE}-unknown-sysv32 420 echo ${UNAME_MACHINE}-pc-sysv32
421 fi 421 fi
422 exit 0 ;; 422 exit 0 ;;
423 Intel:Mach:3*:*) 423 Intel:Mach:3*:*)
424 echo i386-unknown-mach3 424 echo i386-pc-mach3
425 exit 0 ;; 425 exit 0 ;;
426 paragon:*:*:*) 426 paragon:*:*:*)
427 echo i860-intel-osf1 427 echo i860-intel-osf1
@@ -547,7 +547,7 @@ main ()
547#endif 547#endif
548 548
549#if defined (__386BSD__) 549#if defined (__386BSD__)
550 printf ("i386-unknown-bsd\n"); exit (0); 550 printf ("i386-pc-bsd\n"); exit (0);
551#endif 551#endif
552 552
553#if defined (sequent) 553#if defined (sequent)