aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-07-27 09:40:28 +0300
committerMartin Storsjö <martin@martin.st>2015-07-27 10:44:44 +0300
commite4015b00d4e9e40dc1693a018edd51bf7a04993e (patch)
treef4740262c67ea399841b66938d8025b2bb3ded83
parent6d3081e6c374ff7da12b07ed33d1662be1b32dbc (diff)
downloadffmpeg-e4015b00d4e9e40dc1693a018edd51bf7a04993e.tar.gz
configure: Simplify, remove an unnecessary intermediate variable
Signed-off-by: Martin Storsjö <martin@martin.st>
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 66edc14ac6..56459361f3 100755
--- a/configure
+++ b/configure
@@ -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