File: mc-background.m4

package info (click to toggle)
mc 3%3A4.8.26-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,416 kB
  • sloc: ansic: 115,748; sh: 7,993; perl: 3,058; makefile: 1,633; python: 410; lisp: 44; cs: 44; sed: 16
file content (23 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dnl
dnl Support for background operations
dnl

AC_DEFUN([mc_BACKGROUND],
[
    AC_ARG_ENABLE([background],
    AS_HELP_STRING([--enable-background], [Support for background file operations @<:@yes@:>@]),
    [
        if test "x$enableval" = xno; then
            enable_background=no
        else
            enable_background=yes
        fi
    ],
    [enable_background=yes])

    if test "x$enable_background" = xyes; then
        AC_DEFINE(ENABLE_BACKGROUND, 1, [Define to enable background file operations])
    fi

    AM_CONDITIONAL(ENABLE_BACKGROUND, [test "x$enable_background" = xyes])
])