summaryrefslogtreecommitdiff
path: root/m4/man-arg-systemdtmpfilesdir.m4
blob: c6e94fa9412901cffcb3a1dd73a8fcf8975ea7f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# man-arg-systemdtmpfilesdir.m4 serial 1
dnl MAN_ARG_SYSTEMDTMPFILESDIR
dnl Add an --enable-systemdtmpfilesdir option.

AC_DEFUN([MAN_ARG_SYSTEMDTMPFILESDIR],
[
AC_ARG_WITH([systemdtmpfilesdir],
[AS_HELP_STRING([--with-systemdtmpfilesdir=DIR], [Directory for systemd tmpfiles configuration])],
	[], [dnl
	# The default is not prefix-sensitive, since systemd's prefix is not
	# necessarily the same as man-db's.
	with_systemdtmpfilesdir=/usr/lib/tmpfiles.d])
AC_SUBST([systemdtmpfilesdir], [$with_systemdtmpfilesdir])
])