mc-background.m4 594 B

1234567891011121314151617181920212223
  1. dnl
  2. dnl Support for background operations
  3. dnl
  4. AC_DEFUN([mc_BACKGROUND],
  5. [
  6. AC_ARG_ENABLE([background],
  7. AS_HELP_STRING([--enable-background], [Support for background file operations [yes]]),
  8. [
  9. if test "x$enableval" = xno; then
  10. enable_background=no
  11. else
  12. enable_background=yes
  13. fi
  14. ],
  15. [enable_background=yes])
  16. if test "x$enable_background" = xyes; then
  17. AC_DEFINE(ENABLE_BACKGROUND, 1, [Define to enable background file operations])
  18. fi
  19. AM_CONDITIONAL(ENABLE_BACKGROUND, [test "x$enable_background" = xyes])
  20. ])