From patchwork Wed Mar 4 17:41:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liran Alon X-Patchwork-Id: 11420535 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 52F1C921 for ; Wed, 4 Mar 2020 17:41:24 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2911022B48 for ; Wed, 4 Mar 2020 17:41:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="rOFMVr7G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2911022B48 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:37572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Y1L-00010S-8i for patchwork-qemu-devel@patchwork.kernel.org; Wed, 04 Mar 2020 12:41:23 -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 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== 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 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 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" 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 if test "$zstd" != "no" ; then - if $pkg_config --exist libzstd ; then + if $pkg_config --exists libzstd ; then zstd_cflags="$($pkg_config --cflags libzstd)" zstd_libs="$($pkg_config --libs libzstd)" LIBS="$zstd_libs $LIBS"