From nobody Thu Nov 13 21:55:21 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=oracle.com ARC-Seal: i=1; a=rsa-sha256; t=1583343696; cv=none; d=zohomail.com; s=zohoarc; b=h8KwbhtypOAvYJy1FJUg+TMKiYqZVx87SAtu/zVIg5IEB3LHn+4IUdQWL/lSIwmu+fpqJv0azlCuWTWd23r4xHXuGiSacW6/c90FWjEneGZWCV2CF2GaikdSl+BJJO74WQWgCQ6k+AXCqGp6FRboRuGUpgfTTkntsf4pFE/aPRo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583343696; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=o5M69noFxkyvpJ14JVB5JPXJcFk8kRfKPovdExpo4dA=; b=SX35YR4Oxg5IkBC1jH1EeXhTXgfL+IGZ2mmyHhcwF4Nulph1cq4DeYOIY+8YbdyiI3CziOMuIrPIf7e7PWjTVKxeWgSfcp4Ke9cUagCG29GSDqTUrAPYW06Qs5bUJb9ZpQ1L6WHfx1XRRNcaQ9ZLySoJTbETTaOYYtJx3oLmAKA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583343696626680.2766727497656; Wed, 4 Mar 2020 09:41:36 -0800 (PST) Received: from localhost ([::1]:37572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Y1W-00010S-Rj for importer@patchew.org; Wed, 04 Mar 2020 12:41:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47441) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Y0m-0000FI-E5 for qemu-devel@nongnu.org; Wed, 04 Mar 2020 12:40:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9Y0l-0003lx-9Y for qemu-devel@nongnu.org; Wed, 04 Mar 2020 12:40:48 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:45192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j9Y0l-0003jb-0D for qemu-devel@nongnu.org; Wed, 04 Mar 2020 12:40:47 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 024HOKE3132248; Wed, 4 Mar 2020 17:40:43 GMT Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 2yffcuqy6f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Mar 2020 17:40:43 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 024HNC5T063076; Wed, 4 Mar 2020 17:40:43 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 2yg1eqcy9s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Mar 2020 17:40:43 +0000 Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 024HeZZg004954; Wed, 4 Mar 2020 17:40:35 GMT Received: from spark.ravello.local (/213.57.127.2) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 04 Mar 2020 09:40:15 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=o5M69noFxkyvpJ14JVB5JPXJcFk8kRfKPovdExpo4dA=; b=rOFMVr7GNeVP7IFjxMAK/K2wKIqY4wpnxGTzpyctFHSQqnVJ5X+McW5MNKr9KLiBusIh 6obrmxLYW46peWJFkLXt7mpYGA0LTJkFkFBSmZitM53WNG0WsFcvzZrp2BVMbo+LCMGk FGx9nFJBimpIX0JMomAmaWiRyxh2ulo8JVwna16Sm0BuuxfuUWyTedURsAOMx+AALnoG Z132wPNoMA660lu5u6Iy/tMoAWbydHu1JeR5fcJn4pX4GmFV79B8m+e6+FU20ulB4bdj bKF1ecIxKMavJdHjW9WPzp3twWMbkKy1JigLuOVFen9E2cPJNxYEnLGxNclTH+Q5PkyQ nA== From: Liran Alon To: qemu-devel@nongnu.org Subject: [PATCH] configure: Fix pkg_config --exists parameter Date: Wed, 4 Mar 2020 19:41:20 +0200 Message-Id: <20200304174120.11970-1-liran.alon@oracle.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9550 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=1 spamscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003040122 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9550 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxscore=0 bulkscore=0 adultscore=0 suspectscore=1 spamscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003040122 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, Bhavesh Davda , Liran Alon , dgilbert@redhat.com, quintela@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" pkg_config parameter should be "--exists", not "--exist". This is probably a typo. Fixes: 3a67848134d0 ("configure: Enable test and libs for zstd") Reviewed-by: Bhavesh Davda Signed-off-by: Liran Alon --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 50c4d96e2a8c..280f3654f786 100755 --- a/configure +++ b/configure @@ -2464,7 +2464,7 @@ fi # zstd check =20 if test "$zstd" !=3D "no" ; then - if $pkg_config --exist libzstd ; then + if $pkg_config --exists libzstd ; then zstd_cflags=3D"$($pkg_config --cflags libzstd)" zstd_libs=3D"$($pkg_config --libs libzstd)" LIBS=3D"$zstd_libs $LIBS" --=20 2.20.1