[FFmpeg-cvslog] configure: better test for mktemp
Mans Rullgard
git
Sun Jan 23 21:01:53 CET 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Fri Jan 21 19:58:23 2011 +0000| [727a20cb6087607fcf15119efd23378dbbce8698] | committer: Michael Niedermayer
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 at mansr.com>
(cherry picked from commit a210bce298281aa08516893580089d102afb2e4d)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=727a20cb6087607fcf15119efd23378dbbce8698
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index d6694c7..0f5a6ab 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(){
More information about the ffmpeg-cvslog
mailing list