projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44caaa5
)
configure: fix mktemp test and fallback function
author
Mans Rullgard
<mans@mansr.com>
Wed, 6 Oct 2010 23:44:52 +0000
(
00:44
+0100)
committer
Mans Rullgard
<mans@mansr.com>
Tue, 18 Jan 2011 22:17:10 +0000
(22:17 +0000)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
123de51
..
895b855
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-1792,11
+1792,11
@@
HOSTEXESUF=$(exesuf $host_os)
: ${TMPDIR:=$TMP}
: ${TMPDIR:=/tmp}
-if ! check_cmd
type mktemp
; then
+if ! check_cmd
mktemp -u
; then
# simple replacement for missing mktemp
# NOT SAFE FOR GENERAL USE
mktemp(){
- echo "${2%XXX*}.${HOSTNAME}.${UID}.$$"
+ echo "${2%
%
XXX*}.${HOSTNAME}.${UID}.$$"
}
fi