*** pgsql/configure 2004/12/14 14:53:52 1.415 --- pgsql/configure 2004/12/16 17:48:23 1.416 *************** else *** 14611,14617 **** --- 14611,14622 ---- int main () { + #ifndef _AIX int strerror_r(int, char *, size_t); + #else + /* Older AIX has 'int' for the third argument so we don't test the args. */ + int strerror_r(); + #endif ; return 0; } *************** else *** 14761,14780 **** cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" ! typedef long int int64; /* * These are globals to discourage the compiler from folding all the * arithmetic tests down to compile-time constants. */ ! int64 a = 20000001; ! int64 b = 40000005; int does_int64_work() { ! int64 c,d; ! if (sizeof(int64) != 8) return 0; /* definitely not the right size */ /* Do perfunctory checks to see if 64-bit arithmetic seems to work */ --- 14766,14785 ---- cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" ! typedef long int ac_int64; /* * These are globals to discourage the compiler from folding all the * arithmetic tests down to compile-time constants. */ ! ac_int64 a = 20000001; ! ac_int64 b = 40000005; int does_int64_work() { ! ac_int64 c,d; ! if (sizeof(ac_int64) != 8) return 0; /* definitely not the right size */ /* Do perfunctory checks to see if 64-bit arithmetic seems to work */ *************** else *** 14875,14894 **** cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" ! typedef long long int int64; /* * These are globals to discourage the compiler from folding all the * arithmetic tests down to compile-time constants. */ ! int64 a = 20000001; ! int64 b = 40000005; int does_int64_work() { ! int64 c,d; ! if (sizeof(int64) != 8) return 0; /* definitely not the right size */ /* Do perfunctory checks to see if 64-bit arithmetic seems to work */ --- 14880,14899 ---- cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include "confdefs.h" ! typedef long long int ac_int64; /* * These are globals to discourage the compiler from folding all the * arithmetic tests down to compile-time constants. */ ! ac_int64 a = 20000001; ! ac_int64 b = 40000005; int does_int64_work() { ! ac_int64 c,d; ! if (sizeof(ac_int64) != 8) return 0; /* definitely not the right size */ /* Do perfunctory checks to see if 64-bit arithmetic seems to work */ *************** else *** 15007,15024 **** #line $LINENO "configure" #include "confdefs.h" #include ! typedef long long int int64; #define INT64_FORMAT "$pgac_format" ! int64 a = 20000001; ! int64 b = 40000005; int does_int64_snprintf_work() { ! int64 c; char buf[100]; ! if (sizeof(int64) != 8) return 0; /* doesn't look like the right size */ c = a * b; --- 15012,15029 ---- #line $LINENO "configure" #include "confdefs.h" #include ! typedef long long int ac_int64; #define INT64_FORMAT "$pgac_format" ! ac_int64 a = 20000001; ! ac_int64 b = 40000005; int does_int64_snprintf_work() { ! ac_int64 c; char buf[100]; ! if (sizeof(ac_int64) != 8) return 0; /* doesn't look like the right size */ c = a * b;