summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-11-16 07:20:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-11-16 07:20:49 (GMT)
commit98f0d1a3406ed99293cd6bb505ccd29063208ce5 (patch)
tree91c4790b7f459c9347f152a95205730c4119ff6c /unix/configure.in
parent55e6c0333341b101e68407be7eebe42f829c9f33 (diff)
downloadtcl-98f0d1a3406ed99293cd6bb505ccd29063208ce5.zip
tcl-98f0d1a3406ed99293cd6bb505ccd29063208ce5.tar.gz
tcl-98f0d1a3406ed99293cd6bb505ccd29063208ce5.tar.bz2
merge updates from HEAD
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in23
1 files changed, 9 insertions, 14 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 272e466..8f4d212 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.157.2.9 2007/11/12 19:18:23 dgp Exp $
+# RCS: @(#) $Id: configure.in,v 1.157.2.10 2007/11/16 07:20:57 dgp Exp $
AC_INIT([tcl],[8.5])
AC_PREREQ(2.59)
@@ -165,6 +165,8 @@ if test "`uname -s`" = "Darwin" && test "${TCL_THREADS}" = 1 && \
fi
AC_CHECK_FUNC(realpath, , [AC_DEFINE(NO_REALPATH, 1, [Do we have realpath()])])
+SC_TCL_GETADDRINFO
+
#--------------------------------------------------------------------
# Look for thread-safe variants of some library functions.
#--------------------------------------------------------------------
@@ -661,29 +663,22 @@ AC_MSG_RESULT([$tcl_ok])
# Does the C stack grow upwards or downwards? Or cross-compiling?
#--------------------------------------------------------------------
-AC_CACHE_CHECK([does the C stack grow upwards in memory?], tcl_cv_stack_grows_up, [
+AC_CACHE_CHECK([if the C stack grows upwards in memory], tcl_cv_stack_grows_up, [
AC_TRY_RUN([
- int StackGrowsUp(int *parent)
- {
+ int StackGrowsUp(int *parent) {
int here;
return (&here < parent);
}
-
- int main (int argc, char *argv[])
- {
+ int main (int argc, char *argv[]) {
int foo;
return StackGrowsUp(&foo);
}
- ],
- tcl_cv_stack_grows_up=yes,
- tcl_cv_stack_grows_up=no,
+ ], tcl_cv_stack_grows_up=yes, tcl_cv_stack_grows_up=no,
tcl_cv_stack_grows_up=unknown)])
if test $tcl_cv_stack_grows_up = unknown; then
- AC_DEFINE(TCL_CROSS_COMPILE, 1,
- [Are we cross-compiling?])
+ AC_DEFINE(TCL_CROSS_COMPILE, 1, [Are we cross-compiling?])
elif test $tcl_cv_stack_grows_up = yes; then
- AC_DEFINE(TCL_STACK_GROWS_UP, 1,
- [The C stack grows upwards in memory])
+ AC_DEFINE(TCL_STACK_GROWS_UP, 1, [The C stack grows upwards in memory.])
fi
#--------------------------------------------------------------------