Factor out the code that detects the long long int snprintf format into a

Peter Eisentraut <peter_e@gmx.net>

Commit: 955a1f81a702489102b2526e24631b9f51e14247
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2003-01-28T21:57:12Z
Releases: 7.4.1
Factor out the code that detects the long long int snprintf format into a
separate macro.  Also add support for %I64d which is the way on Windows.

The code that checks for the 64-bit int type now gives more reasonable
results when cross-compiling: In that case we just take the compiler's
information and trust that the arithmetic works.  Disabling int64 is too
pessimistic.

Files

PathChange+/−
config/c-compiler.m4 modified +6 −4
config/c-library.m4 modified +49 −1
configure modified +119 −92
configure.in modified +16 −81