From nobody Tue Feb 10 22:00:00 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1617279470; cv=none; d=zohomail.com; s=zohoarc; b=ZPVyFhiCZcT2GJ8XYdWX26NDYA+f0JFTnsQ5WsoI+ZJYWfv3AHsPFPcl4Mm1KTleRNCpVIkbx3u5dODH2SczdvG+mL6xJeDy1bMf1aFLClqpJdCOlTnnUjSEj5byXE/IB+V+bRqZIGFK3l0KeOHyKobmsF/PucO8+WGDUFkpqnw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617279470; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=FFrL8YQF2MFH2tRyeBK8QS2jtha+MCkVNPktDJKOHwY=; b=Jojentql9RfAPlvV4hlhR4CxCzjRa8AuRII5c/C77OOn/GxCYa0lUsWxQVHQYsN2xA39JjKIU9x0sftjnp3U1ehuE2J41GWKrhO5Pm3Q7x0wifMqmzzJO8clxm/zgImA2XYpgV3UBDo1vmzd0rrz/H9YkThP/Zf7cSxofWyDBas= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1617279470510788.8484530522254; Thu, 1 Apr 2021 05:17:50 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-212-uU4ewTl0PV2K43J06TA_5A-1; Thu, 01 Apr 2021 08:17:47 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 314EF107ACCD; Thu, 1 Apr 2021 12:17:42 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 66FF52BFED; Thu, 1 Apr 2021 12:17:40 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5F4B04BB7C; Thu, 1 Apr 2021 12:17:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 131CHaTw013777 for ; Thu, 1 Apr 2021 08:17:36 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8DC661B49D; Thu, 1 Apr 2021 12:17:36 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.193.50]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EAB7E60CCD for ; Thu, 1 Apr 2021 12:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617279469; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=FFrL8YQF2MFH2tRyeBK8QS2jtha+MCkVNPktDJKOHwY=; b=jITuqmlvo79EiTAT0xZwlXWFt5WhS2kgUC0sFn1GP6ORVQGbtIJS4GKyDkEfj9HxcyxXqG KfiCsGpmy9bogHFOA5Oj/Qe3a1jLF3vGY+ytQzzgCIDHsS2STjPpJ1KWsCeY/P+AnkEV4C uyAMlwmxtRV7DXmPunjpvpqafXQyokM= X-MC-Unique: uU4ewTl0PV2K43J06TA_5A-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 5/4] meson: Don't check whether /usr/local/bin/grep is GNU grep Date: Thu, 1 Apr 2021 14:17:14 +0200 Message-Id: <20210401121714.454243-1-abologna@redhat.com> In-Reply-To: <20210324183800.201678-1-abologna@redhat.com> References: <20210324183800.201678-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" 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 --- build-aux/meson.build | 4 ---- 1 file changed, 4 deletions(-) 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() =3D=3D 'freebsd' if not grep_prog.found() error('GNU grep not found') endif - grep_cmd =3D run_command(grep_prog, '--version') - if grep_cmd.stdout().startswith('grep (BSD grep') - error('GNU grep not found') - endif endif elif host_machine.system() =3D=3D 'darwin' grep_prog =3D find_program('ggrep') --=20 2.26.3