UNINSTALL_EXEC_HOOKS =
noinst_DATA =
sbin_PROGRAMS =
+dist_dbussystembusdir_DATA =
AM_CPPFLAGS = \
$(OUR_CPPFLAGS) \
networkd_LDADD = \
$(SYSTEMD_LIBS)
+dist_dbussystembusdir_DATA += \
+ src/networkd/org.ipfire.network1.service
+
# ------------------------------------------------------------------------------
util_PROGRAMS = \
AS_IF([test "x$enable_manpages" != xno], [have_manpages=yes])
AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"])
+# ------------------------------------------------------------------------------
+
+AC_ARG_WITH([dbussystembusdir], AS_HELP_STRING([--with-dbussystembusdir=DIR],
+ [path to D-Bus system bus services directory]), [with_dbussystembusdir=${withval}])
+if test -z "${with_dbussystembusdir}"; then
+ AC_MSG_CHECKING([D-Bus system bus services dir])
+ with_dbussystembusdir="$($PKG_CONFIG --variable=system_bus_services_dir dbus-1)"
+ if test -z "${with_dbussystembusdir}"; then
+ AC_MSG_ERROR([D-Bus system bus services directory is required])
+ fi
+ AC_MSG_RESULT([${with_dbussystembusdir}])
+fi
+AC_SUBST(dbussystembusdir, [${with_dbussystembusdir}])
+
# ------------------------------------------------------------------------------
AC_ARG_WITH([systemdsystemunitdir],
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
prefix: $prefix
+ dbussystembusdir: ${dbussystembusdir}
systemdsystemunitdir: $systemdsystemunitdir
udevdir: $udevdir