Reorder list of macros, for consistency.
[gnulib.git] / modules / stdio
1 Description:
2 A GNU-like <stdio.h>.
3
4 Files:
5 lib/stdio.in.h
6 m4/stdio_h.m4
7
8 Depends-on:
9 include_next
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.in.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
26               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
27               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
28               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
29               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
30               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
31               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
32               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
33               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
34               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
35               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
36               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
37               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
38               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
39               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
40               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
41               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
42               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
43               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
44               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
45               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
46               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
47               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
48               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
49               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
50               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
51               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
52               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
53               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
54               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
55               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
56               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
57               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
58               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
59               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
60               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
61               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
62               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
63               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
64               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
65               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
66               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
67               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
68               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
69               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
70               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
71               < $(srcdir)/stdio.in.h; \
72         } > $@-t
73         mv $@-t $@
74 MOSTLYCLEANFILES += stdio.h stdio.h-t
75
76 Include:
77 #include <stdio.h>
78
79 License:
80 LGPLv2+
81
82 Maintainer:
83 all