mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-17 21:00:51 +00:00
configure: Simplify, remove an unnecessary intermediate variable
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
6d3081e6c3
commit
e4015b00d4
3
configure
vendored
3
configure
vendored
@ -4693,8 +4693,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for pfx in "" host_; do
|
for pfx in "" host_; do
|
||||||
pfx_no_=${pfx%_}
|
varname=${pfx%_}cc_type
|
||||||
varname=${pfx_no_}cc_type
|
|
||||||
eval "type=\$$varname"
|
eval "type=\$$varname"
|
||||||
if [ $type = "msvc" ]; then
|
if [ $type = "msvc" ]; then
|
||||||
check_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline
|
check_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline
|
||||||
|
Loading…
Reference in New Issue
Block a user