blob: 9a411f05d4692c7999a48ef28edb950da78a8e6f [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From f9e50aba10f9d2c58e5d88f51810ca7143f4372b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 1 Sep 2022 13:20:01 -0700
4Subject: [PATCH] configure: Fix AC_CHECK_LIB test for gpg-error
5
6Use check function which is found in libgpg-error
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 etc/configure.ac | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/etc/configure.ac b/etc/configure.ac
15index d4ae290..ea0936d 100644
16--- a/etc/configure.ac
17+++ b/etc/configure.ac
18@@ -30,7 +30,7 @@ AC_CHECK_PROGS(SOELIM, gsoelim soelim roffpp)
19 AC_CHECK_FUNCS(snprintf vsnprintf)
20
21 dnl! This is needed for MingGW build, but not for Unix or Linux, etc.
22-AC_CHECK_LIB(gpg-error, main)
23+AC_CHECK_LIB(gpg-error, gpg_strerror_r)
24
25 dnl! @synopsis AC_ADD_CFLAGS
26 dnl!
27--
282.37.3
29