2009-05-07 16:38:06 +04:00
|
|
|
dnl TAR filesystem support
|
|
|
|
AC_DEFUN([AC_MC_VFS_TARFS],
|
|
|
|
[
|
|
|
|
AC_ARG_ENABLE([vfs-tar],
|
2011-05-25 17:51:18 +04:00
|
|
|
AS_HELP_STRING([--enable-vfs-tar], [Support for tar filesystem @<:@yes@:>@]))
|
2010-07-24 11:24:07 +04:00
|
|
|
if test "$enable_vfs" = "yes" -a x"$enable_vfs_tar" != x"no"; then
|
2009-05-07 16:38:06 +04:00
|
|
|
enable_vfs_tar="yes"
|
|
|
|
AC_MC_VFS_ADDNAME([tar])
|
|
|
|
AC_DEFINE([ENABLE_VFS_TAR], [1], [Support for tar filesystem])
|
|
|
|
fi
|
2010-07-24 11:24:07 +04:00
|
|
|
AM_CONDITIONAL(ENABLE_VFS_TAR, [test "$enable_vfs" = "yes" -a x"$enable_vfs_tar" = x"yes"])
|
2009-05-07 16:38:06 +04:00
|
|
|
])
|