From 16419487605acd3cb1e999171a4cfc1ad0233026 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Thu, 28 Nov 2024 21:45:40 +0100 Subject: [PATCH] Check for msgbuf_new since msgbuf_init was removed. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 363460b..ce86323 100644 --- a/configure.ac +++ b/configure.ac @@ -366,7 +366,7 @@ fi # check functions that are expected to be in libutil AC_SEARCH_LIBS([ibuf_open], [util]) -AC_CHECK_FUNCS([ibuf_open ibuf_add ibuf_get msgbuf_init]) +AC_CHECK_FUNCS([ibuf_open ibuf_add ibuf_get msgbuf_new]) # check functions that are expected to be in libresolv AC_SEARCH_LIBS([inet_net_pton],[resolv]) @@ -441,7 +441,7 @@ AM_CONDITIONAL([BROKEN_INET_NET_PTON], [test "x$ac_cv_broken_inet_net_pton" = xy AM_CONDITIONAL([HAVE_STRNVIS], [test "x$ac_cv_func_strnvis" = xyes]) AM_CONDITIONAL([BROKEN_STRNVIS], [test "x$ac_cv_broken_strnvis" = xyes]) -AM_CONDITIONAL([HAVE_IMSG], [test "x$ac_cv_func_ibuf_open" = xyes -a "x$ac_cv_func_ibuf_add" = xyes -a "x$ac_cv_func_ibuf_get" = xyes -a "x$ac_cv_func_msgbuf_init" = xyes]) +AM_CONDITIONAL([HAVE_IMSG], [test "x$ac_cv_func_ibuf_open" = xyes -a "x$ac_cv_func_ibuf_add" = xyes -a "x$ac_cv_func_ibuf_get" = xyes -a "x$ac_cv_func_msgbuf_new" = xyes]) # overrides for arc4random implementations with known issues AM_CONDITIONAL([HAVE_ARC4RANDOM],