summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2003-02-21 03:32:48 (GMT)
committerdas <das>2003-02-21 03:32:48 (GMT)
commit21ad75c9848f7e6fe9e4694a98c492eb9cd4803c (patch)
treed56d848d9e21b609ea7bbca78f6e63e1750c6ad7
parentcc0e6436fbea0546291e1b2cbed4d3f8cecda514 (diff)
downloadtcl-21ad75c9848f7e6fe9e4694a98c492eb9cd4803c.zip
tcl-21ad75c9848f7e6fe9e4694a98c492eb9cd4803c.tar.gz
tcl-21ad75c9848f7e6fe9e4694a98c492eb9cd4803c.tar.bz2
* unix/tcl.m4:
* unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() to create new processes, as recommended by to Apple (vfork can be up to 100 times faster thank fork on macosx). * unix/configure: regen.
-rw-r--r--ChangeLog8
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f9612aa..90f2f1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-02-20 Daniel Steffen <das@users.sourceforge.net>
+
+ * unix/tcl.m4:
+ * unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() to
+ create new processes, as recommended by to Apple (vfork can be up to
+ 100 times faster thank fork on macosx).
+ * unix/configure: regen.
+
2003-02-20 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclEncoding.c (LoadTableEncoding):
diff --git a/unix/configure b/unix/configure
index 3dff2d5..70dcb69 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6318,7 +6318,7 @@ fi
LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
# for compatibility with autoconf vers 2.13 :
HACK=""
- EXTRA_CFLAGS="-DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
+ EXTRA_CFLAGS="-DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DUSE_VFORK -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
LIBS="$LIBS -framework CoreFoundation"
;;
NEXTSTEP-*)
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index b9e6d15..e407792 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1271,7 +1271,7 @@ dnl AC_CHECK_TOOL(AR, ar)
LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
# for compatibility with autoconf vers 2.13 :
HACK=""
- EXTRA_CFLAGS="-DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
+ EXTRA_CFLAGS="-DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DUSE_VFORK -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
LIBS="$LIBS -framework CoreFoundation"
;;
NEXTSTEP-*)