selinux.m4 516 B

1234567891011121314151617181920212223
  1. # BEGIN COPYRIGHT BLOCK
  2. # Copyright (C) 2009 Red Hat, Inc.
  3. # All rights reserved.
  4. #
  5. # License: GPL (version 3 or any later version).
  6. # See LICENSE for details.
  7. # END COPYRIGHT BLOCK
  8. AC_CHECKING(for SELinux)
  9. # check for --with-selinux
  10. AC_MSG_CHECKING(for --with-selinux)
  11. AC_ARG_WITH(selinux, AS_HELP_STRING([--with-selinux],[Support SELinux policy]),
  12. [
  13. if test "$withval" = "no"; then
  14. AC_MSG_RESULT(no)
  15. else
  16. with_selinux=yes
  17. AC_MSG_RESULT(yes)
  18. AC_SUBST(with_selinux)
  19. fi
  20. ],
  21. AC_MSG_RESULT(no))