]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: Look for GNU tools on macOS too
authorAndrea Bolognani <abologna@redhat.com>
Wed, 24 Mar 2021 10:33:15 +0000 (11:33 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 1 Apr 2021 13:34:54 +0000 (15:34 +0200)
commit8526abc454ad0c2d8eb456c6753e2e333960cc4f
tree2560dabd4312a6771d6da974aeaa1fe35a19bbed
parent7cbcc9f888abe9edf5819580f83f15844be9c736
meson: Look for GNU tools on macOS too

macOS is similar to FreeBSD in that it ships non-GNU versions
of several utilities that we need in the base system.

macOS actually includes GNU make already, but unfortunately due
to licensing reasons the tool is permanently stuck in 2006, so
even in that case users are better off installing a recent
version from Homebrew along with the dozens of other libvirt
dependencies that already need to be obtained that way.

Note that, unlike FreeBSD ports, Homebrew is fully consistent
in adding the 'g' prefix to the name of the GNU tools, so we
can detect GNU grep without additional hacks.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
build-aux/meson.build