man: fix suggested autoconf snippet
This commit is contained in:
parent
0840ce2d49
commit
20ed365678
|
@ -785,8 +785,10 @@
|
||||||
AC_ARG_WITH([systemdsystemunitdir],
|
AC_ARG_WITH([systemdsystemunitdir],
|
||||||
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
|
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
|
||||||
[], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
|
[], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
|
||||||
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
|
if test "x$with_systemdsystemunitdir" != xno; then
|
||||||
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])</programlisting>
|
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
|
||||||
|
fi
|
||||||
|
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ])</programlisting>
|
||||||
|
|
||||||
<para>This snippet allows automatic
|
<para>This snippet allows automatic
|
||||||
installation of the unit files on systemd
|
installation of the unit files on systemd
|
||||||
|
|
Loading…
Reference in New Issue