diff options
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index a48c114..1ea2f5f 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1454,7 +1454,9 @@ dnl AC_CHECK_TOOL(AR, ar) AC_DEFINE(MAC_OSX_TCL) AC_DEFINE(USE_VFORK) AC_DEFINE(TCL_DEFAULT_ENCODING,"utf-8") - AC_DEFINE(TCL_LOAD_FROM_MEMORY) + if test "$SHARED_BUILD" = "1" ; then + AC_DEFINE(TCL_LOAD_FROM_MEMORY) + fi # prior to Darwin 7, realpath is not threadsafe, so don't # use it when threads are enabled, c.f. bug # 711232: AC_CHECK_FUNC(realpath) |