#!/bin/bash

echo "****"
echo "* For Android cross-compiling, not all tarred-up packages"
echo "* are new enough to shiip with configure files (config.guess"
echo "* and config.sub) that recognize android as a --host choice"
echo "****"

echo "..."
sleep 2

./CASCADE-MAKE.sh untar
echo "=> Updating config.guess to newer version for all packages"
find packages -name "config.guess" -exec /bin/cp android-extra/config.guess {} \; -print
echo "=> Updating config.sub to newer version for all packages"
find packages -name "config.sub" -exec /bin/cp android-extra/config.sub {}  \; -print

echo "****"
sleep 2


