New module 'vprintf-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_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
25               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
26               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
27               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
28               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
29               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
30               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
31               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
32               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
33               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
34               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
35               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
36               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
37               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
38               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
39               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
40               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
41               < $(srcdir)/stdio_.h; \
42         } > $@-t
43         mv $@-t $@
44 MOSTLYCLEANFILES += stdio.h stdio.h-t
45
46 Include:
47 #include <stdio.h>
48
49 License:
50 LGPL
51
52 Maintainer:
53 all