fix valgrind prog check, catch more failures

This commit is contained in:
toddouska 2013-05-16 16:20:51 -07:00
parent cfdfa7b2b3
commit 4dbb2d6d3b

View File

@ -1061,7 +1061,8 @@ if test "$ENABLED_VALGRIND" = "yes"
then
AC_CHECK_PROG([HAVE_VALGRIND],[valgrind],[yes],[no])
if [["$HAVE_VALGRIND" = "no" ]]; then
if test "$HAVE_VALGRIND" = "no"
then
AC_MSG_ERROR([Valgrind not found.])
fi
enable_shared=no