Browse Source

Merge commit '7432e872066d6960a9fbd31c51a94ebe6183389e'

* commit '7432e872066d6960a9fbd31c51a94ebe6183389e':
  configure: Add print_3_columns helper function and use where appropriate

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 13 years ago
parent
commit
409890ca2f
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      configure

+ 6
- 2
configure View File

@@ -2229,10 +2229,14 @@ die_unknown(){
exit 1
}

print_3_columns() {
cat | tr ' ' '\n' | sort | pr -r -3 -t
}

show_list() {
suffix=_$1
shift
echo $* | sed s/$suffix//g | tr ' ' '\n' | sort | pr -3 -t
echo $* | sed s/$suffix//g | print_3_columns
exit 0
}

@@ -4327,7 +4331,7 @@ echo
for type in decoder encoder hwaccel parser demuxer muxer protocol filter bsf indev outdev; do
echo "Enabled ${type}s:"
eval list=\$$(toupper $type)_LIST
print_enabled '_*' $list | sort | pr -r -3 -t
print_enabled '_*' $list | print_3_columns
echo
done



Loading…
Cancel
Save