It seems like this patch: http://lists.mindrot.org/pipermail/openssh-unix-dev/2013-September/031646.html ...was never accepted. If there are no good reasons to object it, please apply.
The proposed change to configure.ac is: -AC_PATH_PROG([AR], [ar]) +AC_CHECK_TOOLS([AR], [ar]) The autoconf man page says: "Like AC_CHECK_PROG, but first looks for prog-to-check-for with a prefix of the host type as specified by --host, followed by a dash." compared to AC_PATH_PROG which says: "Like AC_CHECK_PROG, but set variable to the absolute name of prog-to-check-for if found. The result of this test can be overridden by setting the variable variable. A positive result of this test is cached in the ac_cv_path_variable variable." I think we just use AR in the Makefile so I don't see a reason it could not be changed.
comparing the output of configure before and after the proposed change shows -checking for ar... /usr/bin/ar +checking for ar... ar and a similar change in Makefile. Some of the other tools (notably the compiler) are not referenced by full path so I guess we're not adding any new dependencies on $PATH.
Patch applied and will be in 6.9p1. Thanks!
Close all resolved bugs after 7.3p1 release