1From b8c65236cd6cd68b57004479006c683455680a82 Mon Sep 17 00:00:00 2001
2From: Alfred Wingate <parona@protonmail.com>
3Date: Sun, 15 Oct 2023 12:34:52 +0100
4Subject: [PATCH] Add asprintf to autoconf function check macro
5
6Upstream-Status: Submitted [https://github.com/rsyslog/liblognorm/pull/376]
7Signed-off-by: Alfred Wingate <parona@protonmail.com>
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 configure.ac | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/configure.ac b/configure.ac
14index b6f92f1..b057550 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -55,7 +55,7 @@ AC_TYPE_SIZE_T
18 AC_FUNC_SELECT_ARGTYPES
19 AC_TYPE_SIGNAL
20 AC_FUNC_STRERROR_R
21-AC_CHECK_FUNCS([strdup strndup strtok_r])
22+AC_CHECK_FUNCS([asprintf strdup strndup strtok_r])
23
24 LIBLOGNORM_CFLAGS="-I\$(top_srcdir)/src"
25 LIBLOGNORM_LIBS="\$(top_builddir)/src/liblognorm.la"
26--
272.43.0
28
29