aboutsummaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2014-11-15 23:44:29 +0000
committerJan-Benedict Glaw <jbglaw@lug-owl.de>2014-11-15 23:44:29 +0000
commit6a3214b6faabc40a2629560f6553d49684b9578d (patch)
treef4de8694a73288f742334c9e43f42850a0faf0f1 /config.guess
parent34090d559aba20a39e489513ff58dcd06d757055 (diff)
Update config.{sub,guess} from upstream repo
2014-11-16 Jan-Benedict Glaw <jbglaw@lug-owl.de> * config.sub: Update from upstream config repo. * config.guess: Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@217619 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess11
1 files changed, 6 insertions, 5 deletions
diff --git a/config.guess b/config.guess
index 1f5c50c0d15..6c32c8645c8 100755
--- a/config.guess
+++ b/config.guess
@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# 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
# 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,.*/,,'`
@@ -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