mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
doc: quote consistently in autoconf code
AS_HELP_STRING has been observed to expand such that the surround function complains; play it safe and consistenly quote the example code throughout.
This commit is contained in:
parent
a87f0f726c
commit
fc9acf252f
@ -766,7 +766,7 @@
|
|||||||
|
|
||||||
<programlisting>PKG_PROG_PKG_CONFIG
|
<programlisting>PKG_PROG_PKG_CONFIG
|
||||||
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=auto])
|
[with_systemdsystemunitdir=auto])
|
||||||
AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystemunitdir" = "xauto"], [
|
AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystemunitdir" = "xauto"], [
|
||||||
def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
|
def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
|
||||||
@ -775,10 +775,10 @@ AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystemunitd
|
|||||||
[AS_IF([test "x$with_systemdsystemunitdir" = "xyes"],
|
[AS_IF([test "x$with_systemdsystemunitdir" = "xyes"],
|
||||||
[AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])
|
[AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])
|
||||||
with_systemdsystemunitdir=no],
|
with_systemdsystemunitdir=no],
|
||||||
[with_systemdsystemunitdir=$def_systemdsystemunitdir])])
|
[with_systemdsystemunitdir="$def_systemdsystemunitdir"])])
|
||||||
AS_IF([test "x$with_systemdsystemunitdir" != "xno"],
|
AS_IF([test "x$with_systemdsystemunitdir" != "xno"],
|
||||||
[AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])
|
[AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])
|
||||||
AM_CONDITIONAL(HAVE_SYSTEMD, [test "x$with_systemdsystemunitdir" != "xno"])</programlisting>
|
AM_CONDITIONAL([HAVE_SYSTEMD], [test "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
Block a user