NEWS.stable: log cherry-pick [3180807]->[768eb31] doc/lgpl-2.1.texi
[gnulib.git] / modules / c++defs
1 Description:
2 Function declaration macros with C++ support.
3
4 Applicability:
5 all
6
7 Files:
8 build-aux/c++defs.h
9
10 Depends-on:
11
12 configure.ac:
13
14 Makefile.am:
15 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
16 # statements but through direct file reference. Therefore this snippet must be
17 # present in all Makefile.am that need it. This is ensured by the applicability
18 # 'all' defined above.
19
20 BUILT_SOURCES += c++defs.h
21 # The c++defs.h that gets inserted into generated .h files is the same as
22 # build-aux/c++defs.h, except that it has the copyright header cut off.
23 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
24         $(AM_V_GEN)rm -f $@-t $@ && \
25         sed -n -e '/_GL_CXXDEFS/,$$p' \
26           < $(top_srcdir)/build-aux/c++defs.h \
27           > $@-t && \
28         mv $@-t $@
29 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
30
31 CXXDEFS_H=c++defs.h
32
33 Include:
34
35 License:
36 LGPLv2+
37
38 Maintainer:
39 Bruno Haible