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

config

diff --git a/config b/config
index cfcd4720f4162704c53ebd2915588528dc0ce4b4..b3bd96bbfcb674da1fa97ae0286b554d1c437c93 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}