aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-05-27 12:02:13 +1000
committerSteve Bennett <steveb@workware.net.au>2011-05-27 12:03:55 +1000
commit31ddb64b8eb6803d25f990760d73afa4cfcea3b7 (patch)
treeffacf44fdc36245718e9e8018fc9139030ec6066 /configure
parent2ce2fdbcc082424e9acd4604e76a90d378a003a0 (diff)
downloadjimtcl-31ddb64b8eb6803d25f990760d73afa4cfcea3b7.zip
jimtcl-31ddb64b8eb6803d25f990760d73afa4cfcea3b7.tar.gz
jimtcl-31ddb64b8eb6803d25f990760d73afa4cfcea3b7.tar.bz2
Ensure detached child processes are reaped
Like Tcl, reap zombies on each exec invocation. This commit also simplifies the implementation of exec by using waitpid(). Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 7261a05..422750e 100755
--- a/configure
+++ b/configure
@@ -701,8 +701,7 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
-CPP
-CPPFLAGS'
+CPP'
# Initialize some variables set by options.
@@ -4013,7 +4012,7 @@ done
libs_aio="socket"
needs_regexp="ac_cv_func_regcomp"
needs_syslog="ac_cv_func_syslog"
-needs_exec="ac_cv_func_vfork"
+needs_exec="ac_cv_func_vfork ac_cv_func_waitpid"
needs_readdir="ac_cv_func_opendir"
dep_glob="readdir"
needs_posix="ac_cv_func_waitpid"