diff config.guess @ 12417:b4d39d2b9795 libc-950722 libc-950723

(AIX4): More robust release numbering discovery.
author Richard Kenner <kenner@gnu.org>
date Wed, 28 Jun 1995 21:57:23 +0000
parents a910242e72c0
children 63ad7aaa9e35
line wrap: on
line diff
--- a/config.guess	Wed Jun 28 21:25:06 1995 +0000
+++ b/config.guess	Wed Jun 28 21:57:23 1995 +0000
@@ -187,10 +187,8 @@
 	else
 		IBM_ARCH=powerpc
 	fi
-	if grep bos410 /usr/include/stdio.h >/dev/null 2>&1; then
-		IBM_REV=4.1
-	elif grep bos411 /usr/include/stdio.h >/dev/null 2>&1; then
-		IBM_REV=4.1.1
+	if [ -x /usr/bin/oslevel ] ; then
+		IBM_REV=`/usr/bin/oslevel`
 	else
 		IBM_REV=4.${UNAME_RELEASE}
 	fi