forked from OSchip/llvm-project
Fix a configure warning noticed by Duncan Sands.
llvm-svn: 32844
This commit is contained in:
parent
b8f3fe8ec5
commit
bf671f17cb
|
@ -9,6 +9,7 @@ dnl $4 - set to 1 to make errors only a warning
|
|||
AC_DEFUN([CHECK_PROGRAM_SANITY],
|
||||
[
|
||||
AC_MSG_CHECKING([sanity for program ]$1)
|
||||
sanity="0"
|
||||
sanity_path=`which $1 2>/dev/null`
|
||||
if test "$?" -eq 0 -a -x "$sanity_path" ; then
|
||||
sanity=`$1 $2 2>&1 | grep "$3"`
|
||||
|
|
Loading…
Reference in New Issue