From 52c549d95d52209e21d9adbb08e86575cea8e552 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 22 Oct 2011 20:03:09 -0600 Subject: [PATCH] Bug 1243: Build overrides configured AR setting --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 586864c052..62ecb0220b 100644 --- a/configure.ac +++ b/configure.ac @@ -95,8 +95,10 @@ if test "x$ac_cv_path_PERL" = "xnone"; then fi AC_PATH_PROG(POD2MAN, pod2man, $FALSE) -dnl set $(AR) -AC_PATH_PROG(AR, ar, $FALSE) +dnl set $(AR) if not provided by the build environment +if test "x$AR" = "x"; then + AC_PATH_PROG(AR, ar, $FALSE) +fi AR_R="$AR r" AC_SUBST(AR_R) -- 2.47.2