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
This commit is contained in:
Peter Foley 2023-04-21 13:14:51 -06:00 committed by Jeff Law
parent 79c73122fa
commit 7d115e0141
2 changed files with 4 additions and 0 deletions

2
configure vendored
View File

@ -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

View 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