From bcea99bb44c71402a88e052ffe726f402d4b2f79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Thu, 15 May 2008 23:34:43 +0000
Subject: [PATCH] set $logfile before use

Originally committed as revision 13178 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index 1e59c238637..36569d1b4f9 100755
--- 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"
 
-- 
GitLab