aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2008-06-01 17:46:16 +0000
committerDan Nicolaescu <[email protected]>2008-06-01 17:46:16 +0000
commit39dd4d5263d69d25d217941d9420f573a64a607f (patch)
treeb311b99f9da00d7641fdd2c40acf8572ddca33be /configure
parentd893468a0988c826c246c3212cb7731eddf427cc (diff)
Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure38
1 files changed, 14 insertions, 24 deletions
diff --git a/configure b/configure
index 897f382f76..6f3418942a 100755
--- a/configure
+++ b/configure
@@ -16893,7 +16893,6 @@ cat >>conftest.$ac_ext <<_ACEOF
# endif
#endif
-#include <limits.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
@@ -17042,15 +17041,12 @@ main ()
isn't worth using anyway. */
alarm (60);
- for (;;)
- {
- t = (time_t_max << 1) + 1;
- if (t <= time_t_max)
- break;
- time_t_max = t;
- }
- time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
-
+ for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
+ continue;
+ time_t_max--;
+ if ((time_t) -1 < 0)
+ for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
+ continue;
delta = time_t_max / 997; /* a suitable prime number */
for (i = 0; i < N_STRINGS; i++)
{
@@ -17065,12 +17061,10 @@ main ()
&& mktime_test ((time_t) (60 * 60 * 24))))
return 1;
- for (j = 1; ; j <<= 1)
+ for (j = 1; 0 < j; j *= 2)
if (! bigtime_test (j))
return 1;
- else if (INT_MAX / 2 < j)
- break;
- if (! bigtime_test (INT_MAX))
+ if (! bigtime_test (j - 1))
return 1;
}
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
@@ -18979,13 +18973,11 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <sys/types.h> /* for off_t */
- #include <stdio.h>
+#include <stdio.h>
int
main ()
{
-int (*fp) (FILE *, off_t, int) = fseeko;
- return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
+return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
;
return 0;
}
@@ -19025,13 +19017,11 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#define _LARGEFILE_SOURCE 1
-#include <sys/types.h> /* for off_t */
- #include <stdio.h>
+#include <stdio.h>
int
main ()
{
-int (*fp) (FILE *, off_t, int) = fseeko;
- return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
+return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
;
return 0;
}
@@ -24221,13 +24211,13 @@ cat >>confdefs.h <<\_ACEOF
#define USE_X_TOOLKIT 1
_ACEOF
- if test "${USE_X_TOOLKIT}" == "LUCID"; then
+ if test "${USE_X_TOOLKIT}" = "LUCID"; then
cat >>confdefs.h <<\_ACEOF
#define USE_LUCID 1
_ACEOF
- elif test "${USE_X_TOOLKIT}" == "MOTIF"; then
+ elif test "${USE_X_TOOLKIT}" = "MOTIF"; then
cat >>confdefs.h <<\_ACEOF
#define USE_MOTIF 1