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: 63202 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2B96E3858005 for ; Sun, 15 Jan 2023 05:59:07 +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-Google-Smtp-Source: AMrXdXv8b5PLsrijJ40D1sCbLEx3CbEg3+sCAA+j83shsaOU7dj3ktC5VlPI/LQ3/WGosJgYSzFbGQ== 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+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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