summaryrefslogtreecommitdiffstats
path: root/unix
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 /unix
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.
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
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-*)