diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/user-dracut.m4 | 8 | ||||
-rw-r--r-- | config/user.m4 | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config/user-dracut.m4 b/config/user-dracut.m4 new file mode 100644 index 000000000..6d96edc27 --- /dev/null +++ b/config/user-dracut.m4 @@ -0,0 +1,8 @@ +AC_DEFUN([ZFS_AC_CONFIG_USER_DRACUT], [ + AC_ARG_WITH(dracutdir, + AC_HELP_STRING([--with-dracutdir=DIR], + [install dracut helpers [[EPREFIX/lib/dracut]]]), + dracutdir=$withval, dracutdir='${exec_prefix}/lib/dracut') + + AC_SUBST(dracutdir) +]) diff --git a/config/user.m4 b/config/user.m4 index 109ebd5f9..6925e56f4 100644 --- a/config/user.m4 +++ b/config/user.m4 @@ -3,6 +3,7 @@ dnl # Default ZFS user configuration dnl # AC_DEFUN([ZFS_AC_CONFIG_USER], [ ZFS_AC_CONFIG_USER_UDEV + ZFS_AC_CONFIG_USER_DRACUT ZFS_AC_CONFIG_USER_ARCH ZFS_AC_CONFIG_USER_IOCTL ZFS_AC_CONFIG_USER_ZLIB |