aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-12-14 10:45:17 +1000
committerSteve Bennett <steveb@workware.net.au>2010-12-15 09:56:32 +1000
commit793ecc3517c7128a3f7070ee6be58351a7e064b4 (patch)
tree8c41932071245c1bf656fbffccc7fe817c143cd4 /configure
parent035055f5c5cd83e2e342063ea7b7eeb98d87bd9e (diff)
downloadjimtcl-793ecc3517c7128a3f7070ee6be58351a7e064b4.zip
jimtcl-793ecc3517c7128a3f7070ee6be58351a7e064b4.tar.gz
jimtcl-793ecc3517c7128a3f7070ee6be58351a7e064b4.tar.bz2
Use vfork() instead of fork() in [exec]
This allows systems with vfork() but not fork() to have a full exec implementation, including constructs such as 2>@1 and background exec with & Also remove the --disable-fork option. It doesn't really make sense now since exec uses vfork Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 2 insertions, 15 deletions
diff --git a/configure b/configure
index a81c71a..f4d1f08 100755
--- a/configure
+++ b/configure
@@ -682,7 +682,6 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
-enable_fork
enable_math
enable_ipv6
enable_utf8
@@ -1320,7 +1319,6 @@ Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-fork do not use fork (no exec, etc.)
--enable-math include support for math functions
--enable-ipv6 include ipv6 support in the aio extension
--enable-utf8 include support for utf8-encoded strings
@@ -3793,17 +3791,6 @@ case $host in
;;
esac
-# Check whether --enable-fork was given.
-if test "${enable_fork+set}" = set; then :
- enableval=$enable_fork;
- if test "x$enableval" = "xno" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: * disabling fork" >&5
-$as_echo "* disabling fork" >&6; }
- EXTRA_CFLAGS="-DJIM_NOFORK"
- fi
-
-fi
-
# Check whether --enable-math was given.
if test "${enable_math+set}" = set; then :
enableval=$enable_math;
@@ -3948,7 +3935,7 @@ if test "${with_jim_regexp+set}" = set; then :
fi
-for ac_header in sys/un.h dlfcn.h termios.h
+for ac_header in sys/un.h dlfcn.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -3970,7 +3957,7 @@ fi
-for ac_func in ualarm sysinfo lstat fork vfork
+for ac_func in ualarm sysinfo lstat vfork
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"