]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Try to update config.cache atomically; respect symlinks.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 14 Aug 2010 06:34:01 +0000 (08:34 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 27 Aug 2010 17:49:28 +0000 (19:49 +0200)
commite9cceec734dafd433b7038228fe4cf80f7adf5fb
treeae7c0d9fc2870adae20ac58d90f3073c3248cb25
parent55f532e539427ff5829790fd71b6f8c6342b141a
Try to update config.cache atomically; respect symlinks.

* lib/autoconf/general.m4 (AC_CACHE_SAVE): Use `mv -f' to update
the cache file if it is a regular file and not a symlink.  Move
first to temporary name in the target directory if not in the
current directory for atomicity across mount points.
* tests/base.at (AC_CACHE_CHECK): Try symlinked cache file.
* doc/autoconf.texi (Cache Files): Leftover temporary cache
files may be deleted by the user.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
NEWS
doc/autoconf.texi
lib/autoconf/general.m4
tests/base.at