diff options
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 083c4e8..b24349f 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -450,7 +450,10 @@ 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) + LIBS=$ac_saved_libs AC_CHECK_FUNCS(readdir_r) else TCL_THREADS=0 |