1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

configure: Group toolchain parameter mangling functions together

This commit is contained in:
Diego Biurrun 2017-10-20 21:18:51 +02:00
parent 5cb62f9d95
commit 5691c746cf

44
configure vendored
View File

@ -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