Fixed default behavior of --enable-vfs-undelfs option.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-07-23 11:38:20 +04:00
parent 5b8b72b067
commit 965e9d6bff

View File

@ -49,9 +49,14 @@ AC_DEFUN([AC_MC_VFS_UNDELFS],
[ [
AC_ARG_ENABLE([vfs-undelfs], AC_ARG_ENABLE([vfs-undelfs],
AC_HELP_STRING([--enable-vfs-undelfs], [Support for ext2 undelete filesystem [[no]]]), AC_HELP_STRING([--enable-vfs-undelfs], [Support for ext2 undelete filesystem [[no]]]),
[enable_vfs_undelfs="$enableval"], [
[enable_vfs_undelfs="no"] if test "x$enableval" = "xno"; then
) enable_vfs_undelfs=no
else
enable_vfs_undelfs=yes
fi
],
[enable_vfs_undelfs="no"])
if test x"$enable_vfs" != x"no" -a x"$enable_vfs_undelfs" != x"no"; then if test x"$enable_vfs" != x"no" -a x"$enable_vfs_undelfs" != x"no"; then
MC_UNDELFS_CHECKS MC_UNDELFS_CHECKS