summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gnu.org>1994-08-26 22:45:20 +0000
committerRichard Kenner <kenner@gnu.org>1994-08-26 22:45:20 +0000
commit0cc8ae1d97fd1b989e73c2e768398d464897e41e (patch)
tree6725390a381eb3f51f58ef2aee6533974de1222c /config.guess
parent656c12e66191cfb14898a5b5741d9ee5878d5547 (diff)
downloademacs-0cc8ae1d97fd1b989e73c2e768398d464897e41e.tar.gz
Recognize powerpc-ibm-aix3.2.5.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.guess b/config.guess
index 7e25de497a1..5838ce9fc11 100755
--- a/config.guess
+++ b/config.guess
@@ -127,6 +127,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
exit 0 ;;
*:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ sed 's/^ //' << EOF >dummy.c
+ #include <sys/systemcfg.h>
+
+ main()
+ {
+ if (!__power_pc())
+ exit(1);
+ puts("powerpc-ibm-aix3.2.5");
+ exit(0);
+ }
+EOF
+ ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
+ rm -f dummy.c dummy
echo rs6000-ibm-aix3.2.5
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
echo rs6000-ibm-aix3.2.4