New module 'snprintf-posix'.
[gnulib.git] / modules / stdio
1 Description:
2 A GNU-like <stdio.h>.
3
4 Files:
5 lib/stdio_.h
6 m4/stdio_h.m4
7
8 Depends-on:
9 absolute-header
10 link-warning
11
12 configure.ac:
13 gl_STDIO_H
14
15 Makefile.am:
16 BUILT_SOURCES += stdio.h
17
18 # We need the following in order to create <stdio.h> when the system
19 # doesn't have one that works with the given compiler.
20 stdio.h: stdio_.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''ABSOLUTE_STDIO_H''@|$(ABSOLUTE_STDIO_H)|g' \
24               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
25               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
26               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
27               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
28               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
29               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
30               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
31               < $(srcdir)/stdio_.h; \
32         } > $@-t
33         mv $@-t $@
34 MOSTLYCLEANFILES += stdio.h stdio.h-t
35
36 Include:
37 #include <stdio.h>
38
39 License:
40 LGPL
41
42 Maintainer:
43 all