diff --git a/configure.in b/configure.in index 491060df9d4..3fadff58f59 100644 --- a/configure.in +++ b/configure.in @@ -182,6 +182,8 @@ dnl The sin may be in a library which need not be specifed dnl as well as res_search resides in libsocket AC_CHECK_LIB(m, sin) +AC_CHECK_LIB(resolv, inet_aton) + dnl The res_search may be in libsocket as well, and if it is dnl make sure to check for dn_skipname in libresolv, or if res_search dnl is in neither of these libs, still check for dn_skipname in libresolv