Skip to content
This repository
Browse code

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

  • Loading branch information...
commit d77b066d59b9737cee0d15b4090d957c16186ab2 1 parent c9c88cf
authored August 26, 1997

Showing 1 changed file with 11 additions and 4 deletions. Show diff stats Hide diff stats

  1. 15  config.guess
15  config.guess
@@ -506,6 +506,7 @@ EOF
506 506
 		ret \$31,(\$26),1
507 507
 		.end main
508 508
 EOF
  509
+		LIBC=""
509 510
 		${CC-cc} dummy.s -o dummy 2>/dev/null
510 511
 		if test "$?" = 0 ; then
511 512
 			./dummy
@@ -516,10 +517,16 @@ EOF
516 517
 			2)	
517 518
 					UNAME_MACHINE="alphaev56"
518 519
 				;;	
519  
-		esac	
520  
-	  fi	
521  
-	  rm -f dummy.s dummy
522  
-	  echo ${UNAME_MACHINE}-unknown-linux-gnu ; exit 0
  520
+			esac	
  521
+
  522
+			objdump --private-headers dummy | \
  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 530
 	elif test "${UNAME_MACHINE}" = "mips" ; then
524 531
 	  cat >dummy.c <<EOF
525 532
 main(argc, argv)

0 notes on commit d77b066

Please sign in to comment.
Something went wrong with that request. Please try again.