mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +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): ");
|
static const char *machine_str = N_(" Enter machine name (F1 for details): ");
|
||||||
|
|
||||||
#ifdef WITH_MCFS
|
#ifdef ENABLE_VFS_MCFS
|
||||||
void netlink_cmd (void)
|
void netlink_cmd (void)
|
||||||
{
|
{
|
||||||
nice_cd (_(" Link to a remote machine "), _(machine_str),
|
nice_cd (_(" Link to a remote machine "), _(machine_str),
|
||||||
"[Network File System]", ":netlink_cmd: Link to a remote ",
|
"[Network File System]", ":netlink_cmd: Link to a remote ",
|
||||||
"/#mc:", 1);
|
"/#mc:", 1);
|
||||||
}
|
}
|
||||||
#endif /* WITH_MCFS */
|
#endif /* ENABLE_VFS_MCFS */
|
||||||
|
|
||||||
void ftplink_cmd (void)
|
void ftplink_cmd (void)
|
||||||
{
|
{
|
||||||
|
@ -832,7 +832,7 @@ static menu_entry LeftMenu[] = {
|
|||||||
{' ', N_("&Encoding... C-t"), NULL_HOTKEY, encoding_cmd},
|
{' ', N_("&Encoding... C-t"), NULL_HOTKEY, encoding_cmd},
|
||||||
#ifdef USE_NETCODE
|
#ifdef USE_NETCODE
|
||||||
{' ', "", NULL_HOTKEY, 0},
|
{' ', "", NULL_HOTKEY, 0},
|
||||||
#ifdef WITH_MCFS
|
#ifdef ENABLE_VFS_MCFS
|
||||||
{' ', N_("&Network link..."), NULL_HOTKEY, netlink_cmd},
|
{' ', N_("&Network link..."), NULL_HOTKEY, netlink_cmd},
|
||||||
#endif
|
#endif
|
||||||
{' ', N_("FT&P link..."), NULL_HOTKEY, ftplink_cmd},
|
{' ', N_("FT&P link..."), NULL_HOTKEY, ftplink_cmd},
|
||||||
@ -858,7 +858,7 @@ static menu_entry RightMenu[] = {
|
|||||||
{' ', N_("&Encoding... C-t"), NULL_HOTKEY, encoding_cmd},
|
{' ', N_("&Encoding... C-t"), NULL_HOTKEY, encoding_cmd},
|
||||||
#ifdef USE_NETCODE
|
#ifdef USE_NETCODE
|
||||||
{' ', "", NULL_HOTKEY, 0},
|
{' ', "", NULL_HOTKEY, 0},
|
||||||
#ifdef WITH_MCFS
|
#ifdef ENABLE_VFS_MCFS
|
||||||
{' ', N_("&Network link..."), NULL_HOTKEY, netlink_cmd},
|
{' ', N_("&Network link..."), NULL_HOTKEY, netlink_cmd},
|
||||||
#endif
|
#endif
|
||||||
{' ', N_("FT&P link..."), NULL_HOTKEY, ftplink_cmd},
|
{' ', N_("FT&P link..."), NULL_HOTKEY, ftplink_cmd},
|
||||||
|
@ -40,7 +40,7 @@ static const char *const vfs_supported[] = {
|
|||||||
#ifdef USE_NETCODE
|
#ifdef USE_NETCODE
|
||||||
"ftpfs",
|
"ftpfs",
|
||||||
"fish",
|
"fish",
|
||||||
# ifdef WITH_MCFS
|
# ifdef ENABLE_VFS_MCFS
|
||||||
"mcfs",
|
"mcfs",
|
||||||
# endif
|
# endif
|
||||||
# ifdef WITH_SMBFS
|
# ifdef WITH_SMBFS
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#ifdef WITH_MCFS
|
#ifdef ENABLE_VFS_MCFS
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -1261,4 +1261,4 @@ void mcfs__unused(void)
|
|||||||
CFLAGS="-ansi -pedantic -Wall -Wextra -Werror"
|
CFLAGS="-ansi -pedantic -Wall -Wextra -Werror"
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
#endif /* WITH_MCFS */
|
#endif /* ENABLE_VFS_MCFS */
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#ifdef WITH_MCFS
|
#ifdef ENABLE_VFS_MCFS
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@ -218,4 +218,4 @@ void mcfsutil__unused(void)
|
|||||||
CFLAGS="-ansi -pedantic -Wall -Wextra -Werror"
|
CFLAGS="-ansi -pedantic -Wall -Wextra -Werror"
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
#endif /* WITH_MCFS */
|
#endif /* ENABLE_VFS_MCFS */
|
||||||
|
@ -1220,9 +1220,9 @@ vfs_init (void)
|
|||||||
#ifdef WITH_SMBFS
|
#ifdef WITH_SMBFS
|
||||||
init_smbfs ();
|
init_smbfs ();
|
||||||
#endif /* WITH_SMBFS */
|
#endif /* WITH_SMBFS */
|
||||||
#ifdef WITH_MCFS
|
#ifdef ENABLE_VFS_MCFS
|
||||||
init_mcfs ();
|
init_mcfs ();
|
||||||
#endif /* WITH_MCFS */
|
#endif /* ENABLE_VFS_MCFS */
|
||||||
#endif /* USE_NETCODE */
|
#endif /* USE_NETCODE */
|
||||||
|
|
||||||
vfs_setup_wd ();
|
vfs_setup_wd ();
|
||||||
|
Loading…
Reference in New Issue
Block a user