[pinentry PATCH] configure: use AM_PROG_AR to find a lib archiver

Pierre Bourdon delroth at gmail.com
Sat Apr 6 16:33:26 CEST 2019


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-use-AM_PROG_AR-to-find-a-lib-archiver.patch
Type: text/x-patch
Size: 936 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20190406/0e396526/attachment.bin>


More information about the Gnupg-devel mailing list