History

configure: Restore the --enable-everything behaviour

Make sure that the minimum set of dependencies needed by the tools and the examples are enabled.

Luca Barbato committed 10 years ago

Commit a2bb7711 parent 5e1beec1 file · +5 −2Browse files

Unified · Split

configure+5−2
@@ -2452,8 +2452,6 @@ target_os_default=$(tolower $(uname -s)) · 2451 unmodified lines
24522452 host_os=$target_os_default
24532453
24542454 # configurable options
2455−enable $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST
2456−
24572455 enable asm
24582456 enable debug
24592457 enable doc
@@ -2627,6 +2625,7 @@ for opt do · 167 unmodified lines
26272625 ;;
26282626 --disable-everything)
26292627 map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
2628+ enable_deep_force $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST
26302629 ;;
26312630 --disable-all)
26322631 map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
@@ -2692,6 +2691,10 @@ done · 59 unmodified lines
26922691
26932692 disabled logging && logfile=/dev/null
26942693
2694+# Enable the default components if not disabled explicitly
2695+
2696+enable_weak $EXAMPLE_LIST $LIBRARY_LIST $PROGRAM_LIST
2697+
26952698 # Disable all the library-specific components if the library itself
26962699 # is disabled, see AVCODEC_LIST and following _LIST variables.
26972700

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t