* modules/inttypes (Files): Add m4/inttypes-h.m4.
[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         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/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
29             -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
30             -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
31             -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
32             -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
33             < $(srcdir)/inttypes_.h > $@-t
34         mv $@-t $@
35 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
36
37 Include:
38 #include <inttypes.h>
39
40 License:
41 LGPL
42
43 Maintainer:
44 all