Skip to content

Commit

Permalink
Extend HAVE_IMSG check by looking for ibuf_open, ibuf_add and ibuf_get.
Browse files Browse the repository at this point in the history
This allows to use rpki-client-portable on non-current OpenBSD systems.
  • Loading branch information
cjeker committed Dec 13, 2023
1 parent f4fb32b commit b7ccd93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ fi

# check functions that are expected to be in libutil
AC_SEARCH_LIBS([ibuf_open], [util])
AC_CHECK_FUNCS([ibuf_open])
AC_CHECK_FUNCS([ibuf_open ibuf_add ibuf_get])

# check functions that are expected to be in libresolv
AC_SEARCH_LIBS([inet_net_pton],[resolv])
Expand Down Expand Up @@ -436,7 +436,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])
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])

# overrides for arc4random implementations with known issues
AM_CONDITIONAL([HAVE_ARC4RANDOM],
Expand Down

0 comments on commit b7ccd93

Please sign in to comment.