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 2f3878f107bb3ca1290acfe903c86f6ac42ad1b3..79ce83aac3d6b8f462fa5b49309af06d0583b5d5 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}