[FFmpeg-cvslog] configure: refactor list of programs into a variable

Diego Biurrun git at videolan.org
Fri Dec 16 01:32:12 CET 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Dec 15 12:17:13 2011 +0100| [055c61b857eef8174fa71789d43c65b311b8d659] | committer: Diego Biurrun

configure: refactor list of programs into a variable

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=055c61b857eef8174fa71789d43c65b311b8d659
---

 configure |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

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



More information about the ffmpeg-cvslog mailing list