Fix for AIX shared build, see RT#463.
diff --git a/config b/config
index fe8a441..e72b982 100755
--- a/config
+++ b/config
@@ -464,6 +464,10 @@
   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