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