Add new build option to allow symlinks

This commit is contained in:
Andrea Mazzoleni 2026-05-16 16:55:53 +02:00
parent dccba9fd8c
commit 2f5ffc3e90
3 changed files with 15 additions and 1 deletions

View file

@ -498,6 +498,15 @@ WITH_TOOL([zfs], [zfs], [ZFS pool management])
WITH_TOOL([zpool], [zpool], [ZFS pool status])
WITH_TOOL([bcachefs], [bcachefs], [Bcachefs management])
# Enable support for symlinked tool paths
AC_ARG_ENABLE([symlink-tools],
[AS_HELP_STRING([--enable-symlink-tools], [allow paths specified with --with-* options to be symbolic links])],
[
AS_IF([test "x$enableval" = "xyes"], [
AC_DEFINE([HAVE_SYMLINK_TOOLS], [1], [Define to 1 if paths specified with --with-* options are allowed to be symlinks.])
])
])
AC_ARG_VAR([TESTENV], [Test environment])
AC_ARG_VAR([FAILENV], [Test environment for failing tests])
AC_ARG_VAR([TESTENV_SSE2], [Test environment for SSE2])