configure: Place all temporary files in one separate directory
authorMichał Górny <mgorny@gentoo.org>
Sun, 21 Sep 2014 09:38:25 +0000 (11:38 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sun, 29 Jan 2017 19:17:46 +0000 (20:17 +0100)
commit78489822074096e3ae0f3c3b70accace955086f6
treef7fa28dbff75a5ed230c6e18a923b36ee7f2fdcc
parent11e225db31dcad57e2219ad8dfae2ac027af53d6
configure: Place all temporary files in one separate directory

Place all temporary files within a single, quasi-atomically created
temporary directory rather than relying on unsafe 'mktemp -u'. This
prevents possible race conditions in case two parallel 'mktemp -u' calls
returned the same path. Additionally, it reduces TMPDIR pollution by
keeping all test files in a single subdirectory.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
configure