Mercurial > dovecot > core-2.2
view m4/want_apparmor.m4 @ 22979:ace8424d6f65
pop3c: Ensure pop3c index directory is autocreated
Otherwise we might think that the box has been unexpectedly
autodeleted and pop3_migration will fail.
Broken by 91ee70ed04d33fecd7fc94621f236013d520d7b3
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Tue, 29 May 2018 11:53:15 +0300 |
parents | 280d78e7fec8 |
children |
line wrap: on
line source
AC_DEFUN([DOVECOT_WANT_APPARMOR], [ want_apparmor=auto AC_ARG_WITH([apparmor], [AS_HELP_STRING([--with-apparmor], [enable apparmor plugin (default=auto)])], [want_apparmor=$withval]) have_apparmor=no if test $want_apparmor != no; then AC_CHECK_HEADER([sys/apparmor.h], [ AC_CHECK_LIB([apparmor], [aa_change_hat], [ have_apparmor=yes AC_SUBST([APPARMOR_LIBS], [-lapparmor]) ]) ]) fi if test $want_apparmor = yes; then if test $have_apparmor = no; then AC_MSG_FAILURE([apparmor was not found]) fi fi AM_CONDITIONAL(HAVE_APPARMOR, test "$have_apparmor" = "yes") ])