PR: 2186
authorDr. Stephen Henson <steve@openssl.org>
Tue, 9 Mar 2010 17:08:48 +0000 (17:08 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 9 Mar 2010 17:08:48 +0000 (17:08 +0000)
Submitted By: "Joel Rabinovitch" <Joel.Rabinovitch@tecsys.com>

Detect aix64-gcc

config

diff --git a/config b/config
index 9872982..965884a 100755 (executable)
--- a/config
+++ b/config
@@ -775,6 +775,10 @@ case "$GUESSOS" in
        OBJECT_MODE=${OBJECT_MODE:-32}
        if [ "$CC" = "gcc" ]; then
            OUT="aix-gcc"
+          if [ $OBJECT_MODE -eq 64 ]; then
+            echo 'Your $OBJECT_MODE was found to be set to 64'
+            OUT="aix64-gcc"
+          fi
        elif [ $OBJECT_MODE -eq 64 ]; then
            echo 'Your $OBJECT_MODE was found to be set to 64' 
            OUT="aix64-cc"