summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-04 14:04:55 +0200
committerThomas Haller <thaller@redhat.com>2015-08-04 14:15:27 +0200
commit98cd83e5785dc3d171ca3c32e815079e7305401f (patch)
tree4a7e3fb1a8dfbd45474d468a2bbab5b408805801 /configure.ac
parentc4c0bbb28c9c75d14e2a03d713723afb8d395ccb (diff)
downloadNetworkManager-98cd83e5785dc3d171ca3c32e815079e7305401f.tar.gz
build: fix configure bug for detecting libaudit support
Fixes: c4c0bbb28c9c75d14e2a03d713723afb8d395ccb
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5c0d487961..9caea8b367 100644
--- a/configure.ac
+++ b/configure.ac
@@ -496,7 +496,7 @@ fi
# libaudit support
AC_ARG_WITH(libaudit, AS_HELP_STRING([--with-libaudit=yes|yes-disabled-by-default|no|auto], [Build with audit daemon support (default: auto). yes-disabled-by-default enables support, but disables it unless explicitly configured via NetworkManager.conf]),,[with_libaudit=auto])
-if test "$with_libaudit" = "yes" -o test "$with_libaudit" = "yes-disabled-by-default"-o "$with_libaudit" = "auto"; then
+if test "$with_libaudit" = "yes" -o "$with_libaudit" = "yes-disabled-by-default" -o "$with_libaudit" = "auto"; then
PKG_CHECK_MODULES(LIBAUDIT, audit, [have_libaudit=yes], [have_libaudit=no])
if test "$with_libaudit" != "auto" -a "$have_libaudit" = "no"; then
AC_MSG_ERROR([You must have libaudit installed to build --with-libaudit=$with_libaudit.])
@@ -1134,7 +1134,7 @@ echo " polkit agent: ${enable_polkit_agent}"
echo " selinux: $have_selinux"
echo " systemd-journald: $have_systemd_journal (logging.backend: ${nm_config_logging_backend_default})"
echo " hostname persist: ${hostname_persist}"
-echo " libaudit: $have_libaudit"
+echo " libaudit: $have_libaudit (default: logging.audit=${NM_CONFIG_DEFAULT_LOGGING_AUDIT_TEXT})"
echo
echo "Features:"