diff options
author | hobbs <hobbs@noemail.net> | 2005-07-28 18:39:38 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2005-07-28 18:39:38 (GMT) |
commit | 0721a0f7a218b0fb9229f0536eb53ed7bc7eb569 (patch) | |
tree | 94631f98ae9ecdc9df1f1be1f1916d4d27589e98 /unix/tcl.m4 | |
parent | 819cb308b7f66c39b2b8f6cd753a452555e40b7c (diff) | |
download | tcl-0721a0f7a218b0fb9229f0536eb53ed7bc7eb569.zip tcl-0721a0f7a218b0fb9229f0536eb53ed7bc7eb569.tar.gz tcl-0721a0f7a218b0fb9229f0536eb53ed7bc7eb569.tar.bz2 |
* unix/configure, unix/tcl.m4: defined TCL_LOAD_FROM_MEMORY on
Darwin only for SHARED_BUILD
FossilOrigin-Name: 0ed358ea9d1cbd82766040e2c676f710f53e54ba
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) |