Refine AIX support.
authorAndy Polyakov <appro@openssl.org>
Tue, 20 Sep 2005 07:43:27 +0000 (07:43 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 20 Sep 2005 07:43:27 +0000 (07:43 +0000)
PR: 1198

config

diff --git a/config b/config
index d97717988d892ffd954f796d17feca490e5554ce..9cb837e80206a95c6a69c948dfdded336f2f7340 100755 (executable)
--- a/config
+++ b/config
@@ -745,6 +745,11 @@ case "$GUESSOS" in
                fi
            fi
        fi
+       if (lsattr -E -O -l proc0 | grep -i powepc) >/dev/null 2>&1; then
+           :   # this applies even to Power3 and later, as they return PowerPC_POWER[345]
+       else
+           options="$options no-asm"
+       fi
        ;;
   # these are all covered by the catchall below
   # *-dgux) OUT="dgux" ;;