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 1a37c6d..6da00fe 100755 (executable)
--- a/configure
+++ b/configure
@@ -1279,6 +1279,7 @@ set_default host_cc
 
 # set temporary file name
 : ${TMPDIR:=$TEMPDIR}
 
 # set temporary file name
 : ${TMPDIR:=$TEMPDIR}
+: ${TMPDIR:=$TMP}
 : ${TMPDIR:=/tmp}
 
 TMPC="${TMPDIR}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.c"
 : ${TMPDIR:=/tmp}
 
 TMPC="${TMPDIR}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.c"