Make sure that the minimum set of dependencies needed by the tools and the examples are enabled.
Unified · Split
| @@ -2452,8 +2452,6 @@ target_os_default=$(tolower $(uname -s)) · 2451 unmodified lines | |||
| 2452 | host_os=$target_os_default | 2452 | host_os=$target_os_default |
| 2453 | 2453 | ||
| 2454 | # configurable options | 2454 | # configurable options |
| 2455 | enable $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST | ||
| 2456 | |||
| 2457 | enable asm | 2455 | enable asm |
| 2458 | enable debug | 2456 | enable debug |
| 2459 | enable doc | 2457 | enable doc |
| @@ -2627,6 +2625,7 @@ for opt do · 167 unmodified lines | |||
| 2627 | ;; | 2625 | ;; |
| 2628 | --disable-everything) | 2626 | --disable-everything) |
| 2629 | map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST | 2627 | map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST |
| 2628 | enable_deep_force $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST | ||
| 2630 | ;; | 2629 | ;; |
| 2631 | --disable-all) | 2630 | --disable-all) |
| 2632 | map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST | 2631 | map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST |
| @@ -2692,6 +2691,10 @@ done · 59 unmodified lines | |||
| 2692 | 2691 | ||
| 2693 | disabled logging && logfile=/dev/null | 2692 | disabled logging && logfile=/dev/null |
| 2694 | 2693 | ||
| 2694 | # Enable the default components if not disabled explicitly | ||
| 2695 | |||
| 2696 | enable_weak $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST | ||
| 2697 | |||
| 2695 | # Disable all the library-specific components if the library itself | 2698 | # Disable all the library-specific components if the library itself |
| 2696 | # is disabled, see AVCODEC_LIST and following _LIST variables. | 2699 | # is disabled, see AVCODEC_LIST and following _LIST variables. |
| 2697 | 2700 | ||