commit - 81d9923357c85482db55ee81dc99ceec0aac1442
commit + 274374924482c8dbc4ed076b49dcb41982c326a1
blob - b5a353919082a509a34b34ddf9bc5666085ef727
blob + ef5a4588d8a0406d469746dde23a6881cb9f0bd9
--- configure.ac
+++ configure.ac
AC_MSG_ERROR([requires either ncursesw or ncurses library with terminfo support])
])
-AC_CHECK_LIB(tls, tls_init, [], [
+AC_SEARCH_LIBS([tls_init], [tls], [], [
AC_MSG_ERROR([requires libtls])
])
case "$host_os" in
*openbsd*)
- AC_CHECK_LIB([event], [event_init], [],
+ AC_SEARCH_LIBS([event_init], [event], [],
[AC_MSG_ERROR([requires libevent])])
;;
*)
]
)
-AC_CHECK_LIB(util, ohash_init, [], [
+AC_SEARCH_LIBS([ohash_init], [util], [], [
AC_LIBOBJ(ohash)
AC_LIBOBJ(fmt_scaled)
])