summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-07-28 18:39:38 (GMT)
committerhobbs <hobbs>2005-07-28 18:39:38 (GMT)
commit55164c3fb43310af750cc7c02a86f163a1fefee7 (patch)
tree94631f98ae9ecdc9df1f1be1f1916d4d27589e98 /unix/tcl.m4
parent425be14f5a21104533dbeb1df9edd1bc5363b2b1 (diff)
downloadtcl-55164c3fb43310af750cc7c02a86f163a1fefee7.zip
tcl-55164c3fb43310af750cc7c02a86f163a1fefee7.tar.gz
tcl-55164c3fb43310af750cc7c02a86f163a1fefee7.tar.bz2
* unix/configure, unix/tcl.m4: defined TCL_LOAD_FROM_MEMORY on
Darwin only for SHARED_BUILD
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
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)