summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-27 17:14:58 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-27 17:14:58 +0000
commit0e70761fd99b1ea958483afb7ad7625c09d26993 (patch)
treef11acab0ac24425bd145b4702d8bd733ad01510b
parent88240c7465a785eb15cb451a32c719f7c85fd833 (diff)
downloadmpv-0e70761fd99b1ea958483afb7ad7625c09d26993.tar.bz2
mpv-0e70761fd99b1ea958483afb7ad7625c09d26993.tar.xz
Rename local TMP variable to TMPRES to avoid a clash with the
variable holding the path used for temporary files - this is used by mingw-w64 and this change avoids crashes with it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29068 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index d3d2026789..d811eab36b 100755
--- a/configure
+++ b/configure
@@ -64,10 +64,10 @@ compile_check() {
echo "$_cc $CFLAGS $extra_cflags $_ld_static $extra_ldflags $libs_mplayer $libs_mencoder -o $TMPEXE $@" >> "$TMPLOG"
rm -f "$TMPEXE"
$_cc $CFLAGS $extra_cflags $_ld_static $extra_ldflags $libs_mplayer $libs_mencoder -o "$TMPEXE" "$@" >> "$TMPLOG" 2>&1
- TMP="$?"
+ TMPRES="$?"
echo >> "$TMPLOG"
echo >> "$TMPLOG"
- return "$TMP"
+ return "$TMPRES"
}
cc_check() {
@@ -85,10 +85,10 @@ yasm_check() {
echo "$_yasm $YASMFLAGS -o $TMPEXE $TMPS $@" >> "$TMPLOG"
rm -f "$TMPEXE"
$_yasm $YASMFLAGS -o "$TMPEXE" "$TMPS" "$@" >> "$TMPLOG" 2>&1
- TMP="$?"
+ TMPRES="$?"
echo >> "$TMPLOG"
echo >> "$TMPLOG"
- return "$TMP"
+ return "$TMPRES"
}
tmp_run() {