NEWS.stable: update and finalise
[gnulib.git] / modules / link-warning
1 Description:
2 A C macro for emitting link time warnings.
3
4 Applicability:
5 all
6
7 Files:
8 build-aux/link-warning.h
9
10 Depends-on:
11
12 configure.ac:
13 AC_REQUIRE([gl_FEATURES_H])
14
15 Makefile.am:
16 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
17 # statements but through direct file reference. Therefore this snippet must be
18 # present in all Makefile.am that need it. This is ensured by the applicability
19 # 'all' defined above.
20
21 BUILT_SOURCES += link-warning.h
22 # The link-warning.h that gets inserted into generated .h files is the same as
23 # build-aux/link-warning.h, except that it has the copyright header cut off.
24 link-warning.h: $(top_srcdir)/build-aux/link-warning.h
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         sed -n -e '/HAVE_FEATURES_H/,$$p' \
27           < $(top_srcdir)/build-aux/link-warning.h \
28         | sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
29           > $@-t && \
30         mv $@-t $@
31 MOSTLYCLEANFILES += link-warning.h link-warning.h-t
32
33 LINK_WARNING_H=link-warning.h
34
35 Include:
36
37 License:
38 LGPLv2+
39
40 Maintainer:
41 Bruno Haible
42