You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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 a210bce298
)
This commit is contained in:
committed by
Michael Niedermayer
parent
3df0297567
commit
727a20cb60
2
configure
vendored
2
configure
vendored
@@ -1794,7 +1794,7 @@ HOSTEXESUF=$(exesuf $host_os)
|
|||||||
: ${TMPDIR:=$TMP}
|
: ${TMPDIR:=$TMP}
|
||||||
: ${TMPDIR:=/tmp}
|
: ${TMPDIR:=/tmp}
|
||||||
|
|
||||||
if ! check_cmd mktemp -u; then
|
if ! check_cmd mktemp -u XXXXXX; then
|
||||||
# simple replacement for missing mktemp
|
# simple replacement for missing mktemp
|
||||||
# NOT SAFE FOR GENERAL USE
|
# NOT SAFE FOR GENERAL USE
|
||||||
mktemp(){
|
mktemp(){
|
||||||
|
Reference in New Issue
Block a user