summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-04-17 22:48:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-04-17 22:48:00 (GMT)
commitf44e7c1795fe27f3f37e692f275545e3fe73ebd6 (patch)
tree7f22f87fe383707e86709d4ce2cdab71aad88cf5 /win/tcl.m4
parent04604552b21903025c8b98a936347adae95c6ed3 (diff)
parent31a291920abf3cdcf53dd275bd8712565ba020c8 (diff)
downloadtcl-f44e7c1795fe27f3f37e692f275545e3fe73ebd6.zip
tcl-f44e7c1795fe27f3f37e692f275545e3fe73ebd6.tar.gz
tcl-f44e7c1795fe27f3f37e692f275545e3fe73ebd6.tar.bz2
Merge 8.7
Move stuff from SC_ENABLE_THREADS to SC_TCL_LINK_LIBS in tcl.m4, so SC_ENABLE_THREADS is no longer needed in configure.ac
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m436
1 files changed, 0 insertions, 36 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 0e4a3a5..e2a2fb2 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -383,42 +383,6 @@ AC_DEFUN([SC_ENABLE_SHARED], [
])
#------------------------------------------------------------------------
-# SC_ENABLE_THREADS --
-#
-# Specify if thread support should be enabled
-#
-# Arguments:
-# none
-#
-# Results:
-#
-# Adds the following arguments to configure:
-# --enable-threads=yes|no
-#
-# Defines the following vars:
-# TCL_THREADS
-#------------------------------------------------------------------------
-
-AC_DEFUN([SC_ENABLE_THREADS], [
- AC_MSG_CHECKING(for building with threads)
- AC_ARG_ENABLE(threads, [ --enable-threads build with threads (default: on)],
- [tcl_ok=$enableval], [tcl_ok=yes])
-
- if test "$tcl_ok" = "yes"; then
- AC_MSG_RESULT([yes (default)])
- TCL_THREADS=1
- AC_DEFINE(TCL_THREADS)
- # USE_THREAD_ALLOC tells us to try the special thread-based
- # allocator that significantly reduces lock contention
- AC_DEFINE(USE_THREAD_ALLOC)
- else
- TCL_THREADS=0
- AC_MSG_RESULT(no)
- fi
- AC_SUBST(TCL_THREADS)
-])
-
-#------------------------------------------------------------------------
# SC_ENABLE_SYMBOLS --
#
# Specify if debugging symbols should be used.