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 d977179..9cb837e 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" ;;