From patchwork Sun Jan 15 05:58:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Foley X-Patchwork-Id: 43808 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp601987wrn; Sat, 14 Jan 2023 21:59:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXtXfSlUTke1cajSwe+0dcF3a313tkw5oxY7PAHM1l7vdONNiHU2bcql2i1QsWX9OjBXw/kQ X-Received: by 2002:a17:906:c58:b0:78d:f456:1ed0 with SMTP id t24-20020a1709060c5800b0078df4561ed0mr8252404ejf.33.1673762359675; Sat, 14 Jan 2023 21:59:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673762359; cv=none; d=google.com; s=arc-20160816; b=KkKluat+5nrylxSx/H7yZ7OApjl8+glbM0EZxY2TpNeyE0z9pOsg1/cQjdBtEY78LO 6OmsOou8yFh53CWWUIHZVeOxuo7I22ppHP5fh+CW8nAgx+cEA5A5W4Qb3YcrFf08roYo Bu+fILaqO2qG8+KojujYgL6dWHmAwzfL9YsbZU6VJsU9ZGgKbFQSG+90+n92aYlumN81 7S4zMY2SlWd7tj6N8mlMjsgOoO5mauDza7Hb2qK8PKaSMLZGDE/qG/xOzUeEy4e3pjKx BAd9G0MMZ1QvPKBEP3wal53PNTIgYO+qrOEShg8388646ZktO14QUirVb7fV13cvDZ5B Qcsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dmarc-filter:delivered-to; bh=I8SqgGnGtd0wlIeBVPNkv7lWwJS9O6Jb7iVaL6mC8SE=; b=fxrUQSDGAHgYOlZ2sFl2g51ia5WwRAhQueeMBhrKqJlN2Nt1R5qGrO9kkP96D0b11b TsXVWkwKLi8N4kF804IyMi+q3vqOkfY8LefxG2NAiAh0vVN45jpiXXfPozrgQjI2Qjuj chNtWi205i1O2ngv/o7+Tb9tj5IQzNtIAXNq/LiRHIV1xPIh8qBOu/8jH3TmpqHdpklb lKgaT0Oi/QI0g9hDWpAib64obSM60ZWRS3VQlBSn8BacSOt/ud77mNi09dZk+XPZ81eP YUGDxyDXXHncsBNM/V1s+HO5FzyML1BVL1hiSWalDjkgDwc1bXuDxiABeP9RjNWgn1zX w/oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pefoley.com header.s=google header.b="J5qL8/bc"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id y7-20020a50e607000000b00486e2db6579si2925465edm.418.2023.01.14.21.59.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Jan 2023 21:59:19 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@pefoley.com header.s=google header.b="J5qL8/bc"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E0A2E385842B for ; Sun, 15 Jan 2023 05:59:14 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by sourceware.org (Postfix) with ESMTPS id 9B5B93858D1E for ; Sun, 15 Jan 2023 05:58:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B5B93858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pefoley.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pefoley.com Received: by mail-qt1-x833.google.com with SMTP id x7so12276211qtv.13 for ; Sat, 14 Jan 2023 21:58:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pefoley.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=I8SqgGnGtd0wlIeBVPNkv7lWwJS9O6Jb7iVaL6mC8SE=; b=J5qL8/bchUSvoI9ERgCc7EpRZkzSb5IWdvYVNm8InQxgFx6Rfb5fI1FVWAZIc5HoAE eP0KB3BEqaOdh/aSOTTJEj/vuMJPQbekZg85kvuftevWvARxxx5s9H3PJxf3TioY07lH Y9l/xstRCRIbAmbE6S7NYDm+auOw7b7cGOFig= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I8SqgGnGtd0wlIeBVPNkv7lWwJS9O6Jb7iVaL6mC8SE=; b=VMXzoY74TP9HNKrvHut19qRMyteIuA/8/bEEH4Jg0T7ZDQKyqz3t48KhKCwPCcYvN9 Zc5Qn1RmVbwrBpNrYk2G0AUz4at4M1KTItZMSnulRQ2UWFA9Mw/F8BdBgeje2rTdV5Nm czNE51nQ82mkyOF6wV22q8FEs4MMZOMPvj5BKfFODGF5co8gkX96LNa1h49dcjP5IoN6 tLOuNrBHg4l40/bjMiWGLrwmAbg7jtRsc23hTL8dyOok1AWnWjPRb9MZwu+vghIkhSOr Saw+mSL1U8t2R1NuQnkUy+AgJ4eC4r9rwmkSXS9TfdAC/sg2TT6Erd3mRgqVAS2oZe0V dPwg== X-Gm-Message-State: AFqh2koVe9ArmfToTdQrRXj/+yWj8moaN1CQsh7E0VejHwdNnQjrC7rj zc9MtaeLi1LSx6akbMCXbNuoAGY584euY0WVS4SaaA== X-Received: by 2002:a05:622a:4295:b0:3b6:2b38:e075 with SMTP id cr21-20020a05622a429500b003b62b38e075mr4231158qtb.9.1673762328476; Sat, 14 Jan 2023 21:58:48 -0800 (PST) Received: from bronx.pefoley.com ([2600:4040:29fb:d300:887b:7eff:fe74:68b2]) by smtp.gmail.com with ESMTPSA id jt14-20020a05622aa00e00b003adc7f652a0sm9322471qtb.66.2023.01.14.21.58.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Jan 2023 21:58:48 -0800 (PST) From: Peter Foley To: gcc-patches@gcc.gnu.org Cc: Peter Foley Subject: [PATCH] configure: Only create serdep.tmp if needed Date: Sun, 15 Jan 2023 00:58:42 -0500 Message-Id: <20230115055842.3965247-1-pefoley2@pefoley.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755067040127979123?= X-GMAIL-MSGID: =?utf-8?q?1755067040127979123?= 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 Signed-off-by: Peter Foley --- configure | 2 ++ configure.ac | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure b/configure index 85883099410..47caaeb23fe 100755 --- a/configure +++ b/configure @@ -9918,7 +9918,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 "x${enable_serial_build_configure}" = xyes || "x${enable_serial_host_configure}" = xyes || "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 2b612dce6e9..847df0c99b5 100644 --- a/configure.ac +++ b/configure.ac @@ -3071,7 +3071,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 [ "x${enable_serial_build_configure}" = xyes || "x${enable_serial_host_configure}" = xyes || "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