diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-08-05 22:00:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-08-05 22:00:58 (GMT) |
commit | aa01137e0e936cc97ab7ba3c80ab39b7772938f0 (patch) | |
tree | 56e6c4e66ddff63d098281e220a414f4d18ffc04 /unix/tcl.m4 | |
parent | c5ef7f0df97b7cc9452e449957462cd0dbbe373c (diff) | |
parent | 4fa8d0b58071c8c666a320ef21813e12303c3564 (diff) | |
download | tcl-aa01137e0e936cc97ab7ba3c80ab39b7772938f0.zip tcl-aa01137e0e936cc97ab7ba3c80ab39b7772938f0.tar.gz tcl-aa01137e0e936cc97ab7ba3c80ab39b7772938f0.tar.bz2 |
Mark unixforkevent-1.1 nonPortable, until proven on more platforms.
Make sure that when testing for pthread_atfork the thread library is taken into account.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 4 |
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 |