aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-21 19:58:23 +0000
committerMans Rullgard <mans@mansr.com>2011-01-21 20:54:03 +0000
commita210bce298281aa08516893580089d102afb2e4d (patch)
tree1ac0821b61dce8695e4009542a0196f78c2c9a33
parent93bb9ff08e533e30ceec2fa53a25483faf63f633 (diff)
downloadffmpeg-a210bce298281aa08516893580089d102afb2e4d.tar.gz
configure: better test for mktemp
Some variants of mktemp require a template, so provide one when checking for the command. We already supply a template in the subsequent uses of mktemp. Thanks to Michael Kostylev. Signed-off-by: Mans Rullgard <mans@mansr.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0f1c62d683..76ea08d806 100755
--- a/configure
+++ b/configure
@@ -1793,7 +1793,7 @@ HOSTEXESUF=$(exesuf $host_os)
: ${TMPDIR:=$TMP}
: ${TMPDIR:=/tmp}
-if ! check_cmd mktemp -u; then
+if ! check_cmd mktemp -u XXXXXX; then
# simple replacement for missing mktemp
# NOT SAFE FOR GENERAL USE
mktemp(){