diff options
| author | Andreas Schwab | 2008-08-07 08:54:11 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-08-07 08:54:11 +0000 |
| commit | 6b8bc48996dc00ed400558fea083b08b4c679fbe (patch) | |
| tree | aeed41b5c9ea9857bdfac4c1fcddb5a37c3690d3 /configure | |
| parent | 6ecfe5c26e45a5d4da6cdf4b27f3e38b86998870 (diff) | |
| download | emacs-6b8bc48996dc00ed400558fea083b08b4c679fbe.tar.gz emacs-6b8bc48996dc00ed400558fea083b08b4c679fbe.zip | |
* configure.in: Correctly handle
--enable-cocoa-experimental-ctrl-g=no and
--enable-ns-self-contained=yes.
* configure: Regenerate.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 36 |
1 files changed, 22 insertions, 14 deletions
| @@ -1333,8 +1333,10 @@ if test -n "$ac_init_help"; then | |||
| 1333 | Optional Features: | 1333 | Optional Features: |
| 1334 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1334 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1335 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1335 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1336 | --enable-cocoa-experimental-ctrl-g enable experimental improved ctrl-g recognition | 1336 | --enable-cocoa-experimental-ctrl-g |
| 1337 | --disable-ns-self-contained disable self contained build under NS | 1337 | enable experimental improved ctrl-g recognition |
| 1338 | --disable-ns-self-contained | ||
| 1339 | disable self contained build under NeXTstep | ||
| 1338 | --enable-asserts compile code with asserts enabled | 1340 | --enable-asserts compile code with asserts enabled |
| 1339 | --enable-maintainer-mode | 1341 | --enable-maintainer-mode |
| 1340 | enable make rules and dependencies not useful (and | 1342 | enable make rules and dependencies not useful (and |
| @@ -2133,9 +2135,9 @@ fi | |||
| 2133 | # Check whether --with-gcc was given. | 2135 | # Check whether --with-gcc was given. |
| 2134 | if test "${with_gcc+set}" = set; then | 2136 | if test "${with_gcc+set}" = set; then |
| 2135 | withval=$with_gcc; { { echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment | 2137 | withval=$with_gcc; { { echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment |
| 2136 | variable to specify a compiler." >&5 | 2138 | variable to specify a compiler." >&5 |
| 2137 | echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment | 2139 | echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment |
| 2138 | variable to specify a compiler." >&2;} | 2140 | variable to specify a compiler." >&2;} |
| 2139 | { (exit 1); exit 1; }; } | 2141 | { (exit 1); exit 1; }; } |
| 2140 | fi | 2142 | fi |
| 2141 | 2143 | ||
| @@ -2154,7 +2156,7 @@ fi | |||
| 2154 | 2156 | ||
| 2155 | # Check whether --enable-cocoa-experimental-ctrl-g was given. | 2157 | # Check whether --enable-cocoa-experimental-ctrl-g was given. |
| 2156 | if test "${enable_cocoa_experimental_ctrl_g+set}" = set; then | 2158 | if test "${enable_cocoa_experimental_ctrl_g+set}" = set; then |
| 2157 | enableval=$enable_cocoa_experimental_ctrl_g; EN_COCOA_EXPERIMENTAL_CTRL_G=yes | 2159 | enableval=$enable_cocoa_experimental_ctrl_g; EN_COCOA_EXPERIMENTAL_CTRL_G=$enableval |
| 2158 | else | 2160 | else |
| 2159 | EN_COCOA_EXPERIMENTAL_CTRL_G=no | 2161 | EN_COCOA_EXPERIMENTAL_CTRL_G=no |
| 2160 | fi | 2162 | fi |
| @@ -2162,7 +2164,7 @@ fi | |||
| 2162 | 2164 | ||
| 2163 | # Check whether --enable-ns-self-contained was given. | 2165 | # Check whether --enable-ns-self-contained was given. |
| 2164 | if test "${enable_ns_self_contained+set}" = set; then | 2166 | if test "${enable_ns_self_contained+set}" = set; then |
| 2165 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=no | 2167 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval |
| 2166 | else | 2168 | else |
| 2167 | EN_NS_SELF_CONTAINED=yes | 2169 | EN_NS_SELF_CONTAINED=yes |
| 2168 | fi | 2170 | fi |
| @@ -16651,6 +16653,7 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16651 | # endif | 16653 | # endif |
| 16652 | #endif | 16654 | #endif |
| 16653 | 16655 | ||
| 16656 | #include <limits.h> | ||
| 16654 | #include <stdlib.h> | 16657 | #include <stdlib.h> |
| 16655 | 16658 | ||
| 16656 | #ifdef HAVE_UNISTD_H | 16659 | #ifdef HAVE_UNISTD_H |
| @@ -16799,12 +16802,15 @@ main () | |||
| 16799 | isn't worth using anyway. */ | 16802 | isn't worth using anyway. */ |
| 16800 | alarm (60); | 16803 | alarm (60); |
| 16801 | 16804 | ||
| 16802 | for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) | 16805 | for (;;) |
| 16803 | continue; | 16806 | { |
| 16804 | time_t_max--; | 16807 | t = (time_t_max << 1) + 1; |
| 16805 | if ((time_t) -1 < 0) | 16808 | if (t <= time_t_max) |
| 16806 | for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2) | 16809 | break; |
| 16807 | continue; | 16810 | time_t_max = t; |
| 16811 | } | ||
| 16812 | time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max; | ||
| 16813 | |||
| 16808 | delta = time_t_max / 997; /* a suitable prime number */ | 16814 | delta = time_t_max / 997; /* a suitable prime number */ |
| 16809 | for (i = 0; i < N_STRINGS; i++) | 16815 | for (i = 0; i < N_STRINGS; i++) |
| 16810 | { | 16816 | { |
| @@ -16819,10 +16825,12 @@ main () | |||
| 16819 | && mktime_test ((time_t) (60 * 60 * 24)))) | 16825 | && mktime_test ((time_t) (60 * 60 * 24)))) |
| 16820 | return 1; | 16826 | return 1; |
| 16821 | 16827 | ||
| 16822 | for (j = 1; 0 < j; j *= 2) | 16828 | for (j = 1; ; j <<= 1) |
| 16823 | if (! bigtime_test (j)) | 16829 | if (! bigtime_test (j)) |
| 16824 | return 1; | 16830 | return 1; |
| 16825 | if (! bigtime_test (j - 1)) | 16831 | else if (INT_MAX / 2 < j) |
| 16832 | break; | ||
| 16833 | if (! bigtime_test (INT_MAX)) | ||
| 16826 | return 1; | 16834 | return 1; |
| 16827 | } | 16835 | } |
| 16828 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 16836 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |