aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2023-08-07 13:07:13 +0200
committerAlan Modra <amodra@gmail.com>2023-08-12 09:58:23 +0930
commitd0aa61ca5cfc9b7d401fb5e494d977e3beb90275 (patch)
tree35fdefefdce1723c2b4539afa64f73a98cb665f0 /configure.ac
parent60b42421e900f9bb186c306a657f41b88e422bcd (diff)
downloadgdb-d0aa61ca5cfc9b7d401fb5e494d977e3beb90275.zip
gdb-d0aa61ca5cfc9b7d401fb5e494d977e3beb90275.tar.gz
gdb-d0aa61ca5cfc9b7d401fb5e494d977e3beb90275.tar.bz2
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 39dcf54..90a9448 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