aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2003-01-18 15:13:03 +0000
committerAndy Polyakov <appro@openssl.org>2003-01-18 15:13:03 +0000
commit726c2231431f811d12bdfcd83052eb62d1fc626b (patch)
tree98f7c4ff7394c1aa29b801f37e81914be4681f7b /config
parent59ae8c941916a2f8850c59638cb0ee4329d57b3e (diff)
downloadopenssl-726c2231431f811d12bdfcd83052eb62d1fc626b.tar.gz
Fix for AIX shared build, see RT#463.
Diffstat (limited to 'config')
-rwxr-xr-xconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/config b/config
index fe8a441b28..e72b982288 100755
--- a/config
+++ b/config
@@ -464,6 +464,10 @@ if [ "${SYSTEM}-${MACHINE}" = "Linux-alpha" ]; then
fi
fi
+if [ "${SYSTEM}" = "AIX" ]; then # favor vendor cc over gcc
+ (cc) 2>&1 | grep -iv "command not found" > /dev/null && CC=cc
+fi
+
CCVER=${CCVER:-0}
# read the output of the embedded GuessOS