Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Try to find <target>-ar when cross compiling

Teach the configure script to look for an ar tool prefixed with the
target triple (i.e., `<target>-ar`) when cross compiling. This matches
the behavior for tools that have built-in autoconf macros, like ranlib.
(For some reason there is no AC_PROG_AR macro.)

Also, remove the AC_PROG_ARCHIVE and AC_PROG_ARCHIVE_ADD macros, which
have been dead code since 780b34cd.

With this change, cross compiling libkrb5 works a bit better out of the
box.

https://github.com/krb5/krb5/commit/52f99333f134bc6b1d97521cfe6a96b54ea72076
Author: Nikhil Benesch <nikhil.benesch@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 52f99333f134bc6b1d97521cfe6a96b54ea72076
Branch: master
src/aclocal.m4 | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)