Commit 19bf5040 authored by Luca Barbato's avatar Luca Barbato Committed by James Almer

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.

(Cherry-picked from libav commit 0ee78020)
Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 966a0a81
......@@ -3350,6 +3350,8 @@ target_path='$(CURDIR)'
DEPCMD='$(DEP$(1)) $(DEP$(1)FLAGS) $($(1)DEP_FLAGS) $< 2>/dev/null | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(@F),$(@D)/$(@F)," > $(@:.o=.d)'
DEPFLAGS='-MM'
mkdir -p ffbuild
# find source path
if test -f configure; then
source_path=.
......@@ -3595,7 +3597,6 @@ disable_components(){
map 'disable_components $v' $LIBRARY_LIST
mkdir -p ffbuild
echo "# $0 $FFMPEG_CONFIGURATION" > $logfile
set >> $logfile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment