summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-08-11 14:51:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-08-11 14:51:37 (GMT)
commit0b93e4ec5c09708ab425185d379949e42edad60b (patch)
treebdfc598c78b1dc0502e5604a69d1723195726197 /unix/tcl.m4
parent6c208deebcce1a0d90a5721f7a5f96213c26e147 (diff)
downloadtk-0b93e4ec5c09708ab425185d379949e42edad60b.zip
tk-0b93e4ec5c09708ab425185d379949e42edad60b.tar.gz
tk-0b93e4ec5c09708ab425185d379949e42edad60b.tar.bz2
Sync with Tcl version of tcl.m4
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 f12d0a8..194cf90 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -676,7 +676,11 @@ AC_DEFUN([SC_ENABLE_THREADS], [
# Does the pthread-implementation provide
# 'pthread_attr_setstacksize' ?
+
+ ac_saved_libs=$LIBS
+ LIBS="$LIBS $THREADS_LIBS"
AC_CHECK_FUNCS(pthread_attr_setstacksize pthread_atfork)
+ LIBS=$ac_saved_libs
else
TCL_THREADS=0
fi