aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2023-04-21 13:14:51 -0600
committerJeff Law <jlaw@ventanamicro>2023-04-21 13:16:08 -0600
commit7d115e014111565653b3e716bb2911c0016838e5 (patch)
treee62202cbb90c696c411985d74fc5f353ef91c59a /configure
parent79c73122fab213f218b85b2c579ffe3cf5e98ad0 (diff)
downloadgcc-7d115e014111565653b3e716bb2911c0016838e5.zip
gcc-7d115e014111565653b3e716bb2911c0016838e5.tar.gz
gcc-7d115e014111565653b3e716bb2911c0016838e5.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. ChangeLog: * configure: Regenerate. * configure.ac: Only create serdep.tmp if needed
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 8588309..0494e2f 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