Ticket #3496: (dir_list_sort): do not call qsort for 'unsorted' sort order
[midnight-commander.git] / m4.include / mc-background.m4
blobda3151d2876e3919fcbb44a515f26385bebe25dc
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])