Skip to content

Commit fc9acf2

Browse files
jengelhkeszybz
authored andcommitted
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.
1 parent a87f0f7 commit fc9acf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

man/daemon.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@
766766

767767
<programlisting>PKG_PROG_PKG_CONFIG
768768
AC_ARG_WITH([systemdsystemunitdir],
769-
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),,
769+
[AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],,
770770
[with_systemdsystemunitdir=auto])
771771
AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystemunitdir" = "xauto"], [
772772
def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
@@ -775,10 +775,10 @@ AS_IF([test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystemunitd
775775
[AS_IF([test "x$with_systemdsystemunitdir" = "xyes"],
776776
[AC_MSG_ERROR([systemd support requested but pkg-config unable to query systemd package])])
777777
with_systemdsystemunitdir=no],
778-
[with_systemdsystemunitdir=$def_systemdsystemunitdir])])
778+
[with_systemdsystemunitdir="$def_systemdsystemunitdir"])])
779779
AS_IF([test "x$with_systemdsystemunitdir" != "xno"],
780780
[AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])
781-
AM_CONDITIONAL(HAVE_SYSTEMD, [test "x$with_systemdsystemunitdir" != "xno"])</programlisting>
781+
AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemdsystemunitdir" != "xno"])</programlisting>
782782

783783
<para>This snippet allows automatic
784784
installation of the unit files on systemd

0 commit comments

Comments
 (0)