libposix: Add _HEADERS primaries to posix modules.
[gnulib.git] / modules / stdarg
1 Description:
2 An <stdarg.h> that conforms to C99.
3
4 Files:
5 lib/stdarg.in.h
6 m4/stdarg.m4
7
8 Depends-on:
9 include_next
10
11 configure.ac-early:
12 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
13 dnl for the builtin va_copy to work.  With Autoconf 2.60 or later,
14 dnl AC_PROG_CC_STDC arranges for this.  With older Autoconf AC_PROG_CC_STDC
15 dnl shouldn't hurt, though installers are on their own to set c99 mode.
16 AC_REQUIRE([AC_PROG_CC_STDC])
17
18 configure.ac:
19 gl_STDARG_H
20
21 Makefile.am:
22 nodist_pkginclude_HEADERS += $(STDARG_H)
23 EXTRA_HEADERS += stdarg.h
24
25 BUILT_SOURCES += $(STDARG_H)
26
27 # We need the following in order to create <stdarg.h> when the system
28 # doesn't have one that works with the given compiler.
29 stdarg.h: stdarg.in.h
30         $(AM_V_GEN)rm -f $@-t $@ && \
31         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
32           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
33               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
34               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
35               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
36               < $(srcdir)/stdarg.in.h; \
37         } > $@-t && \
38         mv $@-t $@
39 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
40
41 Include:
42 <stdarg.h>
43
44 License:
45 LGPLv2+
46
47 Maintainer:
48 Bruno Haible