2 dnl Check for tools used in extfs scripts.
4 dnl FIXME: make this configurable
5 AC_DEFUN([AC_MC_EXTFS_CHECKS], [
6 AC_PATH_PROG([ZIP], [zip], [/usr/bin/zip])
7 AC_PATH_PROG([UNZIP], [unzip], [/usr/bin/unzip])
8 AC_CACHE_CHECK([for zipinfo code in unzip], [mc_cv_have_zipinfo],
10 if $UNZIP -Z </dev/null >/dev/null 2>&1; then
11 mc_cv_have_zipinfo=yes
13 if test x"$mc_cv_have_zipinfo" = xyes; then
18 AC_SUBST([HAVE_ZIPINFO])
19 AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])
23 dnl Enable Extfs (classic)
24 AC_DEFUN([AC_MC_VFS_EXTFS],
26 AC_ARG_ENABLE([vfs-extfs],
27 [ --enable-vfs-extfs Support for extfs [[yes]]])
28 if test x"$enable_vfs_extfs" != x"no"; then
30 enable_vfs_extfs="yes"
31 AC_MC_VFS_ADDNAME([extfs])
32 AC_DEFINE([ENABLE_VFS_EXTFS], [1], [Support for extfs])
34 AM_CONDITIONAL(ENABLE_VFS_EXTFS, [test x"$enable_vfs_extfs" = x"yes"])