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 98729827c8e6711159d642227637fd8c6a339383..965884a6277b4b50599ee3db3fad00fca08ea8e6 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"