mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
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:
parent
0a08e13a6c
commit
ae46a004e9
@ -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)
|
||||
{
|
||||
|
@ -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},
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user