1
--- tcl8.5-8.5.9.orig/unix/configure.in
2
+++ tcl8.5-8.5.9/unix/configure.in
4
# Does the C stack grow upwards or downwards? Or cross-compiling?
5
#--------------------------------------------------------------------
9
AC_CACHE_CHECK([if the C stack grows upwards in memory], tcl_cv_stack_grows_up, [
11
int StackGrowsUp(int *parent) {
14
], tcl_cv_stack_grows_up=yes, tcl_cv_stack_grows_up=no,
15
tcl_cv_stack_grows_up=unknown)])
17
if test $tcl_cv_stack_grows_up = unknown; then
18
AC_DEFINE(TCL_CROSS_COMPILE, 1, [Are we cross-compiling?])
19
elif test $tcl_cv_stack_grows_up = yes; then
20
--- tcl8.5-8.5.9.orig/unix/configure
21
+++ tcl8.5-8.5.9/unix/configure
22
@@ -18660,6 +18660,8 @@
23
# Does the C stack grow upwards or downwards? Or cross-compiling?
24
#--------------------------------------------------------------------
28
echo "$as_me:$LINENO: checking if the C stack grows upwards in memory" >&5
29
echo $ECHO_N "checking if the C stack grows upwards in memory... $ECHO_C" >&6
30
if test "${tcl_cv_stack_grows_up+set}" = set; then
31
@@ -18711,6 +18713,7 @@
33
echo "$as_me:$LINENO: result: $tcl_cv_stack_grows_up" >&5
34
echo "${ECHO_T}$tcl_cv_stack_grows_up" >&6
36
if test $tcl_cv_stack_grows_up = unknown; then
38
cat >>confdefs.h <<\_ACEOF