]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure: Only create serdep.tmp if needed
authorPeter Foley <pefoley2@pefoley.com>
Fri, 21 Apr 2023 19:14:51 +0000 (13:14 -0600)
committerJeff Law <jlaw@ventanamicro>
Fri, 21 Apr 2023 19:16:08 +0000 (13:16 -0600)
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

configure
configure.ac

index 858830994104960d205d02abe5152edd6f9eadb1..0494e2fa2bf528f38d2c5d872fe2e3986cd01d14 100755 (executable)
--- 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
index 2b612dce6e9a1d3ab5eab994d7cf2a09c8a04916..f5cce5830bc0897a9e575cb6567f8d78677e80d5 100644 (file)
@@ -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