Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

(*:Linux:*:*): Recognize alpha-linux-gnulibc1.

  • Loading branch information...
commit d77b066d59b9737cee0d15b4090d957c16186ab2 1 parent c9c88cf
Richard Kenner authored
Showing with 11 additions and 4 deletions.
  1. +11 −4 config.guess
View
15 config.guess
@@ -506,6 +506,7 @@ EOF
ret \$31,(\$26),1
.end main
EOF
+ LIBC=""
${CC-cc} dummy.s -o dummy 2>/dev/null
if test "$?" = 0 ; then
./dummy
@@ -516,10 +517,16 @@ EOF
2)
UNAME_MACHINE="alphaev56"
;;
- esac
- fi
- rm -f dummy.s dummy
- echo ${UNAME_MACHINE}-unknown-linux-gnu ; exit 0
+ esac
+
+ objdump --private-headers dummy | \
+ grep ld.so.1 > /dev/null
+ if test "$?" = 0 ; then
+ LIBC="libc1"
+ fi
+ fi
+ rm -f dummy.s dummy
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
elif test "${UNAME_MACHINE}" = "mips" ; then
cat >dummy.c <<EOF
main(argc, argv)
Please sign in to comment.
Something went wrong with that request. Please try again.