summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2015-09-30 10:58:14 +1300
committerRobert Ancell <robert.ancell@canonical.com>2015-09-30 10:58:14 +1300
commit47c1b43cf7d1a1ba8438be883d57d2fbfb3d83f1 (patch)
tree550947b9615dc289b48298ad8493294423dc4704
parent6ff479882bc8126d5a0925f38f2f0980fd66695f (diff)
downloadlightdm-git-47c1b43cf7d1a1ba8438be883d57d2fbfb3d83f1.tar.gz
Change --enable-audit to --enable-libaudit
-rw-r--r--configure.ac16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 1796c4ea..4059895e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,21 +147,21 @@ if test x"$enable_liblightdm_qt5" != "xno"; then
fi
AM_CONDITIONAL(COMPILE_LIBLIGHTDM_QT5, test x"$compile_liblightdm_qt5" != "xno")
-AC_ARG_ENABLE([audit],
- AS_HELP_STRING([--enable-audit],
- [Enable audit logging of login and logout events [[default=auto]]]),
- [enable_audit=$enableval],
- [enable_audit=auto])
+AC_ARG_ENABLE([libaudit],
+ AS_HELP_STRING([--enable-libaudit],
+ [Enable libaudit logging of login and logout events [[default=auto]]]),
+ [enable_libaudit=$enableval],
+ [enable_libaudit=auto])
use_libaudit=no
-if test x"$enable_audit" != "xno"; then
+if test x"$enable_libaudit" != "xno"; then
AC_CHECK_LIB([audit], [audit_log_user_message],
[use_libaudit=yes
AC_DEFINE(HAVE_LIBAUDIT, 1, [libaudit support])
LIGHTDM_LIBS="${LIGHTDM_LIBS} -laudit"
],
- [if test "x$enable_audit" != xauto; then
+ [if test "x$enable_libaudit" != xauto; then
AC_MSG_FAILURE(
- [--enable-audit was given, but test for libaudit failed])
+ [--enable-libaudit was given, but test for libaudit failed])
fi
])
fi