summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-26 09:11:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-26 09:11:49 (GMT)
commit14777a1672ff90ca5fc683fdba37bd4bc262e163 (patch)
treeaac38ba7eb98689f51c47583ea598e62a64ba028 /unix
parent657084d02ca6e4c669c19845645b72153bbea92d (diff)
downloadtk-14777a1672ff90ca5fc683fdba37bd4bc262e163.zip
tk-14777a1672ff90ca5fc683fdba37bd4bc262e163.tar.gz
tk-14777a1672ff90ca5fc683fdba37bd4bc262e163.tar.bz2
sync with Tcl version.
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 8c1b033..a7d80a6 100755
--- a/unix/configure
+++ b/unix/configure
@@ -3962,7 +3962,7 @@ echo "$as_me: WARNING: Don't know how to find pthread lib on your system - you m
ac_saved_libs=$LIBS
LIBS="$LIBS $THREADS_LIBS"
-for ac_func in pthread_attr_setstacksize
+for ac_func in pthread_attr_setstacksize pthread_atfork
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 879d810..f484989 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -679,7 +679,7 @@ AC_DEFUN([SC_ENABLE_THREADS], [
ac_saved_libs=$LIBS
LIBS="$LIBS $THREADS_LIBS"
- AC_CHECK_FUNCS(pthread_attr_setstacksize)
+ AC_CHECK_FUNCS(pthread_attr_setstacksize pthread_atfork)
AC_CHECK_FUNC(pthread_attr_get_np,tcl_ok=yes,tcl_ok=no)
if test $tcl_ok = yes ; then
AC_DEFINE(HAVE_PTHREAD_ATTR_GET_NP, 1,