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)
commit60ef39d24a8c8c1572ef6f2efad50706b49e0f06 (patch)
tree6026cb2681f531b22a15c285ffcc3309abbc0712 /unix/tcl.m4
parent8f2d19b95103df07e718125efcd772ff582c2be1 (diff)
downloadtcl-60ef39d24a8c8c1572ef6f2efad50706b49e0f06.zip
tcl-60ef39d24a8c8c1572ef6f2efad50706b49e0f06.tar.gz
tcl-60ef39d24a8c8c1572ef6f2efad50706b49e0f06.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,