From c4b9716873a0a5ecc68697c73793eaa553192d1b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 13 Feb 2025 16:24:16 +0000 Subject: [PATCH] Look for imsg_add not _init now. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 4f90fcd51d..98b67a4d2b 100644 --- a/configure.ac +++ b/configure.ac @@ -638,9 +638,9 @@ else AC_LIBOBJ(err) fi -# Look for imsg_init in libutil. -AC_SEARCH_LIBS(imsg_init, util, found_imsg_init=yes, found_imsg_init=no) -if test "x$found_imsg_init" = xyes; then +# Look for imsg_add in libutil. +AC_SEARCH_LIBS(imsg_add, util, found_imsg_add=yes, found_imsg_add=no) +if test "x$found_imsg_add" = xyes; then AC_DEFINE(HAVE_IMSG) else AC_LIBOBJ(imsg)