diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-31 20:13:16 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-31 20:13:16 (GMT) |
commit | 6f2d81146fb9272cccf3f5fd9ffbeed083d20f6c (patch) | |
tree | 15fcbb62054a37d8af5d714d594dd9275fb82595 /win/tcl.m4 | |
parent | 10f63c4d41c58c1dc5c3b09279ee978de8b57610 (diff) | |
download | tk-6f2d81146fb9272cccf3f5fd9ffbeed083d20f6c.zip tk-6f2d81146fb9272cccf3f5fd9ffbeed083d20f6c.tar.gz tk-6f2d81146fb9272cccf3f5fd9ffbeed083d20f6c.tar.bz2 |
Sync various configure-related changes from Tcl (from core-8-branch)
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. |