[SCM] libav/experimental: configure: better test for mktemp
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:22:24 UTC 2013
The following commit has been merged in the experimental branch:
commit a210bce298281aa08516893580089d102afb2e4d
Author: Mans Rullgard <mans at mansr.com>
Date: Fri Jan 21 19:58:23 2011 +0000
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>
diff --git a/configure b/configure
index 0f1c62d..76ea08d 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(){
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list