dnl
dnl secnet is free software; you can redistribute it and/or modify it
dnl under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; either version d of the License, or
+dnl the Free Software Foundation; either version 3 of the License, or
dnl (at your option) any later version.
dnl
dnl secnet is distributed in the hope that it will be useful, but
if test "$ac_cv_lib_fl_yywrap" != yes; then
AC_MSG_ERROR([A compatible libfl is required])
fi
-AC_CHECK_LIB(nsl,inet_ntoa)
+SECNET_C_GETFUNC(inet_ntoa,nsl)
AC_CHECK_LIB(socket,socket)
-AC_CHECK_LIB(resolv,inet_aton)
+SECNET_C_GETFUNC(inet_aton,resolv)
AC_CHECK_LIB(adns,adns_init)
REQUIRE_HEADER([adns.h])