From: Peter Foley Date: Mon, 7 Aug 2023 11:07:13 +0000 (+0200) Subject: configure: Only create serdep.tmp if needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0aa61ca5cfc9b7d401fb5e494d977e3beb90275;p=binutils-gdb.git 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 --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