summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-25 07:36:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-25 07:36:19 (GMT)
commitb7f335b27d90eca969dc6c0a63a1da343abfe906 (patch)
tree5a86f6d083638b294b094e1b01f56e7dd88be6f7 /unix/tcl.m4
parent50944b9abf958ca3c10fee9f0776bff3bfee0752 (diff)
downloadtcl-b7f335b27d90eca969dc6c0a63a1da343abfe906.zip
tcl-b7f335b27d90eca969dc6c0a63a1da343abfe906.tar.gz
tcl-b7f335b27d90eca969dc6c0a63a1da343abfe906.tar.bz2
attempt to fix posix_spawn on linux
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index add827f..dfa812b 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -590,7 +590,6 @@ AC_DEFUN([SC_ENABLE_FRAMEWORK], [
# TCL_THREADS
# _REENTRANT
# _THREAD_SAFE
-#
#------------------------------------------------------------------------
AC_DEFUN([SC_ENABLE_THREADS], [
@@ -2068,7 +2067,8 @@ dnl # preprocessing tests use only CPPFLAGS.
CFLAGS_NOLTO=""
fi
- AC_CHECK_FUNCS([posix_spawnp])
+ # Check for posix_spawnp() and friends unconditionally
+ AC_CHECK_FUNCS(posix_spawnp posix_spawn_file_actions_adddup2 posix_spawnattr_setflags)
# FIXME: This subst was left in only because the TCL_DL_LIBS
# entry in tclConfig.sh uses it. It is not clear why someone