summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
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