[Qemu-devel] [PATCH] configure: Put tempfiles in a subdir of the build directory

2014-05-19 Thread Peter Maydell
When libtool support was added to configure, the new temporary files were left out of the list of files cleaned up on exit; this results in a lot of stale .lo files being left around in /tmp. Worse, libtool creates a /tmp/.libs directory which we can't easily clean up. Put all our temporary files

Re: [Qemu-devel] [PATCH] configure: Put tempfiles in a subdir of the build directory

2014-05-19 Thread Eric Blake
On 05/19/2014 11:19 AM, Peter Maydell wrote: When libtool support was added to configure, the new temporary files were left out of the list of files cleaned up on exit; this results in a lot of stale .lo files being left around in /tmp. Worse, libtool creates a /tmp/.libs directory which we

Re: [Qemu-devel] [PATCH] configure: Put tempfiles in a subdir of the build directory

2014-05-19 Thread Peter Maydell
On 19 May 2014 18:46, Eric Blake ebl...@redhat.com wrote: On 05/19/2014 11:19 AM, Peter Maydell wrote: -# NB: do not call exit in the trap handler; this is buggy with some shells; -# see 1285349658-3122-1-git-send-email-loic.min...@linaro.org -trap rm -f $TMPC $TMPO $TMPCXX $TMPE EXIT INT