summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2017-02-10 19:31:34 +0000
committerLuca Barbato <lu_zero@gentoo.org>2017-02-11 15:47:43 +0100
commit0ee78020cd41d81eec651acd7fc65906207796f3 (patch)
tree71264a6024ffeea1aa15e44bef5aec019aa05000 /configure
parentc2f97f050870897575570708ac48c5c15e6a0dd8 (diff)
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
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