aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure40
1 files changed, 27 insertions, 13 deletions
diff --git a/configure b/configure
index 52f9f54d397..e2b2c364762 100755
--- a/configure
+++ b/configure
@@ -735,6 +735,7 @@ machfile
735opsysfile 735opsysfile
736carbon_appdir 736carbon_appdir
737ns_appdir 737ns_appdir
738GNUSTEP_MAKEFILES
738LTLIBOBJS' 739LTLIBOBJS'
739ac_subst_files='' 740ac_subst_files=''
740 ac_precious_vars='build_alias 741 ac_precious_vars='build_alias
@@ -9337,6 +9338,7 @@ if test "${with_ns}" != no; then
9337 NS_IMPL_GNUSTEP=yes 9338 NS_IMPL_GNUSTEP=yes
9338 GNUSTEP_SYSTEM_HEADERS="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)" 9339 GNUSTEP_SYSTEM_HEADERS="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)"
9339 GNUSTEP_SYSTEM_LIBRARIES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)" 9340 GNUSTEP_SYSTEM_LIBRARIES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)"
9341 GNUSTEP_MAKEFILES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_MAKEFILES)"
9340 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9342 CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9341 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9343 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9342 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9344 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
@@ -16905,6 +16907,7 @@ cat >>conftest.$ac_ext <<_ACEOF
16905# endif 16907# endif
16906#endif 16908#endif
16907 16909
16910#include <limits.h>
16908#include <stdlib.h> 16911#include <stdlib.h>
16909 16912
16910#ifdef HAVE_UNISTD_H 16913#ifdef HAVE_UNISTD_H
@@ -17053,12 +17056,15 @@ main ()
17053 isn't worth using anyway. */ 17056 isn't worth using anyway. */
17054 alarm (60); 17057 alarm (60);
17055 17058
17056 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) 17059 for (;;)
17057 continue; 17060 {
17058 time_t_max--; 17061 t = (time_t_max << 1) + 1;
17059 if ((time_t) -1 < 0) 17062 if (t <= time_t_max)
17060 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2) 17063 break;
17061 continue; 17064 time_t_max = t;
17065 }
17066 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
17067
17062 delta = time_t_max / 997; /* a suitable prime number */ 17068 delta = time_t_max / 997; /* a suitable prime number */
17063 for (i = 0; i < N_STRINGS; i++) 17069 for (i = 0; i < N_STRINGS; i++)
17064 { 17070 {
@@ -17073,10 +17079,12 @@ main ()
17073 && mktime_test ((time_t) (60 * 60 * 24)))) 17079 && mktime_test ((time_t) (60 * 60 * 24))))
17074 return 1; 17080 return 1;
17075 17081
17076 for (j = 1; 0 < j; j *= 2) 17082 for (j = 1; ; j <<= 1)
17077 if (! bigtime_test (j)) 17083 if (! bigtime_test (j))
17078 return 1; 17084 return 1;
17079 if (! bigtime_test (j - 1)) 17085 else if (INT_MAX / 2 < j)
17086 break;
17087 if (! bigtime_test (INT_MAX))
17080 return 1; 17088 return 1;
17081 } 17089 }
17082 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 17090 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
@@ -18985,11 +18993,13 @@ _ACEOF
18985cat confdefs.h >>conftest.$ac_ext 18993cat confdefs.h >>conftest.$ac_ext
18986cat >>conftest.$ac_ext <<_ACEOF 18994cat >>conftest.$ac_ext <<_ACEOF
18987/* end confdefs.h. */ 18995/* end confdefs.h. */
18988#include <stdio.h> 18996#include <sys/types.h> /* for off_t */
18997 #include <stdio.h>
18989int 18998int
18990main () 18999main ()
18991{ 19000{
18992return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); 19001int (*fp) (FILE *, off_t, int) = fseeko;
19002 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
18993 ; 19003 ;
18994 return 0; 19004 return 0;
18995} 19005}
@@ -19029,11 +19039,13 @@ cat confdefs.h >>conftest.$ac_ext
19029cat >>conftest.$ac_ext <<_ACEOF 19039cat >>conftest.$ac_ext <<_ACEOF
19030/* end confdefs.h. */ 19040/* end confdefs.h. */
19031#define _LARGEFILE_SOURCE 1 19041#define _LARGEFILE_SOURCE 1
19032#include <stdio.h> 19042#include <sys/types.h> /* for off_t */
19043 #include <stdio.h>
19033int 19044int
19034main () 19045main ()
19035{ 19046{
19036return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); 19047int (*fp) (FILE *, off_t, int) = fseeko;
19048 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19037 ; 19049 ;
19038 return 0; 19050 return 0;
19039} 19051}
@@ -24171,6 +24183,7 @@ fi
24171 24183
24172 24184
24173 24185
24186
24174cat >>confdefs.h <<_ACEOF 24187cat >>confdefs.h <<_ACEOF
24175#define EMACS_CONFIGURATION "${canonical}" 24188#define EMACS_CONFIGURATION "${canonical}"
24176_ACEOF 24189_ACEOF
@@ -25193,10 +25206,11 @@ machfile!$machfile$ac_delim
25193opsysfile!$opsysfile$ac_delim 25206opsysfile!$opsysfile$ac_delim
25194carbon_appdir!$carbon_appdir$ac_delim 25207carbon_appdir!$carbon_appdir$ac_delim
25195ns_appdir!$ns_appdir$ac_delim 25208ns_appdir!$ns_appdir$ac_delim
25209GNUSTEP_MAKEFILES!$GNUSTEP_MAKEFILES$ac_delim
25196LTLIBOBJS!$LTLIBOBJS$ac_delim 25210LTLIBOBJS!$LTLIBOBJS$ac_delim
25197_ACEOF 25211_ACEOF
25198 25212
25199 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then 25213 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
25200 break 25214 break
25201 elif $ac_last_try; then 25215 elif $ac_last_try; then
25202 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 25216 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5