public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-158] configure: Only create serdep.tmp if needed
@ 2023-04-21 19:16 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-04-21 19:16 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7d115e014111565653b3e716bb2911c0016838e5

commit r14-158-g7d115e014111565653b3e716bb2911c0016838e5
Author: Peter Foley <pefoley2@pefoley.com>
Date:   Fri Apr 21 13:14:51 2023 -0600

    configure: Only create serdep.tmp if needed
    
    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

Diff:
---
 configure    | 2 ++
 configure.ac | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/configure b/configure
index 85883099410..0494e2fa2bf 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 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 2b612dce6e9..f5cce5830bc 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 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-21 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21 19:16 [gcc r14-158] configure: Only create serdep.tmp if needed Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).