diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-28 17:57:23 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-28 17:57:23 -0400 |
commit | 85300b55bc68c86c8bd3e06f5f13311a2ee627c8 (patch) | |
tree | c793f7f7bcbf9b5a947bb92dec385cc3e154bc12 /gcc/config.guess | |
parent | bcad7343b522ee13522cb01a2abb514ea9fc5600 (diff) | |
download | gcc-85300b55bc68c86c8bd3e06f5f13311a2ee627c8.zip gcc-85300b55bc68c86c8bd3e06f5f13311a2ee627c8.tar.gz gcc-85300b55bc68c86c8bd3e06f5f13311a2ee627c8.tar.bz2 |
(AIX4): More robust release numbering discovery.
From-SVN: r10083
Diffstat (limited to 'gcc/config.guess')
-rwxr-xr-x | gcc/config.guess | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config.guess b/gcc/config.guess index 6b815db..51d040c 100755 --- a/gcc/config.guess +++ b/gcc/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 |