aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-09-02 17:33:30 -0300
committerJames Almer <jamrial@gmail.com>2018-09-02 17:33:30 -0300
commit9a88a47be4da9cd25a582feec7cc36790500b481 (patch)
treeacd760d45968b4b37468b55d16acb785ba840396 /configure
parentce47f1589e9f5a6cf8372a269bdd862ff0cc3f91 (diff)
parent5691c746cf62e69806aae1baf0a6e8252d519444 (diff)
downloadffmpeg-9a88a47be4da9cd25a582feec7cc36790500b481.tar.gz
Merge commit '5691c746cf62e69806aae1baf0a6e8252d519444'
* commit '5691c746cf62e69806aae1baf0a6e8252d519444': configure: Group toolchain parameter mangling functions together Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure44
1 files changed, 22 insertions, 22 deletions
diff --git a/configure b/configure
index 0da3b580c1..c07ca5a5df 100755
--- a/configure
+++ b/configure
@@ -955,12 +955,32 @@ test_stat(){
stat "$1" >> $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(){
@@ -991,10 +1011,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
@@ -1002,10 +1018,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
@@ -1077,10 +1089,6 @@ check_x86asm(){
test_x86asm "$@" && enable $name
}
-ld_o(){
- eval printf '%s\\n' $LD_O
-}
-
test_ld(){
log test_ld "$@"
type=$1
@@ -1513,14 +1521,6 @@ require_pkg_config(){
check_pkg_config "$@" || die "ERROR: $pkg_version not found using pkg-config$pkg_config_fail_message"
}
-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