From nobody Sat Apr 27 12:56:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1571736203; cv=none; d=zoho.com; s=zohoarc; b=bVdFeosEF9sD5nAgqIbLXPjCH6X9Zx2uXYlVRVPgemU+wnvYG+K21Kadqi9nbQdO2qu5ltKn/UVMZdGw3yFZDpgY9xYwCaDsFib7/YIQP2FOU0xo6RtMBEBaXMI5t78VKSvGoODqmOVoH8vnI2yN8qU9VQslJFalzdhTzSbF0b8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571736203; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=UhCYICOPEdqPfOPvEgcCvH8bMEt7JsgFZGQzDU/rTAc=; b=I7FHwbewC7pRDg02ptQZu2TSYUYCB35pN3TZIYwx8LQvAS2JOmcq/QwiBoOSV079UrKh0OgeIP8+wCTEZa+OsIHhLUOZ+3cuozCuAbq1mUThvIRwNh5c2KpU1LHt8WbK545H3EnZ5pbWkIGEGsU6khjPTJVeoAxBb9JA4eNdF9w= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1571736203583353.8330553190432; Tue, 22 Oct 2019 02:23:23 -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-2-1DcfSLDcPlSzv5A_gbWz6g-1; Tue, 22 Oct 2019 05:23:18 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4CA7F80183E; Tue, 22 Oct 2019 09:23:07 +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 736061001B33; Tue, 22 Oct 2019 09:23:03 +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 BBDA23FB41; Tue, 22 Oct 2019 09:22:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x9JBkcHG027484 for ; Sat, 19 Oct 2019 07:46:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id A58155DA60; Sat, 19 Oct 2019 11:46:38 +0000 (UTC) Received: from mx1.redhat.com (ext-mx19.extmail.prod.ext.phx2.redhat.com [10.5.110.48]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A0D335DA5B for ; Sat, 19 Oct 2019 11:46:36 +0000 (UTC) Received: from mx.sdf.org (ol.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C66EC307D88C for ; Sat, 19 Oct 2019 11:46:34 +0000 (UTC) Received: from sdf.org (IDENT:coypu@faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id x9JBkXOq012061 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for ; Sat, 19 Oct 2019 11:46:33 GMT Received: (from coypu@localhost) by sdf.org (8.15.2/8.12.8/Submit) id x9JBkXPc020422 for libvir-list@redhat.com; Sat, 19 Oct 2019 11:46:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571736202; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UhCYICOPEdqPfOPvEgcCvH8bMEt7JsgFZGQzDU/rTAc=; b=WKcZ+Lu7nmcaDB4LJ7eTXDk+rvGatiHZOynmgkKE5ygsmqkilbJoZDQJUzrfVCEK2OlbNW 74FQzUyDbkt68f/iWpGLay6PNnUviKCvB3Me8IAkC1PPUUUae+lxwagQdY+ruDFy/vL06R cagjxem1vul61c995hw9BH+4nV9vJQI= Date: Sat, 19 Oct 2019 11:46:33 +0000 From: Maya Rashish To: libvir-list@redhat.com Message-ID: <20191019114633.GA20571@SDF.ORG> MIME-Version: 1.0 User-Agent: Mutt/1.12.1 (2019-06-15) X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 238 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Sat, 19 Oct 2019 11:46:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Sat, 19 Oct 2019 11:46:35 +0000 (UTC) for IP:'205.166.94.20' DOMAIN:'ol.sdf.org' HELO:'mx.sdf.org' FROM:'coypu@sdf.org' RCPT:'' X-RedHat-Spam-Score: 0.002 (RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE) 205.166.94.20 ol.sdf.org 205.166.94.20 ol.sdf.org X-Scanned-By: MIMEDefang 2.84 on 10.5.110.48 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Tue, 22 Oct 2019 03:54:42 -0400 Subject: [libvirt] [PATCH] m4: Improve portability for non-bash shells 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.84 on 10.5.11.22 X-MC-Unique: 1DcfSLDcPlSzv5A_gbWz6g-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" =3D and =3D=3D are both operators to test for string equality in bash, but only =3D is required by POSIX. Signed-off-by: Maya Rashish --- m4/virt-nls.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/virt-nls.m4 b/m4/virt-nls.m4 index be3c53fe4d..fd8707033a 100644 --- a/m4/virt-nls.m4 +++ b/m4/virt-nls.m4 @@ -26,7 +26,7 @@ AC_DEFUN([LIBVIRT_CHECK_NLS],[ then AC_CHECK_FUNC([gettext], [], [ AC_CHECK_LIB([intl], [gettext], [], [ - if test "x$enable_nls" =3D=3D "xcheck" + if test "x$enable_nls" =3D "xcheck" then enable_nls=3Dno else @@ -39,7 +39,7 @@ AC_DEFUN([LIBVIRT_CHECK_NLS],[ if test "x$enable_nls" !=3D "xno" then AC_CHECK_HEADERS([libintl.h], [enable_nls=3Dyes],[ - if test "x$enable_nls" =3D=3D "xcheck" + if test "x$enable_nls" =3D "xcheck" then enable_nls=3Dno else --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list