diff --git a/configure.ac b/configure.ac index 79d1046..18567d0 100755 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_ARG_ENABLE(journal, AS_HELP_STRING([--enable-journal], [enable systemd journa [with_systemd_journal=yes], with_systemd_journal=no) if test "x$with_systemd_journal" != "xno"; then - PKG_CHECK_MODULES(systemd_journal, [libsystemd-journal], + PKG_CHECK_MODULES(systemd_journal, [libsystemd], [AC_DEFINE(DLOG_BACKEND_JOURNAL, 1, [Define if systemd journal is selected]) have_systemd_journal=yes], have_systemd_journal=no)