X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Finet_ntop;h=fd4c7f917a3deef9f7d2fb8617b88851b9c60cd1;hb=8724e2192d0576a7b86e210e08e38b2b73e6bd8d;hp=7e5c8dc78033f9f8d6b6a1d230cbba170018a13b;hpb=62a1bf49213545f3540b6f2df95dd4b74fc3adfe;p=gnulib.git diff --git a/modules/inet_ntop b/modules/inet_ntop index 7e5c8dc78..fd4c7f917 100644 --- a/modules/inet_ntop +++ b/modules/inet_ntop @@ -6,15 +6,18 @@ lib/inet_ntop.c m4/inet_ntop.m4 Depends-on: -socklen -sys_socket arpa_inet -errno -netinet_in extensions +sys_socket [test $HAVE_INET_NTOP = 0] +errno [test $HAVE_INET_NTOP = 0] +netinet_in [test $HAVE_INET_NTOP = 0] configure.ac: -gl_INET_NTOP +gl_FUNC_INET_NTOP +if test $HAVE_INET_NTOP = 0; then + AC_LIBOBJ([inet_ntop]) + gl_PREREQ_INET_NTOP +fi gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) Makefile.am: