summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index adaa421..8c900dd 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -708,6 +708,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
@@ -1645,6 +1649,7 @@ dnl AC_CHECK_TOOL(AR, ar)
if test $tcl_cv_lib_corefoundation_64 = no; then
AC_DEFINE(NO_COREFOUNDATION_64, 1,
[Is Darwin CoreFoundation unavailable for 64-bit?])
+ LDFLAGS="$LDFLAGS -Wl,-no_arch_warnings"
fi
fi
fi