From patchwork Mon Aug 7 11:07:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Arsen_Arsenovi=C4=87?= X-Patchwork-Id: 131817 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1381233vqr; Mon, 7 Aug 2023 04:32:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVwCps8ejrw7WlvAORc1DlKiWfVsWfpiXyA2pJB91ltRoQ08cy8FUVG7jqf7cvZi9ejB1o X-Received: by 2002:ac2:5b50:0:b0:4fe:6fc:1fc7 with SMTP id i16-20020ac25b50000000b004fe06fc1fc7mr5100140lfp.27.1691407922830; Mon, 07 Aug 2023 04:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691407922; cv=none; d=google.com; s=arc-20160816; b=Dv3TUsqLqIEyCssUoLZdHAqzv9T/Jqf8zlAWiddT4uZm+8qzVSEFwAz3TgdIaB30t2 VfdA/m8Y4KWk4N6efCmmLYS6n5yYDnGuowM/WQRLuwArN9zoTvd6M47EtJxupoPyxTKq Ospk2Pl/I/NRSfyv7PZbYvzU9mj7JJ76hyO/O2rG86JYZeLWi/9kHxB9nGs4vKlxWfV9 sLblUt9uEgFpUqxSWQc1b49n7dmFkG1fFwpvnja+5gkhnRw+Qx4xKKcbbkmXh59uOGpY yAs3LbsoFY8QqxJO8lKadgIdjJiH/QacwXtbWFUg8s6/a/2KBb8aHWzwbEYUG4SwL7fl j5ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=oZQbPjVdmItsCKY7x4cBoFp31EDQVeuQQCmIwtMskug=; fh=FikWZZc8zQVRGm9XWf8YXln1qE807Cfqx4oJfswIGHA=; b=rF9494/FA3KNXogtevXOJk2ZTZ4ot5pBee1IkVGxxSAGV2FMUpxPzbGsS/cv2oP4vl 3hZRV168OSD2d3+PMyZSLwIcOTBAVkIA2ne5k8zYzSodSOJdArosqR4bXvTRcldT8nsN V9mRhxmpNbXLde9DjZAR25tyP7fMUVTNADVzDzEKjRG5oimij5rJg+kZOU8pZsNHfhTQ SbNJimfF0dufduI5Zt4RLVcvmlbpC6zrYKvn9PB3Y+QUvLVRsejf7YMjLKZ5TfU7t8fR WF6F5zCfDm9OaFfS9QKnozeTnv5oCzaDFCDjOPKgf6yMAzOCrrS4kWmEcOMvCi2WrGXl n4yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=Ko6IHBHH; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id g5-20020a056402180500b00522ba3c7f50si5836340edy.631.2023.08.07.04.32.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 04:32:02 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=Ko6IHBHH; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 698EC3952022 for ; Mon, 7 Aug 2023 11:25:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 698EC3952022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691407506; bh=oZQbPjVdmItsCKY7x4cBoFp31EDQVeuQQCmIwtMskug=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Ko6IHBHH4wI0D8za6r/UCMNMRCgBLc6DMcmTUjN7Nvlaow1Gi8Y3HqXqkyB5HU9U/ gruKyFw8bZrk7HGdtNWeHFKazFT0uNCMVX7ynPzglABFFEt/BTI9+VfE8INQEhLmyv wldUn3RmyJvTwFgxxjzTJ8fxE+inl7PhuNKFGMo4= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [IPv6:2001:67c:2050:0:465::103]) by sourceware.org (Postfix) with ESMTPS id A0DAE3857348; Mon, 7 Aug 2023 11:19:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0DAE3857348 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4RKDNm19PBz9snW; Mon, 7 Aug 2023 13:19:20 +0200 (CEST) To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: Peter Foley Subject: [PATCH 10/45] configure: Only create serdep.tmp if needed Date: Mon, 7 Aug 2023 13:07:13 +0200 Message-ID: <20230807111029.2320238-11-arsen@aarsen.me> In-Reply-To: <20230807111029.2320238-1-arsen@aarsen.me> References: <20230807111029.2320238-1-arsen@aarsen.me> MIME-Version: 1.0 X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Binutils?= From: =?utf-8?q?Arsen_Arsenovi=C4=87?= Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773569754278786922 X-GMAIL-MSGID: 1773569754278786922 From: Peter Foley There's no reason to create this file if none of the serial configure options are passed. ChangeLog: * configure: Regenerate. * configure.ac: Only create serdep.tmp if needed --- configure | 2 ++ configure.ac | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure b/configure index be32bbff1b2..485029b194c 100755 --- a/configure +++ b/configure @@ -10083,7 +10083,9 @@ esac # These force 'configure's to be done one at a time, to avoid problems # with contention over a shared config.cache. rm -f serdep.tmp +if test "x${enable_serial_build_configure}" = xyes || test "x${enable_serial_host_configure}" = xyes || test "x${enable_serial_target_configure}" = xyes; then echo '# serdep.tmp' > serdep.tmp +fi olditem= test "x${enable_serial_build_configure}" = xyes && for item in ${build_configdirs} ; do diff --git a/configure.ac b/configure.ac index 39dcf54b6a8..90a94480ec5 100644 --- a/configure.ac +++ b/configure.ac @@ -3206,7 +3206,9 @@ esac # These force 'configure's to be done one at a time, to avoid problems # with contention over a shared config.cache. rm -f serdep.tmp +if test "x${enable_serial_build_configure}" = xyes || test "x${enable_serial_host_configure}" = xyes || test "x${enable_serial_target_configure}" = xyes; then echo '# serdep.tmp' > serdep.tmp +fi olditem= test "x${enable_serial_build_configure}" = xyes && for item in ${build_configdirs} ; do