Commit a2bb771a authored by Luca Barbato's avatar Luca Barbato

configure: Restore the --enable-everything behaviour

Make sure that the minimum set of dependencies needed by the tools
and the examples are enabled.
Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 5e1beec9
...@@ -2452,8 +2452,6 @@ target_os_default=$(tolower $(uname -s)) ...@@ -2452,8 +2452,6 @@ target_os_default=$(tolower $(uname -s))
host_os=$target_os_default host_os=$target_os_default
# configurable options # configurable options
enable $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST
enable asm enable asm
enable debug enable debug
enable doc enable doc
...@@ -2627,6 +2625,7 @@ for opt do ...@@ -2627,6 +2625,7 @@ for opt do
;; ;;
--disable-everything) --disable-everything)
map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
enable_deep_force $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST
;; ;;
--disable-all) --disable-all)
map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
...@@ -2692,6 +2691,10 @@ done ...@@ -2692,6 +2691,10 @@ done
disabled logging && logfile=/dev/null disabled logging && logfile=/dev/null
# Enable the default components if not disabled explicitly
enable_weak $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST
# Disable all the library-specific components if the library itself # Disable all the library-specific components if the library itself
# is disabled, see AVCODEC_LIST and following _LIST variables. # is disabled, see AVCODEC_LIST and following _LIST variables.
......
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