From: Andrea Bolognani Date: Thu, 1 Apr 2021 12:11:09 +0000 (+0200) Subject: meson: Don't check whether /usr/local/bin/grep is GNU grep X-Git-Tag: v7.3.0-rc1~395 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=457f4e6e1eda25ad1a5f7440ce8d877e6795bf5a;p=thirdparty%2Flibvirt.git meson: Don't check whether /usr/local/bin/grep is GNU grep Since /usr/local is where ports live, it's reasonable to assume that a grep binary found in there will have been installed via ports and will thus be GNU grep. Suggested-by: Erik Skultety Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- diff --git a/build-aux/meson.build b/build-aux/meson.build index 1095982397..e491bdeebc 100644 --- a/build-aux/meson.build +++ b/build-aux/meson.build @@ -26,10 +26,6 @@ if host_machine.system() == 'freebsd' if not grep_prog.found() error('GNU grep not found') endif - grep_cmd = run_command(grep_prog, '--version') - if grep_cmd.stdout().startswith('grep (BSD grep') - error('GNU grep not found') - endif endif elif host_machine.system() == 'darwin' grep_prog = find_program('ggrep')