corrected some file operations dialog msgs
[midnight-commander.git] / src / textconf.c
blob46630369067d7f3030a45834f576250bf6f3caae
1 /* Print features specific for this build
3 Copyright (C) 2001-2002 Free Software Foundation
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #include <config.h>
21 #include <stdio.h>
23 #include "global.h"
25 static const char * const features [] = {
26 #ifdef USE_VFS
27 N_("Virtual File System: tarfs, extfs"),
28 N_(", cpiofs"),
29 #ifdef USE_NETCODE
30 N_(", ftpfs"),
31 # ifdef HSC_PROXY
32 N_(" (proxies: hsc proxy)"),
33 # endif
34 N_(", fish"),
35 # ifdef WITH_MCFS
36 N_(", mcfs"),
37 # endif
38 # ifdef WITH_SMBFS
39 N_(", smbfs"),
40 # endif
41 #endif /* USE_NETCODE */
42 #ifdef USE_EXT2FSLIB
43 N_(", undelfs"),
44 #endif
45 "\n",
46 #endif /* USE_VFS */
48 #ifdef USE_INTERNAL_EDIT
49 N_("With builtin Editor\n"),
50 #endif
52 #ifdef HAVE_SLANG
54 # ifdef HAVE_SYSTEM_SLANG
55 N_("Using system-installed S-Lang library"),
56 # else
57 N_("Using included S-Lang library"),
58 # endif
60 " ",
62 #ifdef USE_TERMCAP
63 N_("with termcap database"),
64 #else
65 N_("with terminfo database"),
66 #endif
68 #elif defined(USE_NCURSES)
69 N_("Using the ncurses library"),
70 #else
71 #error "Cannot compile mc without S-Lang or ncurses"
72 #endif /* !HAVE_SLANG && !USE_NCURSES */
74 "\n",
76 #ifdef HAVE_SUBSHELL_SUPPORT
77 # ifdef SUBSHELL_OPTIONAL
78 N_("With optional subshell support"),
79 # else
80 N_("With subshell support as default"),
81 # endif
82 "\n",
83 #endif /* !HAVE_SUBSHELL_SUPPORT */
85 #ifdef WITH_BACKGROUND
86 N_("With support for background operations\n"),
87 #endif
89 #ifdef HAVE_LIBGPM
90 N_("With mouse support on xterm and Linux console\n"),
91 #else
92 N_("With mouse support on xterm\n"),
93 #endif
95 #ifdef HAVE_TEXTMODE_X11_SUPPORT
96 N_("With support for X11 events\n"),
97 #endif
99 #ifdef ENABLE_NLS
100 N_("With internationalization support\n"),
101 #endif
103 #ifdef HAVE_CHARSET
104 N_("With multiple codepages support\n"),
105 #endif
107 NULL }
110 void
111 version (int verbose)
113 int i;
115 fprintf (stdout, _("GNU Midnight Commander %s\n"), VERSION);
116 if (!verbose)
117 return;
119 for (i = 0; features [i]; i++)
120 fputs (_(features [i]), stdout);