From: Richard Kenner Date: Wed, 28 Jun 1995 21:57:23 +0000 (-0400) Subject: (AIX4): More robust release numbering discovery. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85300b55bc68c86c8bd3e06f5f13311a2ee627c8;p=gcc.git (AIX4): More robust release numbering discovery. From-SVN: r10083 --- diff --git a/gcc/config.guess b/gcc/config.guess index 6b815db7d1d..51d040c2855 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