summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordas <das>2006-10-13 04:54:16 (GMT)
committerdas <das>2006-10-13 04:54:16 (GMT)
commitaa68b77f6af4b4ca253e84ff63b3f600ce587a13 (patch)
tree2e515d8d08500e6ea7688d44d85de2b244a426d9 /unix/tcl.m4
parentb4a8d2a766c34971890c00827d75474e43c68c3d (diff)
downloadtcl-aa68b77f6af4b4ca253e84ff63b3f600ce587a13.zip
tcl-aa68b77f6af4b4ca253e84ff63b3f600ce587a13.tar.gz
tcl-aa68b77f6af4b4ca253e84ff63b3f600ce587a13.tar.bz2
* unix/tclUnixThrd.c (TclpThreadGetStackSize): on Darwin, use
* unix/tcl.m4: pthread_get_stacksize_np() API to get thread stack size. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 6f67011..a0f1a6d 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -707,6 +707,10 @@ AC_DEFUN([SC_ENABLE_THREADS], [
fi
fi
fi
+ if test $tcl_ok = no; then
+ # Darwin thread stacksize API
+ AC_CHECK_FUNCS(pthread_get_stacksize_np)
+ fi
LIBS=$ac_saved_libs
else
TCL_THREADS=0