From nobody Mon May 6 00:25:10 2024 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; 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=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1584083120; cv=none; d=zohomail.com; s=zohoarc; b=lYxbSIzYTfuwYIrdOdHXwLJPjw9gXOO8+4ZRqvrTOR2lE3nYu/j+lS5g00R2MNw6JNz/xEPbcc/eStRMWYXRYWF3VdPtXTNmsaTmoFhGohhJqseemxxwEpMhZbPfYtmPBwwxyq9RKRDJBGgATihl+hIFucpKSgUPFlEULviZS3Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1584083120; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=uyj2mvakTUuC+Hy/jcPwJ8jaikJkiKHWjRf4wEXGPBc=; b=FbUnHB2rXl/f5/oLL+W9v8Zw+d7ypSWdTUvQUWbqk5xBKY/A1QDPWo+pj2B2nv6NOTTe3wk5p9pXixron6ha4WkcCSxS/E/iVR1lbdrEKFq1nWvl9DzGpg0K8EQs6b/6vna8IQafkprfdYEmlKdHFMAmMWh3tQ451ju28n4P2Hk= ARC-Authentication-Results: i=1; mx.zohomail.com; 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 1584083120377937.1326192034018; Fri, 13 Mar 2020 00:05:20 -0700 (PDT) Received: from localhost ([::1]:54574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCeNj-0002d6-5I for importer@patchew.org; Fri, 13 Mar 2020 03:05:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47209) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCeN6-0001pQ-2b for qemu-devel@nongnu.org; Fri, 13 Mar 2020 03:04:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCeN4-0001md-7C for qemu-devel@nongnu.org; Fri, 13 Mar 2020 03:04:39 -0400 Received: from mga04.intel.com ([192.55.52.120]:5758) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCeN3-0001dR-V5 for qemu-devel@nongnu.org; Fri, 13 Mar 2020 03:04:38 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2020 00:04:33 -0700 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by fmsmga002.fm.intel.com with ESMTP; 13 Mar 2020 00:04:31 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,547,1574150400"; d="scan'208";a="278121860" From: Zhang Chen To: Laurent Vivier , qemu-dev Subject: [PATCH] configure: Fix configure error. Date: Fri, 13 Mar 2020 14:55:25 +0800 Message-Id: <20200313065525.31722-1-chen.zhang@intel.com> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.120 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: Zhang Chen , Juan Quintela , "Dr . David Alan Gilbert" , Zhang Chen Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Zhang Chen When run the ./configure will always get this error: Unknown option --exist It caused by this patch: commit 3a67848134d0c07da49033f9ed08bf0ddeec0c6d Author: Juan Quintela Date: Tue Dec 17 21:15:24 2019 +0100 configure: Enable test and libs for zstd Add it to several build systems to make testing good. Signed-off-by: Zhang Chen --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 3c7470096f..305591f7e0 100755 --- a/configure +++ b/configure @@ -2475,7 +2475,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.17.1