2 An <inttypes.h> that nearly conforms to C99.
18 BUILT_SOURCES += $(INTTYPES_H)
19 EXTRA_DIST += inttypes_.h
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
35 MOSTLYCLEANFILES += inttypes.h inttypes.h-t