diff options
author | Richard Kenner <kenner@gnu.org> | 1997-08-26 09:21:29 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gnu.org> | 1997-08-26 09:21:29 +0000 |
commit | d77b066d59b9737cee0d15b4090d957c16186ab2 (patch) | |
tree | 9800ae65cc138b0f7d113a8c21b3d2c82781729a | |
parent | c9c88cf45fc91e2b92469aeb5630b428dcd3b4f6 (diff) | |
download | emacs-libc-970905.tar.gz |
(*:Linux:*:*): Recognize alpha-linux-gnulibc1.libc-970905libc-970904libc-970903libc-970902libc-970901libc-970831libc-970830libc-970829libc-970828libc-970827
-rwxr-xr-x | config.guess | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/config.guess b/config.guess index ee2742b9e0a..1448103304d 100755 --- a/config.guess +++ b/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) |