Fixed mcfs build failure (after reorganize M4-autoconf stuff)

Defined variable WITH_MCFS renamed to ENABLE_VFS_MCFS for more sence
This commit is contained in:
Slava Zanko 2009-05-11 10:28:57 +03:00
parent 0a08e13a6c
commit ae46a004e9
6 changed files with 11 additions and 11 deletions

View File

@ -1153,14 +1153,14 @@ nice_cd (const char *text, const char *xtext, const char *help,
static const char *machine_str = N_(" Enter machine name (F1 for details): ");
#ifdef WITH_MCFS
#ifdef ENABLE_VFS_MCFS
void netlink_cmd (void)
{
nice_cd (_(" Link to a remote machine "), _(machine_str),
"[Network File System]", ":netlink_cmd: Link to a remote ",
"/#mc:", 1);
}
#endif /* WITH_MCFS */
#endif /* ENABLE_VFS_MCFS */
void ftplink_cmd (void)
{

View File

@ -832,7 +832,7 @@ static menu_entry LeftMenu[] = {
{' ', N_("&Encoding... C-t"), NULL_HOTKEY, encoding_cmd},
#ifdef USE_NETCODE
{' ', "", NULL_HOTKEY, 0},
#ifdef WITH_MCFS
#ifdef ENABLE_VFS_MCFS
{' ', N_("&Network link..."), NULL_HOTKEY, netlink_cmd},
#endif
{' ', N_("FT&P link..."), NULL_HOTKEY, ftplink_cmd},
@ -858,7 +858,7 @@ static menu_entry RightMenu[] = {
{' ', N_("&Encoding... C-t"), NULL_HOTKEY, encoding_cmd},
#ifdef USE_NETCODE
{' ', "", NULL_HOTKEY, 0},
#ifdef WITH_MCFS
#ifdef ENABLE_VFS_MCFS
{' ', N_("&Network link..."), NULL_HOTKEY, netlink_cmd},
#endif
{' ', N_("FT&P link..."), NULL_HOTKEY, ftplink_cmd},

View File

@ -40,7 +40,7 @@ static const char *const vfs_supported[] = {
#ifdef USE_NETCODE
"ftpfs",
"fish",
# ifdef WITH_MCFS
# ifdef ENABLE_VFS_MCFS
"mcfs",
# endif
# ifdef WITH_SMBFS

View File

@ -33,7 +33,7 @@
#include <config.h>
#ifdef WITH_MCFS
#ifdef ENABLE_VFS_MCFS
#include <stdio.h>
#include <errno.h>
#include <string.h>
@ -1261,4 +1261,4 @@ void mcfs__unused(void)
CFLAGS="-ansi -pedantic -Wall -Wextra -Werror"
*/
}
#endif /* WITH_MCFS */
#endif /* ENABLE_VFS_MCFS */

View File

@ -25,7 +25,7 @@
#include <config.h>
#ifdef WITH_MCFS
#ifdef ENABLE_VFS_MCFS
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
@ -218,4 +218,4 @@ void mcfsutil__unused(void)
CFLAGS="-ansi -pedantic -Wall -Wextra -Werror"
*/
}
#endif /* WITH_MCFS */
#endif /* ENABLE_VFS_MCFS */

View File

@ -1220,9 +1220,9 @@ vfs_init (void)
#ifdef WITH_SMBFS
init_smbfs ();
#endif /* WITH_SMBFS */
#ifdef WITH_MCFS
#ifdef ENABLE_VFS_MCFS
init_mcfs ();
#endif /* WITH_MCFS */
#endif /* ENABLE_VFS_MCFS */
#endif /* USE_NETCODE */
vfs_setup_wd ();