comparison config.guess @ 19540:06552ba973ce libc-970827 libc-970828 libc-970829 libc-970830 libc-970831 libc-970901 libc-970902 libc-970903 libc-970904 libc-970905

(*:Linux:*:*): Recognize alpha-linux-gnulibc1.
author Richard Kenner <kenner@gnu.org>
date Tue, 26 Aug 1997 09:21:29 +0000
parents 9ccea8ddd344
children 97dbdfb505f9
comparison
equal deleted inserted replaced
19539:0f90eb270fc7 19540:06552ba973ce
504 cmoveq \$4,0,\$3 504 cmoveq \$4,0,\$3
505 addl \$3,\$31,\$0 505 addl \$3,\$31,\$0
506 ret \$31,(\$26),1 506 ret \$31,(\$26),1
507 .end main 507 .end main
508 EOF 508 EOF
509 LIBC=""
509 ${CC-cc} dummy.s -o dummy 2>/dev/null 510 ${CC-cc} dummy.s -o dummy 2>/dev/null
510 if test "$?" = 0 ; then 511 if test "$?" = 0 ; then
511 ./dummy 512 ./dummy
512 case "$?" in 513 case "$?" in
513 1) 514 1)
514 UNAME_MACHINE="alphaev5" 515 UNAME_MACHINE="alphaev5"
515 ;; 516 ;;
516 2) 517 2)
517 UNAME_MACHINE="alphaev56" 518 UNAME_MACHINE="alphaev56"
518 ;; 519 ;;
519 esac 520 esac
520 fi 521
521 rm -f dummy.s dummy 522 objdump --private-headers dummy | \
522 echo ${UNAME_MACHINE}-unknown-linux-gnu ; exit 0 523 grep ld.so.1 > /dev/null
524 if test "$?" = 0 ; then
525 LIBC="libc1"
526 fi
527 fi
528 rm -f dummy.s dummy
529 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
523 elif test "${UNAME_MACHINE}" = "mips" ; then 530 elif test "${UNAME_MACHINE}" = "mips" ; then
524 cat >dummy.c <<EOF 531 cat >dummy.c <<EOF
525 main(argc, argv) 532 main(argc, argv)
526 int argc; 533 int argc;
527 char *argv[]; 534 char *argv[];