We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 793ad90 commit 214042aCopy full SHA for 214042a
configure.ac
@@ -43,8 +43,8 @@ case $host_os in
43
# These Homebrew packages may be keg-only, meaning that they won't be found
44
# in expected paths because they may conflict with system files. Ask
45
# Homebrew where each one is located, then adjust paths accordingly.
46
- valgrind_prefix=`$BREW --prefix valgrind 2>/dev/null`
47
- if test x$valgrind_prefix != x; then
+ if $BREW list --versions valgrind >/dev/null; then
+ valgrind_prefix=`$BREW --prefix valgrind 2>/dev/null`
48
VALGRIND_CPPFLAGS="-I$valgrind_prefix/include"
49
fi
50
else
0 commit comments