config.status: minimize use of $tmp
commitd97d8a7d049e6474431140001fdd80ef14c84abe
authorEric Blake <eblake@redhat.com>
Fri, 27 Aug 2010 19:15:22 +0000 (27 13:15 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 30 Aug 2010 16:43:31 +0000 (30 10:43 -0600)
treed6a663d9aa58dee306e0d543aa8b3c5f0f097ced
parent6284d1bef725b4e038472e4b31605f84f2f77f96
config.status: minimize use of $tmp

* lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP)
(_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_FILE)
(_AC_OUTPUT_HEADERS_PREPARE, _AC_OUTPUT_HEADER): Use $ac_tmp
internally, while preserving $tmp for existing users.
* tests/torture.at (AC_CONFIG_COMMANDS with temporary directory):
New test, that $tmp is available but not essential.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/autoconf/status.m4
tests/torture.at