From: Ruben Kerkhof Date: Fri, 2 Jan 2015 18:53:46 +0000 (+0100) Subject: Check for inet_aton in libresolv X-Git-Tag: rec-3.7.0-rc1~6^2~5^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ff94fe6b4ed478791ad77d88d7250b00320fe70;p=pdns Check for inet_aton in libresolv --- diff --git a/configure.ac b/configure.ac index daad9ad65..8234cf30f 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,10 @@ AC_CHECK_FUNC([gethostent], [], [ AC_CHECK_LIB([nsl], [gethostent], [LIBS="-lnsl $LIBS"]) ]) +AC_CHECK_FUNC([inet_aton], [], [ + AC_CHECK_LIB([resolv], [inet_aton], [LIBS="-lresolv $LIBS"]) +]) + m4_ifndef([LT_INIT],[ AC_PROG_LIBTOOL([disable-static]) ],[