mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 23:32:00 +00:00
Fix a configure warning noticed by Duncan Sands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f0e76cf1dc
commit
118dfcd03a
@ -9,6 +9,7 @@ dnl $4 - set to 1 to make errors only a warning
|
|||||||
AC_DEFUN([CHECK_PROGRAM_SANITY],
|
AC_DEFUN([CHECK_PROGRAM_SANITY],
|
||||||
[
|
[
|
||||||
AC_MSG_CHECKING([sanity for program ]$1)
|
AC_MSG_CHECKING([sanity for program ]$1)
|
||||||
|
sanity="0"
|
||||||
sanity_path=`which $1 2>/dev/null`
|
sanity_path=`which $1 2>/dev/null`
|
||||||
if test "$?" -eq 0 -a -x "$sanity_path" ; then
|
if test "$?" -eq 0 -a -x "$sanity_path" ; then
|
||||||
sanity=`$1 $2 2>&1 | grep "$3"`
|
sanity=`$1 $2 2>&1 | grep "$3"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user