Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG since they are needed to parse the include file. Do not require jm_AC_HEADER_INTTYPES_H; it's obsolete. Check for inttypes.h. Simplify logic behind the args to AC_REPLACE.