From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1691407160; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oZQbPjVdmItsCKY7x4cBoFp31EDQVeuQQCmIwtMskug=; b=GhsPe5rpZbshwakhhgTqQMABbQMODSx8DdGXpCmaJHctkQKObmeb/mcGN+26N6BUcDxBuT pjGBv3X6fGbJdcdM0kc+o9ShX1he8XTW5Gg43n1OvsZWD/XMv4Elg5uIymN7OxkEWe5jts AaNo1M4mID58K8iFyxhnepEosa3/sepOVrG1641DCopjyOcUicooGKJNnGibfbqTkxDBLw Ure3PrEmEGGoCHi8bMSUUeIqCpyWZW5RZHzxpscUUSo/LrlMlLEzg5bYRHmN9XDE700V5L RMvA6ewlJ59ABY/nEchnZi/UbFznn1erJHKDD5qpXciKnMovKp+Hs9A/DzsLlw== From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= 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 Content-Transfer-Encoding: 8bit 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 List-Id: 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 -- 2.41.0