From: Martin Willi Date: Mon, 15 Sep 2014 13:38:06 +0000 (+0200) Subject: systemd: Check if ./configure detected a systemd system unit directory X-Git-Tag: 5.2.1dr1~47^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b2f76c514d98217b28c700ec7a32b2bc66269389;p=thirdparty%2Fstrongswan.git systemd: Check if ./configure detected a systemd system unit directory --- diff --git a/configure.ac b/configure.ac index 9d9a993a9e..43556c54f7 100644 --- a/configure.ac +++ b/configure.ac @@ -870,6 +870,13 @@ if test x$xml = xtrue; then fi if test x$systemd = xtrue; then + AC_MSG_CHECKING([for systemd system unit directory]) + if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then + AC_MSG_RESULT([$systemdsystemunitdir]) + else + AC_MSG_ERROR([not found (try --with-systemdsystemunitdir)]) + fi + PKG_CHECK_MODULES(systemd_daemon, [libsystemd-daemon]) AC_SUBST(systemd_daemon_CFLAGS) AC_SUBST(systemd_daemon_LIBS)