summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-26 09:25:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-26 09:25:04 (GMT)
commita505a28ede44cda0c24a97eb0e48f8b85506266c (patch)
treefed1b6d408fa4ca353af6a43b0e46a5ec48c1826
parent4e9d18aba55de86cb9b8d13f453b3c4c12ff1332 (diff)
parent14777a1672ff90ca5fc683fdba37bd4bc262e163 (diff)
downloadtk-a505a28ede44cda0c24a97eb0e48f8b85506266c.zip
tk-a505a28ede44cda0c24a97eb0e48f8b85506266c.tar.gz
tk-a505a28ede44cda0c24a97eb0e48f8b85506266c.tar.bz2
sync with Tcl version
-rwxr-xr-xunix/configure5
-rw-r--r--unix/tcl.m45
2 files changed, 6 insertions, 4 deletions
diff --git a/unix/configure b/unix/configure
index b0d5f3b..e1e7dff 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4035,7 +4035,7 @@ 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' ?
-for ac_func in pthread_attr_setstacksize
+for ac_func in pthread_attr_setstacksize pthread_atfork
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -4913,7 +4913,8 @@ fi
SHLIB_CFLAGS=""
SHLIB_LD='${CC} -shared'
SHLIB_SUFFIX=".dll"
- DL_OBJS="tclLoadDl.o tclWinError.o"
+ DL_OBJS="tclLoadDl.o"
+ PLAT_OBJS="tclWinError.o"
DL_LIBS="-ldl"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index b9b6532..dc5c16a 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -676,7 +676,7 @@ AC_DEFUN([SC_ENABLE_THREADS], [
# Does the pthread-implementation provide
# 'pthread_attr_setstacksize' ?
- AC_CHECK_FUNCS(pthread_attr_setstacksize)
+ AC_CHECK_FUNCS(pthread_attr_setstacksize pthread_atfork)
else
TCL_THREADS=0
fi
@@ -1224,7 +1224,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
SHLIB_CFLAGS=""
SHLIB_LD='${CC} -shared'
SHLIB_SUFFIX=".dll"
- DL_OBJS="tclLoadDl.o tclWinError.o"
+ DL_OBJS="tclLoadDl.o"
+ PLAT_OBJS="tclWinError.o"
DL_LIBS="-ldl"
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""