Some shells (ksh in this case) don't say 'command not found'.
authorRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 11:44:28 +0000 (11:44 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 11:44:28 +0000 (11:44 +0000)
PR: 540

config

diff --git a/config b/config
index 2f3878f..79ce83a 100755 (executable)
--- a/config
+++ b/config
@@ -458,7 +458,7 @@ if [ "${SYSTEM}-${MACHINE}" = "Linux-alpha" ]; then
 fi
 
 if [ "${SYSTEM}" = "AIX" ]; then       # favor vendor cc over gcc
-    (cc) 2>&1 | grep -iv "command not found" > /dev/null && CC=cc
+    (cc) 2>&1 | grep -iv "not found" > /dev/null && CC=cc
 fi
 
 CCVER=${CCVER:-0}