X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=man%2Fdaemon.xml;h=46988ef5ec14607ed286bc3a7e517492bd8808a0;hb=525ee6f4a1639bcb28198bf9e32b93ca2bfd268b;hp=dac244ca4e8abbfd4459d36fbd2b72cefd2927be;hpb=67ff6134592205ea7d39a826bb3e6420d82d1ceb;p=elogind.git diff --git a/man/daemon.xml b/man/daemon.xml index dac244ca4..46988ef5e 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -785,8 +785,10 @@ 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"]) +if test "x$with_systemdsystemunitdir" != xno; then + AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) +fi +AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ]) This snippet allows automatic installation of the unit files on systemd