diff options
author | наб <[email protected]> | 2022-04-10 01:19:15 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-05-10 10:19:58 -0700 |
commit | 48f4379974d5b28bba9c22fcf3bab6ceb2844ff7 (patch) | |
tree | c8f746ba9c3088db1671c7fe4799b57d0ee3e591 /config/user-systemd.m4 | |
parent | 50d2c9e4fd2a891cad9530da39b39a173307e1f7 (diff) |
autoconf: use include directives instead of recursing down etc
dist diff:
-zfs-2.1.99/etc/systemd/system/50-zfs.preset.in
+zfs-2.1.99/etc/systemd/system/50-zfs.preset
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13316
Diffstat (limited to 'config/user-systemd.m4')
-rw-r--r-- | config/user-systemd.m4 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/config/user-systemd.m4 b/config/user-systemd.m4 index 63f02ad2a..e4fd0b57c 100644 --- a/config/user-systemd.m4 +++ b/config/user-systemd.m4 @@ -35,16 +35,15 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_SYSTEMD], [ AC_MSG_RESULT([$enable_systemd]) AS_IF([test "x$enable_systemd" = xyes], [ - ZFS_INIT_SYSTEMD=systemd - ZFS_MODULE_LOAD=modules-load.d DEFINE_SYSTEMD='--with systemd --define "_unitdir $(systemdunitdir)" --define "_presetdir $(systemdpresetdir)" --define "_generatordir $(systemdgeneratordir)"' modulesloaddir=$systemdmodulesloaddir ],[ DEFINE_SYSTEMD='--without systemd' ]) - AC_SUBST(ZFS_INIT_SYSTEMD) - AC_SUBST(ZFS_MODULE_LOAD) + ZFS_INIT_SYSTEMD=$enable_systemd + ZFS_WANT_MODULES_LOAD_D=$enable_systemd + AC_SUBST(DEFINE_SYSTEMD) AC_SUBST(systemdunitdir) AC_SUBST(systemdpresetdir) |