From: Amos Jeffries Date: Sun, 30 Oct 2011 06:27:44 +0000 (-0600) Subject: Bug 1243: Build overrides configured AR setting X-Git-Tag: SQUID_3_1_17~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1643fbc82488d571af59cba8a9e11b8eb0aa210;p=thirdparty%2Fsquid.git Bug 1243: Build overrides configured AR setting --- diff --git a/configure.ac b/configure.ac index 28a5e9cb60..1fa14d4091 100644 --- a/configure.ac +++ b/configure.ac @@ -2256,8 +2256,10 @@ case "$host" in ;; esac -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" case "$host" in *-next-nextstep3)