diff options
author | KO Myung-Hun <komh@chollian.net> | 2014-07-22 11:09:27 +0900 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2014-07-29 18:41:52 -0700 |
commit | 07fa6adfe173f2465da71f321fee27bf4a0440b9 (patch) | |
tree | 8828c7ca47c87ebe8a7b6bedf674153871d2488d /configure | |
parent | 2926d24478891dfc57d8e8e14535990a27757599 (diff) | |
download | libvpx-07fa6adfe173f2465da71f321fee27bf4a0440b9.tar libvpx-07fa6adfe173f2465da71f321fee27bf4a0440b9.tar.gz libvpx-07fa6adfe173f2465da71f321fee27bf4a0440b9.tar.bz2 libvpx-07fa6adfe173f2465da71f321fee27bf4a0440b9.zip |
Remove 'local' from configure and configure.sh
'local' is not posix.
Change-Id: I46d7acfa574cbef686cee1b35022f5781485c3fa
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -67,10 +67,10 @@ Codecs: EOF #restore editor state ' - local family; - local last_family; - local c; - local str; + family=""; + last_family=""; + c=""; + str=""; for c in ${CODECS}; do family=${c%_*} if [ "${family}" != "${last_family}" ]; then @@ -412,7 +412,7 @@ process_cmdline() { } post_process_cmdline() { - local c + c="" # If the codec family is disabled, disable all components of that family. # If the codec family is enabled, enable all components of that family. @@ -459,8 +459,8 @@ process_targets() { enabled universal && echo "FAT_ARCHS=${fat_bin_archs}" >> config.mk # Calculate the default distribution name, based on the enabled features - local cf - local DIST_DIR=vpx + cf="" + DIST_DIR=vpx for cf in $CODEC_FAMILIES; do if enabled ${cf}_encoder && enabled ${cf}_decoder; then DIST_DIR="${DIST_DIR}-${cf}" @@ -482,7 +482,7 @@ process_targets() { ;; esac if [ -f "${source_path}/build/make/version.sh" ]; then - local ver=`"$source_path/build/make/version.sh" --bare "$source_path"` + ver=`"$source_path/build/make/version.sh" --bare "$source_path"` DIST_DIR="${DIST_DIR}-${ver}" VERSION_STRING=${ver} ver=${ver%%-*} @@ -516,7 +516,7 @@ EOF # Write makefiles for all enabled targets # for tgt in libs examples docs solution; do - local tgt_fn="$tgt-$toolchain.mk" + tgt_fn="$tgt-$toolchain.mk" if enabled $tgt; then echo "Creating makefiles for ${toolchain} ${tgt}" @@ -555,7 +555,7 @@ process_detect() { true; ;; *) - local result=false + result=false for d in "$@"; do [ -f "${d##-I}/$header" ] && result=true && break done @@ -604,7 +604,7 @@ process_toolchain() { # Handle universal binaries for this architecture case $toolchain in universal-darwin*) - local darwin_ver=${tgt_os##darwin} + darwin_ver=${tgt_os##darwin} # Snow Leopard (10.6/darwin10) dropped support for PPC # Include PPC support for all prior versions |