Skip to content

Commit 0210ee6

Browse files
committed
Check for Homebrew on Linux and macOS only.
It does not support any other operating systems at this time.
1 parent 1cee89d commit 0210ee6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,11 @@ PKG_PROG_PKG_CONFIG
844844
#
845845
# Do we have the brew command from Homebrew?
846846
#
847-
AC_PATH_PROG([BREW], [brew])
847+
case "$host_os" in
848+
darwin*|linux*)
849+
AC_PATH_PROG([BREW], [brew])
850+
;;
851+
esac
848852

849853
#
850854
# Solaris pkg-config is annoying. For at least one package (D-Bus, I'm

0 commit comments

Comments
 (0)