aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-09-15 15:38:06 +0200
committerMartin Willi <martin@revosec.ch>2014-09-22 14:19:38 +0200
commitb2f76c514d98217b28c700ec7a32b2bc66269389 (patch)
tree08dee06f2bece164b6cfe192fe74f98c19306ce9
parentdb8ae75bf634d7d100d88da9f1a0b5ce23c222ef (diff)
downloadstrongswan-b2f76c514d98217b28c700ec7a32b2bc66269389.tar.bz2
strongswan-b2f76c514d98217b28c700ec7a32b2bc66269389.tar.xz
systemd: Check if ./configure detected a systemd system unit directory
-rw-r--r--configure.ac7
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)