changeset 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 0f90eb270fc7
children e7876a076881
files config.guess
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/config.guess	Tue Aug 26 06:38:09 1997 +0000
+++ b/config.guess	Tue Aug 26 09:21:29 1997 +0000
@@ -506,6 +506,7 @@
 		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 @@
 			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)