[FFmpeg-cvslog] configure: Move up the avbuild directory creation

Luca Barbato git at videolan.org
Thu Sep 28 05:42:08 EEST 2017


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Fri Feb 10 19:31:34 2017 +0000| [0ee78020cd41d81eec651acd7fc65906207796f3] | committer: Luca Barbato

configure: Move up the avbuild directory creation

The early check for inconsistent in-source vs out-of-source build
cannot generate a config.log otherwise.

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ee78020cd41d81eec651acd7fc65906207796f3
---

 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 9ebc3bf894..69f5863582 100755
--- a/configure
+++ b/configure
@@ -2622,6 +2622,8 @@ target_path='$(CURDIR)'
 DEPCMD='$(DEP$(1)) $(DEP$(1)FLAGS) $($(1)DEP_FLAGS) $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o," > $(@:.o=.d)'
 DEPFLAGS='-MM'
 
+mkdir -p avbuild
+
 # find source path
 if test -f configure; then
     source_path=.
@@ -2839,7 +2841,6 @@ disable_components(){
 
 map 'disable_components $v' $LIBRARY_LIST
 
-mkdir -p avbuild
 echo "# $0 $LIBAV_CONFIGURATION" > $logfile
 set >> $logfile
 



More information about the ffmpeg-cvslog mailing list