stpncpy: Allow stpncpy to be defined as a macro.
[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 BUILT_SOURCES += $(STDARG_H)
23
24 # We need the following in order to create <stdarg.h> when the system
25 # doesn't have one that works with the given compiler.
26 stdarg.h: stdarg.in.h
27         $(AM_V_GEN)rm -f $@-t $@ && \
28         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
29           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
30               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
31               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
32               < $(srcdir)/stdarg.in.h; \
33         } > $@-t && \
34         mv $@-t $@
35 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
36
37 Include:
38 <stdarg.h>
39
40 License:
41 LGPLv2+
42
43 Maintainer:
44 Bruno Haible