aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2008-08-07 08:54:11 +0000
committerAndreas Schwab2008-08-07 08:54:11 +0000
commit6b8bc48996dc00ed400558fea083b08b4c679fbe (patch)
treeaeed41b5c9ea9857bdfac4c1fcddb5a37c3690d3
parent6ecfe5c26e45a5d4da6cdf4b27f3e38b86998870 (diff)
downloademacs-6b8bc48996dc00ed400558fea083b08b4c679fbe.tar.gz
emacs-6b8bc48996dc00ed400558fea083b08b4c679fbe.zip
* configure.in: Correctly handle
--enable-cocoa-experimental-ctrl-g=no and --enable-ns-self-contained=yes. * configure: Regenerate.
-rw-r--r--ChangeLog7
-rwxr-xr-xconfigure36
-rw-r--r--configure.in18
3 files changed, 39 insertions, 22 deletions
diff --git a/ChangeLog b/ChangeLog
index cab4f54d0eb..652f53e731e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
12008-08-07 Andreas Schwab <schwab@suse.de>
2
3 * configure.in: Correctly handle
4 --enable-cocoa-experimental-ctrl-g=no and
5 --enable-ns-self-contained=yes.
6 * configure: Regenerate.
7
12008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> 82008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
2 9
3 * configure.in (NS_HAVE_INTEGER): Rename to NS_HAVE_NSINTEGER. 10 * configure.in (NS_HAVE_INTEGER): Rename to NS_HAVE_NSINTEGER.
diff --git a/configure b/configure
index 6cdecb3c863..934ff01b5bb 100755
--- a/configure
+++ b/configure
@@ -1333,8 +1333,10 @@ if test -n "$ac_init_help"; then
1333Optional Features: 1333Optional 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.
2134if test "${with_gcc+set}" = set; then 2136if 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 2138variable to specify a compiler." >&5
2137echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment 2139echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment
2138 variable to specify a compiler." >&2;} 2140variable to specify a compiler." >&2;}
2139 { (exit 1); exit 1; }; } 2141 { (exit 1); exit 1; }; }
2140fi 2142fi
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.
2156if test "${enable_cocoa_experimental_ctrl_g+set}" = set; then 2158if 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
2158else 2160else
2159 EN_COCOA_EXPERIMENTAL_CTRL_G=no 2161 EN_COCOA_EXPERIMENTAL_CTRL_G=no
2160fi 2162fi
@@ -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.
2164if test "${enable_ns_self_contained+set}" = set; then 2166if 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
2166else 2168else
2167 EN_NS_SELF_CONTAINED=yes 2169 EN_NS_SELF_CONTAINED=yes
2168fi 2170fi
@@ -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 ());
diff --git a/configure.in b/configure.in
index 868eeedf522..55b3d3d286a 100644
--- a/configure.in
+++ b/configure.in
@@ -153,12 +153,12 @@ OPTION_DEFAULT_ON([makeinfo],[don't require makeinfo for building manuals])
153 153
154dnl Can remove these in Emacs 24. 154dnl Can remove these in Emacs 24.
155AC_ARG_WITH([gtk],, 155AC_ARG_WITH([gtk],,
156 AC_MSG_ERROR([--with-gtk has been removed. Use --with-x-toolkit to 156 [AC_MSG_ERROR([--with-gtk has been removed. Use --with-x-toolkit to
157specify a toolkit.]),,) 157specify a toolkit.])],,)
158 158
159AC_ARG_WITH([gcc],, 159AC_ARG_WITH([gcc],,
160 AC_MSG_ERROR([--with-gcc has been removed. Set the `CC' environment 160 [AC_MSG_ERROR([--with-gcc has been removed. Set the `CC' environment
161 variable to specify a compiler.]),,) 161variable to specify a compiler.])],,)
162 162
163AC_ARG_WITH([pkg-config-prog],dnl 163AC_ARG_WITH([pkg-config-prog],dnl
164[AS_HELP_STRING([--with-pkg-config-prog=PATH], 164[AS_HELP_STRING([--with-pkg-config-prog=PATH],
@@ -170,13 +170,15 @@ if test "X${with_pkg_config_prog}" != X; then
170fi 170fi
171 171
172AC_ARG_ENABLE(cocoa-experimental-ctrl-g, 172AC_ARG_ENABLE(cocoa-experimental-ctrl-g,
173[ --enable-cocoa-experimental-ctrl-g enable experimental improved ctrl-g recognition], 173[AS_HELP_STRING([--enable-cocoa-experimental-ctrl-g],
174 EN_COCOA_EXPERIMENTAL_CTRL_G=yes, 174 [enable experimental improved ctrl-g recognition])],
175 EN_COCOA_EXPERIMENTAL_CTRL_G=$enableval,
175 EN_COCOA_EXPERIMENTAL_CTRL_G=no) 176 EN_COCOA_EXPERIMENTAL_CTRL_G=no)
176 177
177AC_ARG_ENABLE(ns-self-contained, 178AC_ARG_ENABLE(ns-self-contained,
178[ --disable-ns-self-contained disable self contained build under NS], 179[AS_HELP_STRING([--disable-ns-self-contained],
179 EN_NS_SELF_CONTAINED=no, 180 [disable self contained build under NeXTstep])],
181 EN_NS_SELF_CONTAINED=$enableval,
180 EN_NS_SELF_CONTAINED=yes) 182 EN_NS_SELF_CONTAINED=yes)
181 183
182AC_ARG_ENABLE(asserts, 184AC_ARG_ENABLE(asserts,