set $logfile before use
authorMåns Rullgård <mans@mansr.com>
Thu, 15 May 2008 23:34:43 +0000 (23:34 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 15 May 2008 23:34:43 +0000 (23:34 +0000)
Originally committed as revision 13178 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 1e59c238637b798178a138134ccc69707d66b12e..36569d1b4f997cee22d853f963fe42cdaa86baf9 100755 (executable)
--- a/configure
+++ b/configure
@@ -1060,6 +1060,11 @@ for opt do
     esac
 done
 
+disabled logging && logfile=/dev/null
+
+echo "# $0 $@" > $logfile
+set >> $logfile
+
 cc="${cross_prefix}${cc}"
 ar="${cross_prefix}${ar}"
 nm="${cross_prefix}${nm}"
@@ -1307,11 +1312,6 @@ esac
 
 add_extralibs $osextralibs
 
-disabled logging && logfile=/dev/null
-
-echo "# $0 $@" > $logfile
-set >> $logfile
-
 # Combine FFLDFLAGS and the LDFLAGS environment variable.
 LDFLAGS="$FFLDFLAGS $LDFLAGS"