A patch by Adam Tkac <atkac@redhat.com> for eggdrop >= 1.6.19, which makes
the configure script looking for gethostbyname() in libc rather in libdns.
The problem especially comes up, once bind-devel gets added into buildroot
at the build system (#433111).
--- eggdrop1.6.19/aclocal.m4 2008-04-19 06:21:20.000000000 +0200
+++ eggdrop1.6.19/aclocal.m4.no_libdns 2008-04-22 19:59:44.000000000 +0200
@@ -764,7 +764,7 @@
else
AC_CHECK_LIB(socket, socket)
AC_CHECK_LIB(nsl, connect)
- AC_CHECK_LIB(dns, gethostbyname)
+ AC_CHECK_LIB(c, gethostbyname)
AC_CHECK_LIB(dl, dlopen)
AC_CHECK_LIB(m, tan, EGG_MATH_LIB="-lm")