Mercurial > mplayer.hg
diff configure @ 29033:8b797cf46bb8
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.
author | reimar |
---|---|
date | Fri, 27 Mar 2009 17:14:58 +0000 |
parents | 9e1d1197c567 |
children | 54d4e18aa1f4 |
line wrap: on
line diff
--- a/configure Thu Mar 26 14:20:15 2009 +0000 +++ b/configure Fri Mar 27 17:14:58 2009 +0000 @@ -64,10 +64,10 @@ 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 @@ 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() {