summaryrefslogtreecommitdiff
path: root/build/config.guess
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-11-29 00:17:32 +0000
committerJeff Trawick <trawick@apache.org>2001-11-29 00:17:32 +0000
commitee9edf2a81f1c8a99d9544a40c0668bd88fdab12 (patch)
treeca22f33ce6e252a917e54bcee17d6f4073167e8d /build/config.guess
parent23ba46755776e4f5fcd879e86a616ffada4afac7 (diff)
downloadapr-ee9edf2a81f1c8a99d9544a40c0668bd88fdab12.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: https://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 ;;