projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcad734
)
(AIX4): More robust release numbering discovery.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 28 Jun 1995 21:57:23 +0000
(17:57 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 28 Jun 1995 21:57:23 +0000
(17:57 -0400)
From-SVN: r10083
gcc/config.guess
patch
|
blob
|
history
diff --git
a/gcc/config.guess
b/gcc/config.guess
index 6b815db7d1dcdd42fa96a3492aa158b9231cc7ae..51d040c2855a0f8ed63ef8fc9d868ed0cf3cee04 100755
(executable)
--- 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