File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ AM_PROG_AS
38
38
case $host_os in
39
39
*darwin*)
40
40
if test x$cross_compiling != xyes; then
41
- AC_PATH_PROG ( [ BREW] ,brew ,)
42
- if test x$BREW != x ; then
41
+ AC_CHECK_PROG ( [ BREW] , brew , brew )
42
+ if test x$BREW = xbrew ; then
43
43
# These Homebrew packages may be keg-only, meaning that they won't be found
44
44
# in expected paths because they may conflict with system files. Ask
45
45
# Homebrew where each one is located, then adjust paths accordingly.
@@ -54,10 +54,10 @@ case $host_os in
54
54
VALGRIND_CPPFLAGS="-I$valgrind_prefix/include"
55
55
fi
56
56
else
57
- AC_PATH_PROG ( [ PORT] ,port ,)
57
+ AC_CHECK_PROG ( [ PORT] , port , port )
58
58
# If homebrew isn't installed and macports is, add the macports default paths
59
59
# as a last resort.
60
- if test x$PORT != x ; then
60
+ if test x$PORT = xport ; then
61
61
CPPFLAGS="$CPPFLAGS -isystem /opt/local/include"
62
62
LDFLAGS="$LDFLAGS -L/opt/local/lib"
63
63
fi
You can’t perform that action at this time.
0 commit comments