summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorClément Bœsch <cboesch@gopro.com>2017-07-28 13:44:07 +0200
committerClément Bœsch <u@pkh.me>2017-09-02 16:14:15 +0200
commite3c1219c7c7457f4b157cfb299e4387c1ebdabe7 (patch)
tree77fe8f33e1f4e7686b7af04bb9b4a0f043335514 /configure
parent9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d (diff)
downloadffmpeg-streaming-e3c1219c7c7457f4b157cfb299e4387c1ebdabe7.zip
ffmpeg-streaming-e3c1219c7c7457f4b157cfb299e4387c1ebdabe7.tar.gz
build: add --disable-autodetect switch
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index fea9f95..f29fe11 100755
--- a/configure
+++ b/configure
@@ -109,6 +109,7 @@ Configuration options:
--enable-gray enable full grayscale support (slower color)
--disable-swscale-alpha disable alpha channel support in swscale
--disable-all disable building components, libraries and programs
+ --disable-autodetect disable automatically detected external libraries [no]
Program options:
--disable-programs do not build command line programs
@@ -1685,6 +1686,7 @@ CONFIG_LIST="
$LIBRARY_LIST
$PROGRAM_LIST
$SUBSYSTEM_LIST
+ autodetect
fontconfig
memory_poisoning
neon_clobber_test
@@ -3589,6 +3591,10 @@ for e in $env; do
eval "export $e"
done
+if disabled autodetect; then
+ disable_weak $EXTERNAL_AUTODETECT_LIBRARY_LIST
+ disable_weak $HWACCEL_AUTODETECT_LIBRARY_LIST
+fi
# Mark specifically enabled, but normally autodetected libraries as requested.
for lib in $AUTODETECT_LIBS; do
enabled $lib && request $lib
OpenPOWER on IntegriCloud