at master 632 B view raw
1diff -urd a/aclocal.m4 b/aclocal.m4 2--- a/aclocal.m4 3+++ b/aclocal.m4 4@@ -1199,7 +1199,8 @@ 5 # thinks that target == host so it never checks the unqualified 6 # tools for Windows. See #14274. 7 AC_DEFUN([FP_PROG_AR], 8-[if test -z "$fp_prog_ar"; then 9+[AC_SUBST(fp_prog_ar,$AR) 10+if test -z "$fp_prog_ar"; then 11 if test "$HostOS" = "mingw32" 12 then 13 AC_PATH_PROG([fp_prog_ar], [ar]) 14diff -urd a/configure b/configure 15--- a/configure 16+++ b/configure 17@@ -10744,6 +10744,8 @@ 18 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 19 20 21+fp_prog_ar=$AR 22+ 23 if test -z "$fp_prog_ar"; then 24 if test "$HostOS" = "mingw32" 25 then