summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2017-02-10 19:31:34 +0000
committerJames Almer <jamrial@gmail.com>2017-06-20 20:40:52 -0300
commit19bf50406ebf8bff1be7388da2ed7a85738d055f (patch)
tree799e5db2e401a5266530e2391635816fbbc5d418 /configure
parent966a0a814d4e0a731a74949379076e1328ca3e78 (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. (Cherry-picked from libav commit 0ee78020cd41d81eec651acd7fc65906207796f3) Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index ace65c36ea..bbf38652a1 100755
--- a/configure
+++ b/configure
@@ -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