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@gentoo.org>
This commit is contained in:
Luca Barbato 2017-02-10 19:31:34 +00:00
parent c2f97f0508
commit 0ee78020cd

3
configure vendored
View File

@ -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