5943dae6f5d349fc1d4d894a0b60ccf388295f85
[gnulib.git] / modules / inttypes-incomplete
1 Description:
2 An <inttypes.h> that conforms to C99 except for PRI* and SCN* macros.
3
4 Files:
5 lib/inttypes.in.h
6 m4/inttypes.m4
7
8 Depends-on:
9 include_next
10 multiarch
11 snippet/arg-nonnull
12 snippet/c++defs
13 snippet/warn-on-use
14 stdint
15
16 configure.ac:
17 gl_INTTYPES_INCOMPLETE
18
19 Makefile.am:
20 BUILT_SOURCES += inttypes.h
21
22 # We need the following in order to create <inttypes.h> when the system
23 # doesn't have one that works with the given compiler.
24 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
27           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
28               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
32               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
33               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
34               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
35               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
36               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
37               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
38               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
39               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
40               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
41               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
42               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
43               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
44               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
45               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
46               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
47               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
48               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
49               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
50               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
51               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
52               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
53               < $(srcdir)/inttypes.in.h; \
54         } > $@-t && \
55         mv $@-t $@
56 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
57
58 Include:
59 <inttypes.h>
60
61 License:
62 LGPLv2+
63
64 Maintainer:
65 all