diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-04-17 22:48:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-04-17 22:48:00 (GMT) |
commit | f44e7c1795fe27f3f37e692f275545e3fe73ebd6 (patch) | |
tree | 7f22f87fe383707e86709d4ce2cdab71aad88cf5 /win/tcl.m4 | |
parent | 04604552b21903025c8b98a936347adae95c6ed3 (diff) | |
parent | 31a291920abf3cdcf53dd275bd8712565ba020c8 (diff) | |
download | tcl-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.m4 | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -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. |