Makefile.in: Drop dist target
[secnet] / configure.in
index 57c2076..2e37df7 100644 (file)
@@ -5,7 +5,7 @@ dnl See README for full list of copyright holders.
 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
@@ -81,12 +81,9 @@ AC_CHECK_LIB(fl,yywrap)
 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)
-ADNS_C_GETFUNC(inet_aton,resolv,[
- LIBS="-lresolv $LIBS";
- AC_MSG_WARN([inet_aton is in libresolv, urgh.  Must use -lresolv.])
-])
+SECNET_C_GETFUNC(inet_aton,resolv)
 AC_CHECK_LIB(adns,adns_init)
 REQUIRE_HEADER([adns.h])