]> git.ipfire.org Git - thirdparty/krb5.git/commit
Try to find <target>-ar when cross compiling 1085/head
authorNikhil Benesch <nikhil.benesch@gmail.com>
Sat, 13 Jun 2020 23:54:34 +0000 (19:54 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 15 Jun 2020 14:27:29 +0000 (10:27 -0400)
commit52f99333f134bc6b1d97521cfe6a96b54ea72076
tree753cd474e7dc29bdcb99006b5f78a9b74be645d7
parent4f91b6f8fa6fe1de662b3fdac0d59b7758ec642a
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.

ticket: 8915 (new)
src/aclocal.m4