public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] configure: Only create serdep.tmp if needed
@ 2023-08-12  0:59 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-08-12  0:59 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d0aa61ca5cfc9b7d401fb5e494d977e3beb90275

commit d0aa61ca5cfc9b7d401fb5e494d977e3beb90275
Author: Peter Foley <pefoley2@pefoley.com>
Date:   Mon Aug 7 13:07:13 2023 +0200

    configure: Only create serdep.tmp if needed
    
    There's no reason to create this file if none of the serial configure
    options are passed.
    
            * configure.ac: Only create serdep.tmp if needed

Diff:
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

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

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

only message in thread, other threads:[~2023-08-12  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-12  0:59 [binutils-gdb] configure: Only create serdep.tmp if needed Alan Modra

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).