Mercurial > emacs
comparison configure @ 96759:1e2f7aab70ba
* Makefile.in: Undef LIB_STANDARD before defining it to silence warning
in case it was defined already.
USE @GNUSTEP_MAKEFILES@ rather than envvars.
* nsterm.m (ns_term_init): Pass Qt and Qnil rather than YES/NO to
ns_default.
(applicationShouldTerminate, setValuesFromPanel): Use EQ to compare
Lisp_Objects.
* nsterm.h (Fx_display_grayscale_p, Fx_display_planes)
(ns_defined_color, ns_color_to_lisp): Declare.
* nsselect.m (ns_handle_selection_request, ns_handle_selection_clear)
(Fns_own_selection_internal): Make the big ugly hack more explicit, so
it's accepted even with USE_LISP_UNION_TYPE.
* nsmenu.m (ns_update_menubar): Use EQ to compare Lisp_Objects.
(update_frame_tool_bar): Remove apparently obsolete tests for
non-integerness of f->tool_bar_lines.
(windowShouldClose, addButton, clicked, runDialogAt): Make the big ugly
hack more explicit, so it's accepted even with USE_LISP_UNION_TYPE.
* nsfont.m (nsfont_driver): Use just 0 rather than an invalid cast.
(nsfont_open): Don't confuse NULL for Qnil.
* nsfns.m (ns_implicitly_set_icon_type): Use EQ to compare Lisp_Objects.
* menu.h (find_and_call_menu_selection):
* menu.c (find_and_call_menu_selection): Use just int for vector size.
(find_and_return_menu_selection): Always return something.
* frame.h: Include dispextern.h for Display_Info.
(display_x_get_resource): Declare.
* configure.in: Extract and substitute GNUSTEP_MAKEFILES.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 17 Jul 2008 03:33:59 +0000 |
parents | f5cf56c90437 |
children | 2b46fd076f88 |
comparison
equal
deleted
inserted
replaced
96758:4962b860277b | 96759:1e2f7aab70ba |
---|---|
733 X_TOOLKIT_TYPE | 733 X_TOOLKIT_TYPE |
734 machfile | 734 machfile |
735 opsysfile | 735 opsysfile |
736 carbon_appdir | 736 carbon_appdir |
737 ns_appdir | 737 ns_appdir |
738 GNUSTEP_MAKEFILES | |
738 LTLIBOBJS' | 739 LTLIBOBJS' |
739 ac_subst_files='' | 740 ac_subst_files='' |
740 ac_precious_vars='build_alias | 741 ac_precious_vars='build_alias |
741 host_alias | 742 host_alias |
742 target_alias | 743 target_alias |
9335 NS_IMPL_COCOA=yes | 9336 NS_IMPL_COCOA=yes |
9336 elif test -f /etc/GNUstep/GNUstep.conf; then | 9337 elif test -f /etc/GNUstep/GNUstep.conf; 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}" |
9343 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 9345 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
9344 fi | 9346 fi |
16903 # else | 16905 # else |
16904 # include <time.h> | 16906 # include <time.h> |
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 |
16911 # include <unistd.h> | 16914 # include <unistd.h> |
16912 #endif | 16915 #endif |
17051 /* This test makes some buggy mktime implementations loop. | 17054 /* This test makes some buggy mktime implementations loop. |
17052 Give up after 60 seconds; a mktime slower than that | 17055 Give up after 60 seconds; a mktime slower than that |
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 { |
17065 if (tz_strings[i]) | 17071 if (tz_strings[i]) |
17066 putenv (tz_strings[i]); | 17072 putenv (tz_strings[i]); |
17071 if (! (mktime_test ((time_t) 1) | 17077 if (! (mktime_test ((time_t) 1) |
17072 && mktime_test ((time_t) (60 * 60)) | 17078 && mktime_test ((time_t) (60 * 60)) |
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 ()); |
17083 } | 17091 } |
17084 _ACEOF | 17092 _ACEOF |
18983 /* confdefs.h. */ | 18991 /* confdefs.h. */ |
18984 _ACEOF | 18992 _ACEOF |
18985 cat confdefs.h >>conftest.$ac_ext | 18993 cat confdefs.h >>conftest.$ac_ext |
18986 cat >>conftest.$ac_ext <<_ACEOF | 18994 cat >>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> | |
18989 int | 18998 int |
18990 main () | 18999 main () |
18991 { | 19000 { |
18992 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); | 19001 int (*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 } |
18996 _ACEOF | 19006 _ACEOF |
18997 rm -f conftest.$ac_objext conftest$ac_exeext | 19007 rm -f conftest.$ac_objext conftest$ac_exeext |
19027 _ACEOF | 19037 _ACEOF |
19028 cat confdefs.h >>conftest.$ac_ext | 19038 cat confdefs.h >>conftest.$ac_ext |
19029 cat >>conftest.$ac_ext <<_ACEOF | 19039 cat >>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> | |
19033 int | 19044 int |
19034 main () | 19045 main () |
19035 { | 19046 { |
19036 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); | 19047 int (*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 } |
19040 _ACEOF | 19052 _ACEOF |
19041 rm -f conftest.$ac_objext conftest$ac_exeext | 19053 rm -f conftest.$ac_objext conftest$ac_exeext |
24133 { (exit 1); exit 1; }; } | 24145 { (exit 1); exit 1; }; } |
24134 fi | 24146 fi |
24135 | 24147 |
24136 ### Specify what sort of things we'll be editing into Makefile and config.h. | 24148 ### Specify what sort of things we'll be editing into Makefile and config.h. |
24137 ### Use configuration here uncanonicalized to avoid exceeding size limits. | 24149 ### Use configuration here uncanonicalized to avoid exceeding size limits. |
24150 | |
24138 | 24151 |
24139 | 24152 |
24140 | 24153 |
24141 | 24154 |
24142 | 24155 |
25191 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim | 25204 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim |
25192 machfile!$machfile$ac_delim | 25205 machfile!$machfile$ac_delim |
25193 opsysfile!$opsysfile$ac_delim | 25206 opsysfile!$opsysfile$ac_delim |
25194 carbon_appdir!$carbon_appdir$ac_delim | 25207 carbon_appdir!$carbon_appdir$ac_delim |
25195 ns_appdir!$ns_appdir$ac_delim | 25208 ns_appdir!$ns_appdir$ac_delim |
25209 GNUSTEP_MAKEFILES!$GNUSTEP_MAKEFILES$ac_delim | |
25196 LTLIBOBJS!$LTLIBOBJS$ac_delim | 25210 LTLIBOBJS!$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 |
25203 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | 25217 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
25204 { (exit 1); exit 1; }; } | 25218 { (exit 1); exit 1; }; } |