diff options
author | Ray Donnelly <mingw.android@gmail.com> | 2015-01-09 22:45:01 +0000 |
---|---|---|
committer | Ray Donnelly <mingw.android@gmail.com> | 2015-01-10 12:54:35 +0000 |
commit | 45fea7447e8e30213f6d9ba9a795d68715e1359b (patch) | |
tree | dc27a15350a124ff117ae10ebcf75cf572a43501 /scripts/config.guess | |
parent | 2ba44bb7619ad28238d29386da89989fedaff9a8 (diff) | |
download | crosstool-ng-45fea7447e8e30213f6d9ba9a795d68715e1359b.tar.gz crosstool-ng-45fea7447e8e30213f6d9ba9a795d68715e1359b.tar.bz2 crosstool-ng-45fea7447e8e30213f6d9ba9a795d68715e1359b.zip |
config.{sub,guess}: Update to latest
From http://git.savannah.gnu.org/gitweb/?p=config.git
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Diffstat (limited to 'scripts/config.guess')
-rwxr-xr-x | scripts/config.guess | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/scripts/config.guess b/scripts/config.guess index 1f5c50c0..dbfb9786 100755 --- a/scripts/config.guess +++ b/scripts/config.guess @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2014 Free Software Foundation, Inc. +# Copyright 1992-2015 Free Software Foundation, Inc. -timestamp='2014-03-23' +timestamp='2015-01-01' # 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 @@ -24,12 +24,12 @@ timestamp='2014-03-23' # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # -# Originally written by Per Bothner. +# Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # -# Please send patches with a ChangeLog entry to config-patches@gnu.org. +# Please send patches to <config-patches@gnu.org>. me=`echo "$0" | sed -e 's,.*/,,'` @@ -50,7 +50,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2014 Free Software Foundation, Inc. +Copyright 1992-2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -579,8 +579,9 @@ EOF else IBM_ARCH=powerpc fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` + if [ -x /usr/bin/lslpp ] ; then + IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | + awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi |