configure: accept $TMP as location for temporary files
[ffmpeg.git] / configure
index 1a37c6d..6da00fe 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"