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
3838case $host_os in
3939 *darwin*)
4040 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
4343 # These Homebrew packages may be keg-only, meaning that they won't be found
4444 # in expected paths because they may conflict with system files. Ask
4545 # Homebrew where each one is located, then adjust paths accordingly.
@@ -54,10 +54,10 @@ case $host_os in
5454 VALGRIND_CPPFLAGS="-I$valgrind_prefix/include"
5555 fi
5656 else
57- AC_PATH_PROG ( [ PORT] ,port ,)
57+ AC_CHECK_PROG ( [ PORT] , port , port )
5858 # If homebrew isn't installed and macports is, add the macports default paths
5959 # as a last resort.
60- if test x$PORT != x ; then
60+ if test x$PORT = xport ; then
6161 CPPFLAGS="$CPPFLAGS -isystem /opt/local/include"
6262 LDFLAGS="$LDFLAGS -L/opt/local/lib"
6363 fi
You can’t perform that action at this time.
0 commit comments