Avoid some "gcc -pedantic" warnings.
[gnulib.git] / modules / inttypes
1 Description:
2 An <inttypes.h> that nearly conforms to C99.
3
4 Files:
5 lib/inttypes.in.h
6 m4/inttypes-pri.m4
7 m4/inttypes.m4
8
9 Depends-on:
10 include_next
11 link-warning
12 stdint
13
14 configure.ac:
15 gl_INTTYPES_H
16
17 Makefile.am:
18 BUILT_SOURCES += $(INTTYPES_H)
19
20 # We need the following in order to create <inttypes.h> when the system
21 # doesn't have one that works with the given compiler.
22 inttypes.h: inttypes.in.h
23         rm -f $@-t $@
24         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
25           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
26               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
27               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
28               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
29               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
30               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
31               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
32               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
33               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
34               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
35               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
36               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
37               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
38               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
39               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
40               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
41               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
42               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
43               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
44               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
45               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
46               < $(srcdir)/inttypes.in.h; \
47         } > $@-t
48         mv $@-t $@
49 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
50
51 Include:
52 #include <inttypes.h>
53
54 License:
55 LGPL
56
57 Maintainer:
58 all