summaryrefslogtreecommitdiff
path: root/build/config.guess
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-11-29 00:17:32 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-11-29 00:17:32 +0000
commit2171e0391bcad4a29cfd2b277cf5cc75c8addd10 (patch)
treeca22f33ce6e252a917e54bcee17d6f4073167e8d /build/config.guess
parent415f638c57dd08a4fb1642fe899ead500b7ab5d6 (diff)
downloadlibapr-2171e0391bcad4a29cfd2b277cf5cc75c8addd10.tar.gz
get errorcodes.c compiling on AIX 5L again
we didn't recognize 5L, so we didn't define _USE_IRS, so we didn't get the prototype for hstrerror(), and I recently told xlc to be pickier, so the compiler bailed on a so-called misuse of hstrerror() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62574 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/config.guess')
-rwxr-xr-xbuild/config.guess5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/config.guess b/build/config.guess
index 32052b489..f8ca267fa 100755
--- a/build/config.guess
+++ b/build/config.guess
@@ -437,7 +437,8 @@ EOF
echo rs6000-ibm-aix3.2
fi
exit 0 ;;
- *:AIX:*:4)
+ # next stanza updated from autoconf 2.52 to get support for 5L
+ *:AIX:*:[45])
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
if /usr/sbin/lsattr -EHl ${IBM_CPU_ID} | grep POWER >/dev/null 2>&1; then
IBM_ARCH=rs6000
@@ -447,7 +448,7 @@ EOF
if [ -x /usr/bin/oslevel ] ; then
IBM_REV=`/usr/bin/oslevel`
else
- IBM_REV=4.${UNAME_RELEASE}
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
fi
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
exit 0 ;;