Added two macro examples:
[midnight-commander/osp.git] / m4.include / vfs / mc-vfs-tarfs.m4
blob2d7f9a8b1ad1145558065378e839175c7b17eed4
1 dnl TAR filesystem support
2 AC_DEFUN([AC_MC_VFS_TARFS],
4     AC_ARG_ENABLE([vfs-tar],
5                     AC_HELP_STRING([--enable-vfs-tar], [Support for tar filesystem [[yes]]]))
6     if test "$enable_vfs" = "yes" -a x"$enable_vfs_tar" != x"no"; then
7         enable_vfs_tar="yes"
8         AC_MC_VFS_ADDNAME([tar])
9         AC_DEFINE([ENABLE_VFS_TAR], [1], [Support for tar filesystem])
10     fi
11     AM_CONDITIONAL(ENABLE_VFS_TAR, [test "$enable_vfs" = "yes" -a x"$enable_vfs_tar" = x"yes"])