shithub: libvpx

Download patch

ref: e5b8bd020a1f1fc85150e84f4cbefa23e9519e8c
parent: 0249531bb90a59439d4f72f38ce184beefd8732e
author: James Zern <jzern@google.com>
date: Mon May 19 07:36:12 EDT 2014

configure.sh: only execute toupper when necessary

speeds up windows configure by ~40%

Change-Id: Ie3138b8fe39ff4c901c35c5d689c1ed12da34866

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1284,8 +1284,8 @@
     local makefile=$2
     shift 2
     for cfg; do
-        upname="`toupper $cfg`"
         if enabled $cfg; then
+            upname="`toupper $cfg`"
             echo "${prefix}_${upname}=yes" >> $makefile
         fi
     done