From 118dfcd03a92a912e55bb33d14f302175ef6c5ee Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 3 Jan 2007 20:59:52 +0000 Subject: [PATCH] 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 --- autoconf/m4/sanity_check.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/autoconf/m4/sanity_check.m4 b/autoconf/m4/sanity_check.m4 index 64cb4243c7a..639fccca246 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"`