summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-03 20:59:52 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-03 20:59:52 +0000
commitbf671f17cb2df1495d3d3ab32d61d1c03f00df14 (patch)
tree92f43db0668fb27e1abcd1c1ee27216682aecafd
parentb8f3fe8ec5c185db19e28a95dbb26de5b75191f1 (diff)
downloadbcm5719-llvm-bf671f17cb2df1495d3d3ab32d61d1c03f00df14.tar.gz
bcm5719-llvm-bf671f17cb2df1495d3d3ab32d61d1c03f00df14.zip
Fix a configure warning noticed by Duncan Sands.
llvm-svn: 32844
-rw-r--r--llvm/autoconf/m4/sanity_check.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/autoconf/m4/sanity_check.m4 b/llvm/autoconf/m4/sanity_check.m4
index 64cb4243c7a..639fccca246 100644
--- a/llvm/autoconf/m4/sanity_check.m4
+++ b/llvm/autoconf/m4/sanity_check.m4
@@ -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"`
OpenPOWER on IntegriCloud