Thomas Esser wrote: > > In newer versions of autoconf - the following is added: > > > > #if HAVE_INTTYPES_H > > # include <inttypes.h> > > #else > > # if HAVE_STDINT_H > > # include <stdint.h> > > # endif > > #endif > > Thanks for your analysis and your suggested fix. > > The problem with the suggested fix, however, is that dvipng.h does not > read stdint.h. So, I'd prefer just to have that additional inttypes.h > in the check, to bring it in sync with dvipng.h. > > Thomas
I might add the following (from the autoconf 2.59 manual): -----------8<----------------------- Portability of Headers ---------------------- <...> `inttypes.h' vs. `stdint.h' Paul Eggert notes that: ISO C 1999 says that `inttypes.h' includes `stdint.h', so there's no need to include `stdint.h' separately in a standard environment. Many implementations have `inttypes.h' but not `stdint.h' (e.g., Solaris 7), but I don't know of any implementation that has `stdint.h' but not `inttypes.h'. Nor do I know of any free software that includes `stdint.h'; `stdint.h' seems to be a creation of the committee. ------------8<---------------------- This is why dvipng.h does not read stdint.h. Am I wrong in following this advice? (Actually, the dvipng distribution uses autoconf 2.5x, but tetex does not. And I don't suppose Thomas wants to change this close to release.) /JĊ -- [ This .signature intentionally left blank ]