From d0aa61ca5cfc9b7d401fb5e494d977e3beb90275 Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Mon, 7 Aug 2023 13:07:13 +0200 Subject: [PATCH] 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 --- 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 -- 2.30.2