Skip to content

Commit

Permalink
configure: use prefix for systemd paths
Browse files Browse the repository at this point in the history
'make distcheck' fails because those paths didn't respect the prefix.
  • Loading branch information
sumit-bose committed Jun 6, 2024
1 parent 913505f commit 339df08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conf_macros.m4
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ AC_DEFUN([WITH_SYSTEMD_UNIT_DIR],
if test x"$with_systemdunitdir" != x; then
systemdunitdir=$with_systemdunitdir
else
systemdunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
systemdunitdir=${prefix}$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
if test x"$systemdunitdir" = x; then
AC_MSG_ERROR([Could not detect systemd unit directory])
fi
Expand All @@ -222,7 +222,7 @@ AC_DEFUN([WITH_SYSTEMD_CONF_DIR],
if test x"$with_systemdconfdir" != x; then
systemdconfdir=$with_systemdconfdir
else
systemdconfdir=$($PKG_CONFIG --variable=systemdsystemconfdir systemd)
systemdconfdir=${prefix}$($PKG_CONFIG --variable=systemdsystemconfdir systemd)
if test x"$systemdconfdir" = x; then
AC_MSG_ERROR([Could not detect systemd config directory])
fi
Expand Down

0 comments on commit 339df08

Please sign in to comment.