4 AC_DEFUN([MC_SUBSHELL], [
6 AC_MSG_CHECKING([for subshell support])
8 [ --with-subshell Compile in concurrent subshell @<:@yes@:>@
9 --with-subshell=optional Don't run concurrent shell by default @<:@no@:>@],
12 if test x$withval = xoptional; then
13 AC_DEFINE(SUBSHELL_OPTIONAL, 1, [Define to make subshell support optional])
16 if test x$withval = xyes; then
21 dnl Default: enable the subshell support
25 if test "x$result" != xno; then
26 AC_DEFINE(ENABLE_SUBSHELL, 1, [Define to enable subshell support])
29 AC_MSG_RESULT([$result])
32 AM_CONDITIONAL(ENABLE_SUBSHELL, [test "x$result" != xno])