]> git.sesse.net Git - ffmpeg/commitdiff
configure: Refactor HAVE_ options available on the command line
authorDiego Biurrun <diego@biurrun.de>
Wed, 5 Sep 2012 09:35:13 +0000 (11:35 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 3 Oct 2012 16:08:25 +0000 (18:08 +0200)
configure

index bca93619eee145bea87bea424ea170af81061e36..c74693bb22af93f108f8296fe2a9697a8783a263 100755 (executable)
--- a/configure
+++ b/configure
@@ -1107,6 +1107,12 @@ ARCH_EXT_LIST="
     vis
 "
 
+HAVE_LIST_CMDLINE='
+    inline_asm
+    symver
+    yasm
+'
+
 HAVE_LIST_PUB='
     bigendian
     fast_unaligned
@@ -1116,6 +1122,7 @@ HAVE_LIST="
     $ARCH_EXT_LIST
     $(add_suffix _external $ARCH_EXT_LIST)
     $(add_suffix _inline   $ARCH_EXT_LIST)
+    $HAVE_LIST_CMDLINE
     $HAVE_LIST_PUB
     $THREADS_LIST
     aligned_malloc
@@ -1164,7 +1171,6 @@ HAVE_LIST="
     gnu_as
     ibm_asm
     inet_aton
-    inline_asm
     io_h
     isatty
     isinf
@@ -1222,7 +1228,6 @@ HAVE_LIST="
     struct_sockaddr_sa_len
     struct_sockaddr_storage
     struct_v4l2_frmivalenum_discrete
-    symver
     symver_asm_label
     symver_gnu_asm
     sysconf
@@ -1246,7 +1251,6 @@ HAVE_LIST="
     xform_asm
     xgetbv
     xmm_clobbers
-    yasm
 "
 
 # options emitted with CONFIG_ prefix but not available on command line
@@ -1278,16 +1282,14 @@ CONFIG_EXTRA="
 CMDLINE_SELECT="
     $ARCH_EXT_LIST
     $CONFIG_LIST
+    $HAVE_LIST_CMDLINE
     $THREADS_LIST
     asm
     cross_compile
     debug
     extra_warnings
-    inline_asm
     logging
     optimizations
-    symver
-    yasm
 "
 
 PATHS_LIST='