summaryrefslogtreecommitdiff
path: root/autoconf/m4
diff options
context:
space:
mode:
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 64cb4243c7..639fccca24 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"`