bin: prefer posix_spawn over fork+exec
* configure.ac: Test for <spawn.h>. * bin/common_trans.cc: Use posix_spawn when available. * NEWS: Mention the change. * tests/core/ltldo.test: Adjust expected error message.
This commit is contained in:
parent
4740adeb09
commit
d65ceb0bc8
4 changed files with 174 additions and 62 deletions
|
|
@ -141,7 +141,7 @@ fi
|
|||
|
||||
AX_CHECK_BUDDY
|
||||
|
||||
AC_CHECK_HEADERS([sys/times.h valgrind/memcheck.h])
|
||||
AC_CHECK_HEADERS([sys/times.h valgrind/memcheck.h spawn.h])
|
||||
AC_CHECK_FUNCS([times kill alarm sigaction])
|
||||
|
||||
LT_CONFIG_LTDL_DIR([ltdl])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue