aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2008-06-03 16:09:01 +0000
committerAndreas Schwab2008-06-03 16:09:01 +0000
commit362f44f2cf2bd8b45e892f6d85d1571ad2fd0edc (patch)
tree92baf5837c4b8eb9020e537774cd0f5ce43df751
parentf641e17bd4b3f86b2520dba6ca5359e2c250e287 (diff)
downloademacs-362f44f2cf2bd8b45e892f6d85d1571ad2fd0edc.tar.gz
emacs-362f44f2cf2bd8b45e892f6d85d1571ad2fd0edc.zip
Regenerate with fixed AC_FUNC_MKTIME.
-rwxr-xr-xconfigure22
1 files changed, 14 insertions, 8 deletions
diff --git a/configure b/configure
index 6f3418942aa..0f6be9e82af 100755
--- a/configure
+++ b/configure
@@ -16893,6 +16893,7 @@ cat >>conftest.$ac_ext <<_ACEOF
16893# endif 16893# endif
16894#endif 16894#endif
16895 16895
16896#include <limits.h>
16896#include <stdlib.h> 16897#include <stdlib.h>
16897 16898
16898#ifdef HAVE_UNISTD_H 16899#ifdef HAVE_UNISTD_H
@@ -17041,12 +17042,15 @@ main ()
17041 isn't worth using anyway. */ 17042 isn't worth using anyway. */
17042 alarm (60); 17043 alarm (60);
17043 17044
17044 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) 17045 for (;;)
17045 continue; 17046 {
17046 time_t_max--; 17047 t = (time_t_max << 1) + 1;
17047 if ((time_t) -1 < 0) 17048 if (t <= time_t_max)
17048 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2) 17049 break;
17049 continue; 17050 time_t_max = t;
17051 }
17052 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
17053
17050 delta = time_t_max / 997; /* a suitable prime number */ 17054 delta = time_t_max / 997; /* a suitable prime number */
17051 for (i = 0; i < N_STRINGS; i++) 17055 for (i = 0; i < N_STRINGS; i++)
17052 { 17056 {
@@ -17061,10 +17065,12 @@ main ()
17061 && mktime_test ((time_t) (60 * 60 * 24)))) 17065 && mktime_test ((time_t) (60 * 60 * 24))))
17062 return 1; 17066 return 1;
17063 17067
17064 for (j = 1; 0 < j; j *= 2) 17068 for (j = 1; ; j <<= 1)
17065 if (! bigtime_test (j)) 17069 if (! bigtime_test (j))
17066 return 1; 17070 return 1;
17067 if (! bigtime_test (j - 1)) 17071 else if (INT_MAX / 2 < j)
17072 break;
17073 if (! bigtime_test (INT_MAX))
17068 return 1; 17074 return 1;
17069 } 17075 }
17070 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 17076 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());