configure: accept $TMP as location for temporary files
authorMåns Rullgård <mans@mansr.com>
Mon, 29 Dec 2008 12:55:28 +0000 (12:55 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 29 Dec 2008 12:55:28 +0000 (12:55 +0000)
Originally committed as revision 16386 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 1a37c6dffe77bdd7fc1f5125988956a6bb0dc66c..6da00fe423a647dba3040184b93a3f87cb211636 100755 (executable)
--- a/configure
+++ b/configure
@@ -1279,6 +1279,7 @@ set_default host_cc
 
 # set temporary file name
 : ${TMPDIR:=$TEMPDIR}
+: ${TMPDIR:=$TMP}
 : ${TMPDIR:=/tmp}
 
 TMPC="${TMPDIR}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.c"