]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
configure: pull AR from the env too
authorMike Frysinger <vapier@gentoo.org>
Sun, 16 Dec 2012 22:09:17 +0000 (17:09 -0500)
committerStephen Hemminger <shemminger@vyatta.com>
Mon, 17 Dec 2012 17:13:46 +0000 (09:13 -0800)
This matches the existing CC behavior.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
configure

index ea1038df53ffe5eb5454c3d56f97a44288a7eb57..7c2db9be46c38b33f0d82f8b68580acc514f606a 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
 }