Merge branch '3205_eta'
[midnight-commander.git] / m4.include / mc-background.m4
blobb42833c641a9fe6a15f0d3ed988cd7cbf1ff4817
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])