summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-04-19 15:39:33 +0200
committerAndy Wingo <wingo@pobox.com>2015-04-19 15:39:33 +0200
commitc3eb2a0d436cb84248f244353b28841e42e59abd (patch)
tree0ae2d563cc066f1d9f4918f1b2d9ebe9ad29c9c3 /configure.ac
parent70238105246969a045d0e256ed3983afe5ddbb96 (diff)
Remove libaudit support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac38
1 files changed, 0 insertions, 38 deletions
diff --git a/configure.ac b/configure.ac
index ef47c5fcff..0632c51c69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -486,43 +486,6 @@ fi
AM_CONDITIONAL([HAVE_SMACK], [test "x$have_smack" = "xyes"])
# ------------------------------------------------------------------------------
-AC_ARG_ENABLE([audit],
- AS_HELP_STRING([--disable-audit],[Disable optional AUDIT support]),
- [case "${enableval}" in
- yes) have_audit=yes ;;
- no) have_audit=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --disable-audit) ;;
- esac],
- [have_audit=auto])
-
-if test "x${have_audit}" != xno ; then
- AC_CHECK_HEADERS(
- [libaudit.h],
- [have_audit=yes],
- [if test "x$have_audit" = xyes ; then
- AC_MSG_ERROR([*** AUDIT headers not found.])
- fi])
-
- AC_CHECK_LIB(
- [audit],
- [audit_open],
- [have_audit=yes],
- [if test "x$have_audit" = xyes ; then
- AC_MSG_ERROR([*** libaudit not found.])
- fi])
-
- if test "x$have_audit" = xyes ; then
- AUDIT_LIBS="-laudit"
- AC_DEFINE(HAVE_AUDIT, 1, [AUDIT available])
- else
- have_audit=no
- fi
-else
- AUDIT_LIBS=
-fi
-AC_SUBST(AUDIT_LIBS)
-
-# ------------------------------------------------------------------------------
AC_ARG_ENABLE([elfutils],
AS_HELP_STRING([--disable-elfutils],[Disable optional ELFUTILS support]),
[case "${enableval}" in
@@ -1182,7 +1145,6 @@ AC_MSG_RESULT([
libcryptsetup: ${have_libcryptsetup}
PAM: ${have_pam}
- AUDIT: ${have_audit}
AppArmor: ${have_apparmor}
SELinux: ${have_selinux}
SECCOMP: ${have_seccomp}