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