[FFmpeg-cvslog] configure: Group toolchain parameter mangling functions together

Diego Biurrun git at videolan.org
Mon Sep 3 00:04:53 EEST 2018


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Oct 20 21:18:51 2017 +0200| [5691c746cf62e69806aae1baf0a6e8252d519444] | committer: Diego Biurrun

configure: Group toolchain parameter mangling functions together

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

 configure | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/configure b/configure
index 43f45f1b83..f5f726f6b5 100755
--- a/configure
+++ b/configure
@@ -769,12 +769,32 @@ test_cmd(){
     "$@" >> $logfile 2>&1
 }
 
+cc_e(){
+    eval printf '%s\\n' $CC_E
+}
+
 cc_o(){
     eval printf '%s\\n' $CC_O
 }
 
-cc_e(){
-    eval printf '%s\\n' $CC_E
+as_o(){
+    eval printf '%s\\n' $AS_O
+}
+
+x86asm_o(){
+    eval printf '%s\\n' $X86ASM_O
+}
+
+ld_o(){
+    eval printf '%s\\n' $LD_O
+}
+
+hostcc_e(){
+    eval printf '%s\\n' $HOSTCC_E
+}
+
+hostcc_o(){
+    eval printf '%s\\n' $HOSTCC_O
 }
 
 test_cc(){
@@ -798,10 +818,6 @@ test_cpp(){
     test_cmd $cc $CPPFLAGS $CFLAGS "$@" $(cc_e $TMPO) $TMPC
 }
 
-as_o(){
-    eval printf '%s\\n' $AS_O
-}
-
 test_as(){
     log test_as "$@"
     cat > $TMPS
@@ -809,10 +825,6 @@ test_as(){
     test_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C $(as_o $TMPO) $TMPS
 }
 
-x86asm_o(){
-    eval printf '%s\\n' $X86ASM_O
-}
-
 test_x86asm(){
     log test_x86asm "$@"
     echo "$1" > $TMPASM
@@ -865,10 +877,6 @@ check_x86asm(){
     test_x86asm "$@" && enable $name
 }
 
-ld_o(){
-    eval printf '%s\\n' $LD_O
-}
-
 test_ld(){
     log test_ld "$@"
     flags=$(filter_out '-l*' "$@")
@@ -1193,14 +1201,6 @@ require_pkg_config(){
     check_pkg_config "$@" || die "ERROR: $pkg_version not found"
 }
 
-hostcc_e(){
-    eval printf '%s\\n' $HOSTCC_E
-}
-
-hostcc_o(){
-    eval printf '%s\\n' $HOSTCC_O
-}
-
 test_host_cc(){
     log test_host_cc "$@"
     cat > $TMPC



More information about the ffmpeg-cvslog mailing list