Mercurial > hg > octave-kai > gnulib-hg
view modules/inet_ntop @ 14982:734141d3f8bf
inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
* m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Set HAVE_INET_NTOP. Call
AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Don't invoke
gl_PREREQ_INET_NTOP. Move tests for declaration of inet_ntop here...
(gl_PREREQ_INET_NTOP): ... from here.
* modules/inet_ntop (configure.ac): Invoke AC_LIBOBJ and
gl_PREREQ_INET_NTOP here.
(Depends-on): Update condition.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 08 May 2011 21:42:19 +0200 |
parents | efab6978105e |
children | c2c292001fc0 |
line wrap: on
line source
Description: Convert internet address from internal to printable, presentable format. Files: lib/inet_ntop.c m4/inet_ntop.m4 Depends-on: arpa_inet extensions sys_socket [test $HAVE_INET_NTOP = 0] errno [test $HAVE_INET_NTOP = 0] netinet_in [test $HAVE_INET_NTOP = 0] configure.ac: 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: License: LGPLv2+ Include: <arpa/inet.h> Link: $(INET_NTOP_LIB) Maintainer: Yoann Vandoorselaere, glibc