configsdistrosdir = $(configsdir)/distros
macrosdir = $(prefix)/lib/pakfire/macros
scriptsdir = $(prefix)/lib/$(PACKAGE_NAME)
+systemdsystemunitdir = $(prefix)/lib/systemd/system
TEST_ROOTFS = $(abs_top_builddir)/tests/.root
pkginclude_HEADERS =
DISTCHECK_CONFIGURE_FLAGS = \
- --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) \
--enable-debug
@INTLTOOL_POLICY_RULE@
# ------------------------------------------------------------------------------
-if HAVE_SYSTEMD
systemdsystemunit_DATA = \
src/systemd/pakfire-daemon.service
CLEANFILES += \
src/systemd/pakfire-daemon.service
-endif
# ------------------------------------------------------------------------------
LIBS="$save_LIBS"
-AC_ARG_WITH([systemdsystemunitdir],
- AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
- [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
-AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
-AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
-
# Check if cURL has support for WebSockets
AC_CHECK_PROG(CURL_CONFIG, curl-config, curl-config)
if test "$CURL_CONFIG" != ""; then