summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2006-09-06 13:23:36 (GMT)
committervasiljevic <zv@archiware.com>2006-09-06 13:23:36 (GMT)
commit799d39d3b8d26226e0e4daff3204b791a2d892c6 (patch)
tree2771d0bedc880175f4b3d2c6e27a3cec726604a3 /unix/configure.in
parent074d20bb308981e3f28eff4662c43e9308f5b4ca (diff)
downloadtcl-799d39d3b8d26226e0e4daff3204b791a2d892c6.zip
tcl-799d39d3b8d26226e0e4daff3204b791a2d892c6.tar.gz
tcl-799d39d3b8d26226e0e4daff3204b791a2d892c6.tar.bz2
Added fixes for Tcl Bug 999544 (ported from core-8-4-branch).
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 6c3ff2a..8e248e9 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.144 2006/08/21 01:08:42 das Exp $
+# RCS: @(#) $Id: configure.in,v 1.145 2006/09/06 13:23:37 vasiljevic Exp $
AC_INIT([tcl],[8.5])
AC_PREREQ(2.59)
@@ -162,6 +162,19 @@ if test "`uname -s`" = "Darwin" && test "${TCL_THREADS}" = 1 && \
fi
AC_CHECK_FUNC(realpath, , [AC_DEFINE(NO_REALPATH, 1, [Do we have realpath()])])
+#--------------------------------------------------------------------
+# Look for thread-safe variants of some library functions.
+#--------------------------------------------------------------------
+
+if test "${TCL_THREADS}" = 1; then
+ SC_TCL_GETPWUID_R
+ SC_TCL_GETPWNAM_R
+ SC_TCL_GETGRGID_R
+ SC_TCL_GETGRNAM_R
+ SC_TCL_GETHOSTBYNAME_R
+ SC_TCL_GETHOSTBYADDR_R
+fi
+
#---------------------------------------------------------------------------
# Determine which interface to use to talk to the serial port.
# Note that #include lines must begin in leftmost column for