diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-12-14 10:45:17 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-12-15 09:56:32 +1000 |
commit | 793ecc3517c7128a3f7070ee6be58351a7e064b4 (patch) | |
tree | 8c41932071245c1bf656fbffccc7fe817c143cd4 /configure.ac | |
parent | 035055f5c5cd83e2e342063ea7b7eeb98d87bd9e (diff) | |
download | jimtcl-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.ac')
-rwxr-xr-x | configure.ac | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 9d33a81..23e3070 100755 --- a/configure.ac +++ b/configure.ac @@ -48,15 +48,6 @@ case $host in ;; esac -AC_ARG_ENABLE(fork, - [ --disable-fork do not use fork (no exec, etc.)], - [ - if test "x$enableval" = "xno" ; then - AC_MSG_RESULT(* disabling fork) - EXTRA_CFLAGS="-DJIM_NOFORK" - fi - ], -) AC_ARG_ENABLE(math, [ --enable-math include support for math functions], [ @@ -212,7 +203,7 @@ AC_ARG_WITH(jim-regexp, AC_CHECK_HEADERS([sys/un.h dlfcn.h termios.h]) AC_CHECK_HEADER(termios.h,,lineedit=0) -AC_CHECK_FUNCS([ualarm sysinfo lstat fork vfork]) +AC_CHECK_FUNCS([ualarm sysinfo lstat vfork]) AC_CHECK_FUNCS([backtrace geteuid mkstemp realpath strptime]) AC_CHECK_FUNCS([regcomp waitpid sigaction sys_signame sys_siglist]) AC_CHECK_FUNCS([syslog opendir readlink sleep usleep pipe inet_ntop getaddrinfo]) |