mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
* config.guess (*:AIX:*:[4567]): Use /usr/biun/lslpp and not
oslevel to determine the OS version number. This gives more a precise version number. From Michael Felt.
This commit is contained in:
parent
3d697cab85
commit
31898b96a4
@ -1,3 +1,9 @@
|
|||||||
|
2014-11-04 Ben Elliston <bje@gnu.org>
|
||||||
|
|
||||||
|
* config.guess (*:AIX:*:[4567]): Use /usr/biun/lslpp and not
|
||||||
|
oslevel to determine the OS version number. This gives more a
|
||||||
|
precise version number. From Michael Felt.
|
||||||
|
|
||||||
2014-09-26 Olivier Hainque <hainque@adacore.com>
|
2014-09-26 Olivier Hainque <hainque@adacore.com>
|
||||||
|
|
||||||
* config.sub (leon, leon[3-9]): New CPUs.
|
* config.sub (leon, leon[3-9]): New CPUs.
|
||||||
|
7
config.guess
vendored
7
config.guess
vendored
@ -2,7 +2,7 @@
|
|||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright 1992-2014 Free Software Foundation, Inc.
|
# Copyright 1992-2014 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2014-03-23'
|
timestamp='2014-11-04'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@ -579,8 +579,9 @@ EOF
|
|||||||
else
|
else
|
||||||
IBM_ARCH=powerpc
|
IBM_ARCH=powerpc
|
||||||
fi
|
fi
|
||||||
if [ -x /usr/bin/oslevel ] ; then
|
if [ -x /usr/bin/lslpp ] ; then
|
||||||
IBM_REV=`/usr/bin/oslevel`
|
IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
|
||||||
|
awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
|
||||||
else
|
else
|
||||||
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user