0492ac1b47bc2571739d944ce80cd9fdedc49b57
[gnulib.git] / modules / inttypes
1 Description:
2 An <inttypes.h> that nearly conforms to C99.
3
4 Files:
5 lib/inttypes_.h
6 m4/absolute-header.m4
7 m4/inttypes-h.m4
8 m4/inttypes-pri.m4
9 m4/inttypes.m4
10
11 Depends-on:
12 stdint
13
14 configure.ac:
15 gl_INTTYPES_H
16
17 Makefile.am:
18 BUILT_SOURCES += $(INTTYPES_H)
19 EXTRA_DIST += inttypes_.h
20
21 # We need the following in order to create <inttypes.h> when the system
22 # doesn't have one that works with the given compiler.
23 inttypes.h: inttypes_.h
24         rm -f $@-t $@
25         sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
26             -e 's|@''ABSOLUTE_INTTYPES_H''@|$(ABSOLUTE_INTTYPES_H)|g' \
27             -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
28             -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_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 > $@-t
35         mv $@-t $@
36 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
37
38 Include:
39 #include <inttypes.h>
40
41 License:
42 LGPL
43
44 Maintainer:
45 all