X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=47a08dda6462f16c74b2dda5266b678bc6cf6b85;hb=816115863962548a9a0d9fbfe429c7f8e685beac;hp=fa17e8be267aeb68f7feebd92dfbea72c53d0eed;hpb=160481f68d0a5f26f75c04fb576fb854fd5416a5;p=elogind.git diff --git a/configure.ac b/configure.ac index fa17e8be2..47a08dda6 100644 --- a/configure.ac +++ b/configure.ac @@ -127,6 +127,19 @@ PKG_CHECK_MODULES(UDEV, [ libudev >= 172 ]) PKG_CHECK_MODULES(DBUS, [ dbus-1 >= 1.3.2 ]) PKG_CHECK_MODULES(KMOD, [ libkmod >= 5 ]) +have_ima=yes +AC_ARG_ENABLE([ima], AS_HELP_STRING([--disable-ima],[Disable optional IMA support]), + [case "${enableval}" in + yes) have_ima=yes ;; + no) have_ima=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --disable-ima) ;; + esac], + [have_ima=yes]) + +if test "x${have_ima}" != xno ; then + AC_DEFINE(HAVE_IMA, 1, [Define if IMA is available]) +fi + have_selinux=no AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support])) if test "x$enable_selinux" != "xno"; then @@ -609,6 +622,7 @@ AC_MSG_RESULT([ tcpwrap: ${have_tcpwrap} PAM: ${have_pam} AUDIT: ${have_audit} + IMA: ${have_ima} SELinux: ${have_selinux} XZ: ${have_xz} ACL: ${have_acl}