diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-07-25 14:24:39 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-07-25 14:24:39 (GMT) |
commit | 7fb69e61c80a0f943d0cbc01e7f4ba39eb2cb737 (patch) | |
tree | 6026cb2681f531b22a15c285ffcc3309abbc0712 /unix/tcl.m4 | |
parent | 7682f9c4cd7dfb3439a27d03b4531358798ff443 (diff) | |
download | tcl-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.m4 | 2 |
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, |