summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-21 19:58:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-23 19:32:06 +0100
commit727a20cb6087607fcf15119efd23378dbbce8698 (patch)
treea413044fa4dd37ab8f981c9cefe39a83d5629bd5 /configure
parent3df02975674af91a726a6ac5e5da01f15d1f85ad (diff)
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> (cherry picked from commit a210bce298281aa08516893580089d102afb2e4d)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d6694c717a..0f5a6abd0e 100755
--- a/configure
+++ b/configure
@@ -1794,7 +1794,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(){