configure: refactor list of programs into a variable

This commit is contained in:
Diego Biurrun 2011-12-15 12:17:13 +01:00
parent beaf4012d2
commit 055c61b857

22
configure vendored
View File

@ -903,8 +903,17 @@ COMPONENT_LIST="
protocols protocols
" "
PROGRAM_LIST="
avconv
avplay
avprobe
avserver
ffmpeg
"
CONFIG_LIST=" CONFIG_LIST="
$COMPONENT_LIST $COMPONENT_LIST
$PROGRAM_LIST
aandct aandct
ac3dsp ac3dsp
avcodec avcodec
@ -918,11 +927,6 @@ CONFIG_LIST="
dwt dwt
dxva2 dxva2
fastdiv fastdiv
ffmpeg
avconv
avplay
avprobe
avserver
fft fft
frei0r frei0r
gnutls gnutls
@ -1659,6 +1663,8 @@ target_os_default=$(tolower $(uname -s))
host_os=$target_os_default host_os=$target_os_default
# configurable options # configurable options
enable $PROGRAM_LIST
enable avcodec enable avcodec
enable avdevice enable avdevice
enable avfilter enable avfilter
@ -1667,12 +1673,6 @@ enable avutil
enable postproc enable postproc
enable swscale enable swscale
enable avconv
enable avplay
enable avprobe
enable avserver
enable ffmpeg
enable asm enable asm
enable debug enable debug
enable doc enable doc