mirror of https://github.com/MidnightCommander/mc
Added HAVE_SUBSHELL_SUPPORT condition to Makefile files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
0abc3c494f
commit
3dc343f2df
|
@ -357,6 +357,7 @@ if test "x$result" != xno; then
|
|||
AC_DEFINE(HAVE_SUBSHELL_SUPPORT, 1,
|
||||
[Define to enable subshell support])
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_SUBSHELL_SUPPORT, [test "x$result" != xno])
|
||||
AC_MSG_RESULT([$result])
|
||||
subshell="$result"
|
||||
|
||||
|
|
|
@ -11,15 +11,18 @@ LIBS=@CHECK_LIBS@ \
|
|||
$(top_builddir)/lib/libmc.la
|
||||
|
||||
TESTS = \
|
||||
do_cd_command \
|
||||
examine_cd
|
||||
|
||||
check_PROGRAMS = $(TESTS)
|
||||
|
||||
if HAVE_SUBSHELL_SUPPORT
|
||||
TESTS +=
|
||||
do_cd_command
|
||||
do_cd_command_SOURCES = \
|
||||
do_cd_command.c
|
||||
endif
|
||||
|
||||
examine_cd_SOURCES = \
|
||||
examine_cd.c
|
||||
|
||||
check_PROGRAMS = $(TESTS)
|
||||
|
||||
EXTRA_DIST = do_cd_command_mock_env.c
|
||||
|
|
Loading…
Reference in New Issue