summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-25 14:24:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-25 14:24:39 (GMT)
commit7fb69e61c80a0f943d0cbc01e7f4ba39eb2cb737 (patch)
tree6026cb2681f531b22a15c285ffcc3309abbc0712 /unix/tcl.m4
parent7682f9c4cd7dfb3439a27d03b4531358798ff443 (diff)
downloadtcl-7fb69e61c80a0f943d0cbc01e7f4ba39eb2cb737.zip
tcl-7fb69e61c80a0f943d0cbc01e7f4ba39eb2cb737.tar.gz
tcl-7fb69e61c80a0f943d0cbc01e7f4ba39eb2cb737.tar.bz2
Move test for pthread_atfork inside SC_ENABLE_THREADS
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
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,