fix valgrind prog check, catch more failures
This commit is contained in:
parent
cfdfa7b2b3
commit
4dbb2d6d3b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user