mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 19:05:20 -05:00
zpool and zed place scripts in subdirectories of libexecdir. Some distributions locate architecture independent scripts in other locations (e.g. Debian). To avoid these paths getting out of sync, centralize the definitions. Build zfs-test's default.cfg by Makefile. Use the new directory logic building tests/zfs-tests/include/default.cfg.in. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com> Closes #7597
9 lines
246 B
Text
9 lines
246 B
Text
AC_DEFUN([ZFS_AC_CONFIG_USER_ZFSEXEC], [
|
|
AC_ARG_WITH(zfsexecdir,
|
|
AC_HELP_STRING([--with-zfsexecdir=DIR],
|
|
[install scripts [[@<:@libexecdir@:>@/zfs]]]),
|
|
[zfsexecdir=$withval],
|
|
[zfsexecdir="${libexecdir}/zfs"])
|
|
|
|
AC_SUBST([zfsexecdir])
|
|
])
|