From nobody Tue Feb 10 16:18:48 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=1653327494; cv=none; d=zohomail.com; s=zohoarc; b=AtCLzHX48d275s2CLbDkZ06INJHzi0OdegBLYPsz9Jl0MXHTW6AD9arnCtC7+CT5UutVclFDXDjM/kFFmWpi8XS/K4wSkiC+bPq6YLa2sBM3ymP/1CD/WglL38ajhzRdWLsuwTK5Zm7MFUZaNPrxkoPrSSqekVcF+iLKe22LSh0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1653327494; 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=wQ6XMz9q0dHpDy/FEmTc7uBzarYXjnnqJqvkHxe2nvI=; b=gX4Xh+yEi99mGv+JDQyEqz0y6QDACwIr9qKQtwD9QlWWUBENE6vVhSoiwDjLQo2dDAwrd26AfhFj/EUrklBN2WGmGFTUcw5176BsjNyEMSSC7uvj+IS4VSASCFlOOexBtpz1fzVGMWRXPRIW8jBIWTzVFbhQr/KTkS2cBJ83t/o= 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) 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 1653327494670249.80968062899774; Mon, 23 May 2022 10:38:14 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-596-YMm0C_HBNWmuzHXRq1FVmA-1; Mon, 23 May 2022 13:38:12 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 98E311801389; Mon, 23 May 2022 17:38:06 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 82DC140C1257; Mon, 23 May 2022 17:38:06 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 46B6E1947062; Mon, 23 May 2022 17:38:06 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 039481947063 for ; Mon, 23 May 2022 17:38:04 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id DB10E112131E; Mon, 23 May 2022 17:38:03 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.40.192.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6758E112131B for ; Mon, 23 May 2022 17:38:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653327493; 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=wQ6XMz9q0dHpDy/FEmTc7uBzarYXjnnqJqvkHxe2nvI=; b=P1yZWQcb0fTNCESIFV9RrGbzMtrrO9KIUwI049OK9YkZCYwkbyBeCdWUugsSTLpZU/B7QW 6TVYX7Bi3/IF6lzM9Z/yfEFARnrWWRFp98BG5rT5ZkURt4tcWJArvVRzeNxc33V55tE7mU GbOEr9rycADrFu6NsRtDMckeLfLeLU8= X-MC-Unique: YMm0C_HBNWmuzHXRq1FVmA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 09/13] syntax-check: Detect awk the same as all other programs Date: Mon, 23 May 2022 19:37:50 +0200 Message-Id: <20220523173754.336735-10-abologna@redhat.com> In-Reply-To: <20220523173754.336735-1-abologna@redhat.com> References: <20220523173754.336735-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 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) X-ZM-MESSAGEID: 1653327495675100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani --- build-aux/Makefile.in | 1 + build-aux/meson.build | 3 +++ build-aux/syntax-check.mk | 5 ----- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/build-aux/Makefile.in b/build-aux/Makefile.in index 9ccbec7b1b..7ee4680847 100644 --- a/build-aux/Makefile.in +++ b/build-aux/Makefile.in @@ -7,6 +7,7 @@ RUNUTF8 =3D @runutf8@ PYTHON =3D @PYTHON3@ GREP =3D @GREP@ SED =3D @SED@ +AWK =3D @AWK@ =20 # include syntax-check.mk file include $(top_srcdir)/build-aux/syntax-check.mk diff --git a/build-aux/meson.build b/build-aux/meson.build index bbfa27c4c6..96562a4f4a 100644 --- a/build-aux/meson.build +++ b/build-aux/meson.build @@ -26,6 +26,8 @@ else grep_prog =3D find_program('grep') endif =20 +awk_prog =3D find_program('awk') + syntax_check_conf =3D configuration_data({ 'top_srcdir': meson.source_root(), 'top_builddir': meson.build_root(), @@ -34,6 +36,7 @@ syntax_check_conf =3D configuration_data({ 'PYTHON3': python3_prog.path(), 'GREP': grep_prog.path(), 'SED': sed_prog.path(), + 'AWK': awk_prog.path(), }) =20 configure_file( diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 4573655074..13f565d1b8 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -19,11 +19,6 @@ # along with this program. If not, see # . =20 -# These variables ought to be defined through the configure.ac section -# of the module description. But some packages import this file directly, -# ignoring the module description. -AWK ?=3D awk - # Helper variables. _empty =3D _sp =3D $(_empty) $(_empty) --=20 2.35.3