[MPlayer-cvslog] r29068 - trunk/configure

reimar subversion at mplayerhq.hu
Fri Mar 27 18:14:58 CET 2009


Author: reimar
Date: Fri Mar 27 18:14:58 2009
New Revision: 29068

Log:
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.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu Mar 26 15:20:15 2009	(r29067)
+++ trunk/configure	Fri Mar 27 18:14:58 2009	(r29068)
@@ -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() {


More information about the MPlayer-cvslog mailing list