X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetaddrinfo;h=8de29558c6b7ad154416ea104519de1c838f4d06;hb=644c40496cf7d5a705a73c9dd32b035fcecc2ab1;hp=e08cf578b6d76d33b2bf437cc77f1feb9641f28f;hpb=991967044a1c38c88a7163d2a8169870416a88fc;p=gnulib.git diff --git a/modules/getaddrinfo b/modules/getaddrinfo index e08cf578b..8de29558c 100644 --- a/modules/getaddrinfo +++ b/modules/getaddrinfo @@ -7,18 +7,26 @@ lib/gai_strerror.c m4/getaddrinfo.m4 Depends-on: -extensions -gettext-h -inet_ntop -snprintf -socklen -stdbool -sys_socket netdb -strdup +sys_socket +extensions +gettext-h [test $HAVE_GETADDRINFO = 0 || test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1] +inet_ntop [test $HAVE_GETADDRINFO = 0] +snprintf [test $HAVE_GETADDRINFO = 0] +stdbool [test $HAVE_GETADDRINFO = 0] +strdup [test $HAVE_GETADDRINFO = 0] +servent [test $HAVE_GETADDRINFO = 0] +hostent [test $HAVE_GETADDRINFO = 0] +sockets [test $HAVE_GETADDRINFO = 0] configure.ac: gl_GETADDRINFO +if test $HAVE_GETADDRINFO = 0; then + AC_LIBOBJ([getaddrinfo]) +fi +if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then + AC_LIBOBJ([gai_strerror]) +fi gl_NETDB_MODULE_INDICATOR([getaddrinfo]) Makefile.am: @@ -26,6 +34,9 @@ Makefile.am: Include: +Link: +$(GETADDRINFO_LIB) + License: LGPLv2+