changeset 30189:20a9c8c912b3

Provide the definition of GL_LINK-WARNING.
author Bruno Haible <bruno@clisp.org>
date Sat, 27 Sep 2008 17:55:04 +0200
parents 351557079be5
children 03cdea1c8b78
files ChangeLog lib/arpa_inet.in.h modules/arpa_inet modules/unistd
diffstat 4 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Sep 27 16:52:41 2008 +0200
+++ b/ChangeLog	Sat Sep 27 17:55:04 2008 +0200
@@ -1,3 +1,10 @@
+2008-09-27  Bruno Haible  <bruno@clisp.org>
+
+	* 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  <bruno@clisp.org>
 
 	* posix-modules (cvsdatestamp, last_checkin_date, version): Remove
--- a/lib/arpa_inet.in.h	Sat Sep 27 16:52:41 2008 +0200
+++ b/lib/arpa_inet.in.h	Sat Sep 27 17:55:04 2008 +0200
@@ -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,
--- a/modules/arpa_inet	Sat Sep 27 16:52:41 2008 +0200
+++ b/modules/arpa_inet	Sat Sep 27 17:55:04 2008 +0200
@@ -7,6 +7,7 @@
 
 Depends-on:
 include_next
+link-warning
 sys_socket
 
 configure.ac:
@@ -30,6 +31,7 @@
 	      -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 $@
--- a/modules/unistd	Sat Sep 27 16:52:41 2008 +0200
+++ b/modules/unistd	Sat Sep 27 17:55:04 2008 +0200
@@ -54,6 +54,7 @@
 	      -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 $@