configure: pull AR from the env too

This matches the existing CC behavior.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2012-12-16 17:09:17 -05:00 committed by Stephen Hemminger
parent 691c8a6567
commit 95d9d665d9
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -10,7 +10,9 @@ trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM
check_toolchain()
{
: ${PKG_CONFIG:=pkg-config}
: ${AR=ar}
: ${CC=gcc}
echo "AR:=${AR}" >>Config
echo "CC:=${CC}" >>Config
echo "PKG_CONFIG:=${PKG_CONFIG}" >>Config
}