summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gnu.org>1995-06-28 21:57:23 +0000
committerRichard Kenner <kenner@gnu.org>1995-06-28 21:57:23 +0000
commitb62475ecbf3b9476cad283782db0fb6cc1cfa72a (patch)
tree0dbbf368ac38b71dd4583d39e3978d1903d70a96 /config.guess
parentcf67e20546a6963186caed6f636e8746567d1f02 (diff)
downloademacs-b62475ecbf3b9476cad283782db0fb6cc1cfa72a.tar.gz
(AIX4): More robust release numbering discovery.libc-950723libc-950722
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess6
1 files changed, 2 insertions, 4 deletions
diff --git a/config.guess b/config.guess
index 6b815db7d1d..51d040c2855 100755
--- a/config.guess
+++ b/config.guess
@@ -187,10 +187,8 @@ EOF
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