X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Finet_ntop;h=fd4c7f917a3deef9f7d2fb8617b88851b9c60cd1;hb=e585fc6b5f908f3e783fa23a1dfc492b82af8298;hp=bef89bba3fc6d067cc2f78715ca2866e208fb286;hpb=03625c488af8f80f2f745165a7c8840338e7eb03;p=pspp diff --git a/modules/inet_ntop b/modules/inet_ntop index bef89bba3f..fd4c7f917a 100644 --- a/modules/inet_ntop +++ b/modules/inet_ntop @@ -2,28 +2,34 @@ Description: Convert internet address from internal to printable, presentable format. Files: -lib/inet_ntop.h lib/inet_ntop.c m4/inet_ntop.m4 Depends-on: -restrict -socklen -sys_socket arpa_inet -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: -lib_SOURCES += inet_ntop.h License: -LGPL +LGPLv2+ Include: -"inet_ntop.h" + + +Link: +$(INET_NTOP_LIB) Maintainer: Yoann Vandoorselaere, glibc