提交 439909a0 编写于 作者: R Richard Levitte

Some shells (ksh in this case) don't say 'command not found'.

PR: 540
上级 d177e618
...@@ -458,7 +458,7 @@ if [ "${SYSTEM}-${MACHINE}" = "Linux-alpha" ]; then ...@@ -458,7 +458,7 @@ if [ "${SYSTEM}-${MACHINE}" = "Linux-alpha" ]; then
fi fi
if [ "${SYSTEM}" = "AIX" ]; then # favor vendor cc over gcc 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 fi
CCVER=${CCVER:-0} CCVER=${CCVER:-0}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册