2 An <inttypes.h> that nearly conforms to C99.
17 BUILT_SOURCES += $(INTTYPES_H)
18 EXTRA_DIST += inttypes_.h
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_.h
23 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
24 -e 's|@''ABSOLUTE_INTTYPES_H''@|$(ABSOLUTE_INTTYPES_H)|g' \
25 -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
26 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
27 -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
28 -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
29 -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
30 -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
31 -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
32 < $(srcdir)/inttypes_.h > $@-t
34 MOSTLYCLEANFILES += inttypes.h inttypes.h-t