$OpenBSD: patch-configure_in,v 1.2 2002/05/17 15:58:10 danh Exp $ --- configure.in.orig Tue Dec 18 21:00:59 2001 +++ configure.in Mon May 6 15:07:08 2002 @@ -190,10 +190,16 @@ AC_CHECK_LIB(kvm, main) dnl We already AC_CHECK_LIB(ld, nlist) AC_CHECK_LIB(mld, nlist) AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent, , , -lsocket)) +AC_CHECK_FUNCS(getifaddrs freeifaddrs) AC_CHECK_FUNC(openlog, , AC_CHECK_LIB(gen, openlog, , AC_CHECK_LIB(syslog, openlog, , , -lsocket))) -AC_CHECK_LIB(readline, readline) +AC_CHECK_LIB(readline, readline, [cat >>confdefs.h <