aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf/m4
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
commit118dfcd03a92a912e55bb33d14f302175ef6c5ee (patch)
treec932d92e606e6d794aaec77e54dcd410f01fb0dd /autoconf/m4
parentf0e76cf1dc9d04f867ccbea4479e143700620eaf (diff)
downloadexternal_llvm-118dfcd03a92a912e55bb33d14f302175ef6c5ee.zip
external_llvm-118dfcd03a92a912e55bb33d14f302175ef6c5ee.tar.gz
external_llvm-118dfcd03a92a912e55bb33d14f302175ef6c5ee.tar.bz2
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
Diffstat (limited to 'autoconf/m4')
-rw-r--r--autoconf/m4/sanity_check.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/autoconf/m4/sanity_check.m4 b/autoconf/m4/sanity_check.m4
index 64cb424..639fccc 100644
--- a/autoconf/m4/sanity_check.m4
+++ b/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"`