mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
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,
|
AC_DEFINE(HAVE_SUBSHELL_SUPPORT, 1,
|
||||||
[Define to enable subshell support])
|
[Define to enable subshell support])
|
||||||
fi
|
fi
|
||||||
|
AM_CONDITIONAL(HAVE_SUBSHELL_SUPPORT, [test "x$result" != xno])
|
||||||
AC_MSG_RESULT([$result])
|
AC_MSG_RESULT([$result])
|
||||||
subshell="$result"
|
subshell="$result"
|
||||||
|
|
||||||
|
@ -11,15 +11,18 @@ LIBS=@CHECK_LIBS@ \
|
|||||||
$(top_builddir)/lib/libmc.la
|
$(top_builddir)/lib/libmc.la
|
||||||
|
|
||||||
TESTS = \
|
TESTS = \
|
||||||
do_cd_command \
|
|
||||||
examine_cd
|
examine_cd
|
||||||
|
|
||||||
check_PROGRAMS = $(TESTS)
|
if HAVE_SUBSHELL_SUPPORT
|
||||||
|
TESTS +=
|
||||||
|
do_cd_command
|
||||||
do_cd_command_SOURCES = \
|
do_cd_command_SOURCES = \
|
||||||
do_cd_command.c
|
do_cd_command.c
|
||||||
|
endif
|
||||||
|
|
||||||
examine_cd_SOURCES = \
|
examine_cd_SOURCES = \
|
||||||
examine_cd.c
|
examine_cd.c
|
||||||
|
|
||||||
|
check_PROGRAMS = $(TESTS)
|
||||||
|
|
||||||
EXTRA_DIST = do_cd_command_mock_env.c
|
EXTRA_DIST = do_cd_command_mock_env.c
|
||||||
|
Loading…
Reference in New Issue
Block a user