diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-08-11 14:51:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-08-11 14:51:37 (GMT) |
commit | 0b93e4ec5c09708ab425185d379949e42edad60b (patch) | |
tree | bdfc598c78b1dc0502e5604a69d1723195726197 /unix/configure | |
parent | 6c208deebcce1a0d90a5721f7a5f96213c26e147 (diff) | |
download | tk-0b93e4ec5c09708ab425185d379949e42edad60b.zip tk-0b93e4ec5c09708ab425185d379949e42edad60b.tar.gz tk-0b93e4ec5c09708ab425185d379949e42edad60b.tar.bz2 |
Sync with Tcl version of tcl.m4
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure index 3682600..2683a29 100755 --- a/unix/configure +++ b/unix/configure @@ -4035,6 +4035,10 @@ echo "$as_me: WARNING: Don't know how to find pthread lib on your system - you m # Does the pthread-implementation provide # 'pthread_attr_setstacksize' ? + ac_saved_libs=$LIBS + LIBS="$LIBS $THREADS_LIBS" + + for ac_func in pthread_attr_setstacksize pthread_atfork do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -4136,6 +4140,7 @@ _ACEOF fi done + LIBS=$ac_saved_libs else TCL_THREADS=0 fi |