mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
Revise support for AIX 4.1 on POWER and PowerPC.
This commit is contained in:
parent
8808effa4e
commit
7127b8cb52
14
config.guess
vendored
14
config.guess
vendored
@ -147,12 +147,20 @@ EOF
|
|||||||
echo rs6000-ibm-aix3.2
|
echo rs6000-ibm-aix3.2
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:AIX:1:4)
|
*:AIX:*:4)
|
||||||
if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
|
if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
|
||||||
echo rs6000-ibm-aix4.1
|
IBM_ARCH=rs6000
|
||||||
else
|
else
|
||||||
echo powerpc-ibm-aix4.1
|
IBM_ARCH=powerpc
|
||||||
fi
|
fi
|
||||||
|
if grep bos410 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
|
IBM_REV=4.1
|
||||||
|
elif grep bos411 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
|
IBM_REV=4.1.1
|
||||||
|
else
|
||||||
|
IBM_REV=4
|
||||||
|
fi
|
||||||
|
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:AIX:*:*)
|
*:AIX:*:*)
|
||||||
echo rs6000-ibm-aix
|
echo rs6000-ibm-aix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user