From: Bruno Haible Date: Sat, 27 Sep 2008 15:55:04 +0000 (+0200) Subject: Provide the definition of GL_LINK-WARNING. X-Git-Tag: v0.1~6984 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=939a939c8213263bfa5b5418580244438f58b829;p=gnulib.git Provide the definition of GL_LINK-WARNING. --- diff --git a/ChangeLog b/ChangeLog index a2d6c7080..fe42fd870 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-09-27 Bruno Haible + + * lib/arpa_inet.in.h: Include the GL_LINK_WARNING anchor. + * modules/arpa_inet (Depends-on): Add link-warning. + (Makefile.am): Insert the definition of GL_LINK-WARNING. + * modules/unistd (Makefile.am): Likewise. + 2008-09-26 Bruno Haible * posix-modules (cvsdatestamp, last_checkin_date, version): Remove diff --git a/lib/arpa_inet.in.h b/lib/arpa_inet.in.h index a790ac3da..8d85749e0 100644 --- a/lib/arpa_inet.in.h +++ b/lib/arpa_inet.in.h @@ -34,6 +34,8 @@ #ifndef _GL_ARPA_INET_H #define _GL_ARPA_INET_H +/* The definition of GL_LINK_WARNING is copied here. */ + #if @GNULIB_INET_NTOP@ # if !@HAVE_DECL_INET_NTOP@ /* Converts an internet address from internal format to a printable, diff --git a/modules/arpa_inet b/modules/arpa_inet index e98a53161..3691fd5cb 100644 --- a/modules/arpa_inet +++ b/modules/arpa_inet @@ -7,6 +7,7 @@ m4/arpa_inet_h.m4 Depends-on: include_next +link-warning sys_socket configure.ac: @@ -30,6 +31,7 @@ arpa/inet.h: -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ + -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ < $(srcdir)/arpa_inet.in.h; \ } > $@-t mv $@-t $@ diff --git a/modules/unistd b/modules/unistd index d9101f36d..94107789d 100644 --- a/modules/unistd +++ b/modules/unistd @@ -54,6 +54,7 @@ unistd.h: unistd.in.h -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ + -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ < $(srcdir)/unistd.in.h; \ } > $@-t mv $@-t $@