diff options
| author | Andreas Schwab | 2008-07-15 23:00:44 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-07-15 23:00:44 +0000 |
| commit | 209a0f5ec0d954e81ecb681bbe44f1c63d5ed9d3 (patch) | |
| tree | 1554796c62028bc995b319c41eab0a3633be83e5 | |
| parent | 6ddc6ccab44463c82d4ace77825affc40bc8321a (diff) | |
| download | emacs-209a0f5ec0d954e81ecb681bbe44f1c63d5ed9d3.tar.gz emacs-209a0f5ec0d954e81ecb681bbe44f1c63d5ed9d3.zip | |
Regenerate with fixed AC_FUNC_MKTIME.
| -rwxr-xr-x | configure | 22 |
1 files changed, 14 insertions, 8 deletions
| @@ -16933,6 +16933,7 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16933 | # endif | 16933 | # endif |
| 16934 | #endif | 16934 | #endif |
| 16935 | 16935 | ||
| 16936 | #include <limits.h> | ||
| 16936 | #include <stdlib.h> | 16937 | #include <stdlib.h> |
| 16937 | 16938 | ||
| 16938 | #ifdef HAVE_UNISTD_H | 16939 | #ifdef HAVE_UNISTD_H |
| @@ -17081,12 +17082,15 @@ main () | |||
| 17081 | isn't worth using anyway. */ | 17082 | isn't worth using anyway. */ |
| 17082 | alarm (60); | 17083 | alarm (60); |
| 17083 | 17084 | ||
| 17084 | for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) | 17085 | for (;;) |
| 17085 | continue; | 17086 | { |
| 17086 | time_t_max--; | 17087 | t = (time_t_max << 1) + 1; |
| 17087 | if ((time_t) -1 < 0) | 17088 | if (t <= time_t_max) |
| 17088 | for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2) | 17089 | break; |
| 17089 | continue; | 17090 | time_t_max = t; |
| 17091 | } | ||
| 17092 | time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max; | ||
| 17093 | |||
| 17090 | delta = time_t_max / 997; /* a suitable prime number */ | 17094 | delta = time_t_max / 997; /* a suitable prime number */ |
| 17091 | for (i = 0; i < N_STRINGS; i++) | 17095 | for (i = 0; i < N_STRINGS; i++) |
| 17092 | { | 17096 | { |
| @@ -17101,10 +17105,12 @@ main () | |||
| 17101 | && mktime_test ((time_t) (60 * 60 * 24)))) | 17105 | && mktime_test ((time_t) (60 * 60 * 24)))) |
| 17102 | return 1; | 17106 | return 1; |
| 17103 | 17107 | ||
| 17104 | for (j = 1; 0 < j; j *= 2) | 17108 | for (j = 1; ; j <<= 1) |
| 17105 | if (! bigtime_test (j)) | 17109 | if (! bigtime_test (j)) |
| 17106 | return 1; | 17110 | return 1; |
| 17107 | if (! bigtime_test (j - 1)) | 17111 | else if (INT_MAX / 2 < j) |
| 17112 | break; | ||
| 17113 | if (! bigtime_test (INT_MAX)) | ||
| 17108 | return 1; | 17114 | return 1; |
| 17109 | } | 17115 | } |
| 17110 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 17116 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |