c2b8885e5d54458008b8fab81311bf90e561d6d9
[gnulib.git] / modules / inttypes
1 Description:
2 An <inttypes.h> that nearly conforms to C99.
3
4 Files:
5 lib/inttypes_.h
6 m4/inttypes-pri.m4
7 m4/inttypes.m4
8
9 Depends-on:
10 absolute-header
11 stdint
12
13 configure.ac:
14 gl_INTTYPES_H
15
16 Makefile.am:
17 BUILT_SOURCES += $(INTTYPES_H)
18
19 # We need the following in order to create <inttypes.h> when the system
20 # doesn't have one that works with the given compiler.
21 inttypes.h: inttypes_.h
22         rm -f $@-t $@
23         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
24           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
25               -e 's|@''ABSOLUTE_INTTYPES_H''@|$(ABSOLUTE_INTTYPES_H)|g' \
26               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
27               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
28               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
29               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
30               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
31               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
32               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
33               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
34               < $(srcdir)/inttypes_.h; \
35         } > $@-t
36         mv $@-t $@
37 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
38
39 Include:
40 #include <inttypes.h>
41
42 License:
43 LGPL
44
45 Maintainer:
46 all