Skip to content

Commit

Permalink
Look for imsg_add not _init now.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Feb 13, 2025
1 parent ec119b2 commit c4b9716
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c4b9716

Please sign in to comment.