- Fix existing configuration of openssl and curl flag files for different Android configurations
- Make openssl and curl build more silent
This fixes#2927
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
* Use Clang instead of GCC (deprecated)
* Raised/added minimum Android API version (16)
* Use (static) libc++ by default/explicitly (gnustl and stlport are deprecated)
* Add verbose flag to toolchain builder where missing
* Make build scripts fully whitespace safe to the extend premitted by autotools
* Let all build scripts fail fast on error, previously they would continue and then fail with spurious follow-up errors burrowing the actual issue
* Ensure that all build scripts start with a valid shebang (`#!`)
* Fix jumbled letters in `android/build_build_app_x86.sh`
* `PATH` environment was: `export PATH="$PATH:$TCBINARIES:$TCINCLUDES/bin"`
* If system `libcurl-dev` (Debian) is installed its `curl-config` script will be first in `PATH`
* `./configure` will choose the system `curl-config` and fail to compile
Ideally we would upgrade all platforms en mass, but forcing ARM, MIPS, and x86 to API 21 might introduce compatibility problems with our existing install base.