39042f9736
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
10 lines
246 B
Plaintext
10 lines
246 B
Plaintext
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])
|
|
])
|