diff options
author | Martin Willi <martin@revosec.ch> | 2014-09-15 15:38:06 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-09-22 14:19:38 +0200 |
commit | b2f76c514d98217b28c700ec7a32b2bc66269389 (patch) | |
tree | 08dee06f2bece164b6cfe192fe74f98c19306ce9 | |
parent | db8ae75bf634d7d100d88da9f1a0b5ce23c222ef (diff) | |
download | strongswan-b2f76c514d98217b28c700ec7a32b2bc66269389.tar.bz2 strongswan-b2f76c514d98217b28c700ec7a32b2bc66269389.tar.xz |
systemd: Check if ./configure detected a systemd system unit directory
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9d9a993a9..43556c54f 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) |