Ticket #2762: mc ignores second directory argument.
[midnight-commander.git] / m4.include / mc-background.m4
blob360b828d1cf8b69e4b0b8c1014448dd77b151d55
1 dnl
2 dnl Support for background operations
3 dnl
5 AC_DEFUN([MC_BACKGROUND],
7     AC_ARG_ENABLE([background],
8         AS_HELP_STRING([--enable-background], [Support for background file operations [[yes]]]),
9         [
10             if test "x$enableval" = xno; then
11                 enable_background=no
12             else
13                 enable_background=yes
14             fi
15         ],
16         [enable_background=yes])
18     if test "x$enable_background" = xyes; then
19         AC_DEFINE(ENABLE_BACKGROUND, 1, [Define to enable background file operations])
20     fi
22     AM_CONDITIONAL(ENABLE_BACKGROUND, [test "x$enable_background" = xyes])