changeset 8639:24927b6a0555

Recognize powerpc-ibm-aix3.2.5.
author Richard Kenner <kenner@gnu.org>
date Fri, 26 Aug 1994 22:45:20 +0000
parents 683b25ea8081
children 3351fa6afe8f
files config.guess
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config.guess	Fri Aug 26 22:21:31 1994 +0000
+++ b/config.guess	Fri Aug 26 22:45:20 1994 +0000
@@ -127,6 +127,19 @@
 	exit 0 ;;
     *:AIX:2:3)
 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+		sed 's/^		//' << EOF >dummy.c
+		#include <sys/systemcfg.h>
+
+		main()
+			{
+			if (!__power_pc())
+				exit(1);
+			puts("powerpc-ibm-aix3.2.5");
+			exit(0);
+			}
+EOF
+		${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
+		rm -f dummy.c dummy
 		echo rs6000-ibm-aix3.2.5
 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
 		echo rs6000-ibm-aix3.2.4