From patchwork Thu Mar 19 03:58:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= X-Patchwork-Id: 11446457 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 9FF7A13B1 for ; Thu, 19 Mar 2020 03:59:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F61220753 for ; Thu, 19 Mar 2020 03:59:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WyJ4uLdf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726991AbgCSD7K (ORCPT ); Wed, 18 Mar 2020 23:59:10 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:44659 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726838AbgCSD7K (ORCPT ); Wed, 18 Mar 2020 23:59:10 -0400 Received: by mail-pf1-f195.google.com with SMTP id b72so653793pfb.11 for ; Wed, 18 Mar 2020 20:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xF7llzGdvXkSNWCDUKglJML1OkfF5FEdnEK+pv5u9+Y=; b=WyJ4uLdfiLKakA/AMj2ogjExh5VRurgOI/vam1nWek4334LX+QoKQPypJPc5ouHEHh Mwv9dj7SjInzcMLZlNnPJY0ANAecnDcEPOBjBLbOnW3A5VGmy2HVmKSgXXg7SiBG/q48 fOQGdXeGjmMi90wC2wNKbqMCZlOwGerJFfOvpLq9WHSibh1PO+rwy5aS5kord6X1U9/a Gc2ZUL6dOiu901kz7xLt23oNKaV7csV/tYgxq2jYcwck6cmavefzQehB/PLend4+t6/a 9FEHV/ULd8n+SMudYcaBM9kG96usgZ4nX8kJEyYXM3KM2wqLVPI2wXxUqv9Diu9BIWMo LU0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xF7llzGdvXkSNWCDUKglJML1OkfF5FEdnEK+pv5u9+Y=; b=kVHshGr0n7zFYr874QuzEdhsX+i4MI9CoQAoeqIoZV7H7wpQ33Dvuwdod0PqC3bDP7 0KVLB82PcwuneYi7vKY0O2LUFBpIsJkDKevY3ORr076Tvuc/ADyBMYhzETffWWkduQ3E 4NxiJ1CpmWVvZ5tWF6++GyZGPj754V+eyR1i/BxlWXXdakVqqC+d7AuVaCuNU3MhFYwC T+JSjBRp/sZ+XmOLjgTBN0p1502oh5AQSuQnvR+t0FezeNSuAWYwY1nYgeYGVt9ljXqP i6VksMWJMpo2ABVkF6siBKekL2z4R58xhNDKXUgEueGGHjW+8653JINBL8yMZH0voDUr qfig== X-Gm-Message-State: ANhLgQ2HvDILiYDlyjiXBjwVwqgDkSjZ867BejVyAyWQ/PYeQGFSP7Ct UM4tv4W5LpdGXIwtucWL8DCjPb1f X-Google-Smtp-Source: ADFU+vv1eSAkEaYZFY5+vzYBnRRlNfrf8Iz0CBHaKOaK34GDX0NKZLQsoJ1vUnkpXSqogMmjoMAxkg== X-Received: by 2002:a63:64c6:: with SMTP id y189mr1210270pgb.176.1584590348898; Wed, 18 Mar 2020 20:59:08 -0700 (PDT) Received: from localhost.localdomain ([2402:800:6375:fbd2:7e82:2a61:6f4a:cfb4]) by smtp.gmail.com with ESMTPSA id u6sm506604pgj.7.2020.03.18.20.59.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2020 20:59:08 -0700 (PDT) From: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= To: git@vger.kernel.org Cc: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= , sandals@crustytoothpaste.net, sunshine@sunshineco.com Subject: [PATCH v2 2/3] configure: respect --without-expat flag Date: Thu, 19 Mar 2020 10:58:56 +0700 Message-Id: <0dc2f0a7c56eb36479bf8793d7562490dec8ba0d.1584589859.git.congdanhqx@gmail.com> X-Mailer: git-send-email 2.26.0.rc2.234.g969ad452ca In-Reply-To: References: MIME-Version: 1.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Signed-off-by: Đoàn Trần Công Danh --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 5a73a592e1..896996e177 100644 --- a/configure.ac +++ b/configure.ac @@ -632,9 +632,12 @@ fi GIT_STASH_FLAGS($EXPATDIR) +# Respect --without-expat +if test -z "$NO_EXPAT"; then AC_CHECK_LIB([expat], [XML_ParserCreate], [NO_EXPAT=], [NO_EXPAT=YesPlease]) +fi GIT_UNSTASH_FLAGS($EXPATDIR)