aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index 3508aed..8b18868 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -39,8 +39,7 @@ target64=false
AC_PROG_CC
AC_SUBST(CFLAGS)
AC_SUBST(HDEFINES)
-AR=${AR-ar}
-AC_SUBST(AR)
+AC_CHECK_PROG(AR, ar, ar, :)
AC_PROG_RANLIB
AC_PROG_INSTALL