mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:01:41 +03:00
configure: suppress command not found for brew
42331cb48amade configure checks more CMake-like, but now calls `brew` resulting in "command not found" in the configure output if the package is not installed. Redirect stderr to suppress this; it's not an issue for us if `brew` isn't found. Follow-up to42331cb48a#17362 Closes #17407
This commit is contained in:
parent
613308a0f1
commit
d214e62f4e
1 changed files with 2 additions and 2 deletions
|
|
@ -310,7 +310,7 @@ if test -x /usr/bin/caddy; then
|
|||
CADDY=/usr/bin/caddy
|
||||
elif test -x /usr/local/bin/caddy; then
|
||||
CADDY=/usr/local/bin/caddy
|
||||
elif test -x `brew --prefix`/bin/caddy; then
|
||||
elif test -x "`brew --prefix 2>/dev/null`/bin/caddy"; then
|
||||
CADDY=`brew --prefix`/bin/caddy
|
||||
fi
|
||||
AC_ARG_WITH(test-caddy,dnl
|
||||
|
|
@ -326,7 +326,7 @@ if test -x /usr/sbin/vsftpd; then
|
|||
VSFTPD=/usr/sbin/vsftpd
|
||||
elif test -x /usr/local/sbin/vsftpd; then
|
||||
VSFTPD=/usr/local/sbin/vsftpd
|
||||
elif test -x `brew --prefix`/sbin/vsftpd; then
|
||||
elif test -x "`brew --prefix 2>/dev/null`/sbin/vsftpd"; then
|
||||
VSFTPD=`brew --prefix`/sbin/vsftpd
|
||||
fi
|
||||
AC_ARG_WITH(test-vsftpd,dnl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue