Commit e4015b00 authored by Martin Storsjö's avatar Martin Storsjö

configure: Simplify, remove an unnecessary intermediate variable

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 6d3081e6
......@@ -4693,8 +4693,7 @@ EOF
fi
for pfx in "" host_; do
pfx_no_=${pfx%_}
varname=${pfx_no_}cc_type
varname=${pfx%_}cc_type
eval "type=\$$varname"
if [ $type = "msvc" ]; then
check_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment