From patchwork Fri Mar 13 06:55:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Chen" X-Patchwork-Id: 1254268 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com 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 ozlabs.org (Postfix) with ESMTPS id 48dxXX1J94z9sPF for ; Fri, 13 Mar 2020 18:05:00 +1100 (AEDT) Received: from localhost ([::1]:54568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCeNO-0001tY-3e for incoming@patchwork.ozlabs.org; Fri, 13 Mar 2020 03:04:58 -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 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False 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 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,547,1574150400"; d="scan'208";a="278121860" Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by fmsmga002.fm.intel.com with ESMTP; 13 Mar 2020 00:04:31 -0700 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 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"