changeset 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 8c1c47eb351a
children 75d8f8175fef
files config.guess
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
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