|
a/src/configure.ac |
|
b/src/configure.ac |
|
... |
|
... |
35 |
AC_SYS_LARGEFILE
|
35 |
AC_SYS_LARGEFILE
|
36 |
|
36 |
|
37 |
# OpenBSD needs sys/param.h for mount.h to compile
|
37 |
# OpenBSD needs sys/param.h for mount.h to compile
|
38 |
AC_CHECK_HEADERS([sys/param.h, spawn.h])
|
38 |
AC_CHECK_HEADERS([sys/param.h, spawn.h])
|
39 |
|
39 |
|
40 |
AC_CHECK_FUNCS([posix_spawn, setrlimit])
|
40 |
AC_CHECK_FUNCS([posix_spawn setrlimit kqueue])
|
41 |
|
41 |
|
42 |
if test "x$ac_cv_func_posix_spawn" = xyes; then :
|
42 |
if test "x$ac_cv_func_posix_spawn" = xyes; then :
|
43 |
AC_ARG_ENABLE(posix_spawn,
|
43 |
AC_ARG_ENABLE(posix_spawn,
|
44 |
AC_HELP_STRING([--enable-posix_spawn],
|
44 |
AC_HELP_STRING([--enable-posix_spawn],
|
45 |
[Enable the use of posix_spawn().]),
|
45 |
[Enable the use of posix_spawn().]),
|