Mailing List Archive

[pinentry PATCH] configure: use AM_PROG_AR to find a lib archiver
In some environments, the default "ar" might not be present in $PATH.
For example, when cross-compiling, it is common to only have the target
toolchain visible, with names prefixed by the target triple.

Signed-off-by: Pierre Bourdon <delroth@gmail.com>
---
configure.ac | 1 +
1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index a4d54da..a2845dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,7 @@ AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
+AM_PROG_AR
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
--
2.19.2