[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
missing definition of GL_LINK_WARNING
From: |
Bruno Haible |
Subject: |
missing definition of GL_LINK_WARNING |
Date: |
Sat, 27 Sep 2008 17:57:11 +0200 |
User-agent: |
KMail/1.5.4 |
GL_LINK_WARNING is used in arpa_inet.in.h and inet.in.h. So it needs the
appropriate autoconf/makefile infrastructure. I'm applying this:
2008-09-27 Bruno Haible <address@hidden>
* 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.
*** lib/arpa_inet.in.h.orig 2008-09-27 17:51:59.000000000 +0200
--- lib/arpa_inet.in.h 2008-09-27 15:52:41.000000000 +0200
***************
*** 34,39 ****
--- 34,41 ----
#ifndef _GL_ARPA_INET_H
#define _GL_ARPA_INET_H
+ /* The definition of GL_LINK_WARNING is copied here. */
+
#if @GNULIB_INET_NTOP@
# if address@hidden@
/* Converts an internet address from internal format to a printable,
*** modules/arpa_inet.orig 2008-09-27 17:51:59.000000000 +0200
--- modules/arpa_inet 2008-09-27 15:54:56.000000000 +0200
***************
*** 7,12 ****
--- 7,13 ----
Depends-on:
include_next
+ link-warning
sys_socket
configure.ac:
***************
*** 30,35 ****
--- 31,37 ----
-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; \
} > address@hidden
mv address@hidden $@
*** modules/unistd.orig 2008-09-27 17:51:59.000000000 +0200
--- modules/unistd 2008-09-27 15:54:57.000000000 +0200
***************
*** 54,59 ****
--- 54,60 ----
-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; \
} > address@hidden
mv address@hidden $@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- missing definition of GL_LINK_WARNING,
Bruno Haible <=