diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2015-09-30 10:49:17 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2015-09-30 10:49:17 +1300 |
commit | 22c215f0f660b141c8e68abbfb1061cc6524edae (patch) | |
tree | 525d52205e5f14d05b99cfc19f3de6194c804f4c | |
parent | b41b36964cb8fdb5a81fbdb5e7d1cd15e349acfb (diff) | |
download | lightdm-git-22c215f0f660b141c8e68abbfb1061cc6524edae.tar.gz |
Change --enable-audit to --enable-libaudit
-rw-r--r-- | configure.ac | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 884a052c..5f2874a3 100644 --- a/configure.ac +++ b/configure.ac @@ -127,21 +127,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 |