*** empty log message ***
[midnight-commander.git] / src / textconf.c
blob8d88984922b85b948e66beedf36d962a022c20ce
1 /* Print features specific for this build */
3 #include <config.h>
4 #include <stdio.h>
6 #include "global.h"
8 static const char * const features [] = {
9 #ifdef USE_VFS
10 N_("Virtual File System: tarfs, extfs"),
11 N_(", cpiofs"),
12 #ifdef USE_NETCODE
13 N_(", ftpfs"),
14 # ifdef HSC_PROXY
15 N_(" (proxies: hsc proxy)"),
16 # endif
17 N_(", fish"),
18 # ifdef WITH_MCFS
19 N_(", mcfs"),
20 # endif
21 # ifdef USE_TERMNET
22 N_(" (with termnet support)"),
23 # endif
24 # ifdef WITH_SMBFS
25 N_(", smbfs"),
26 # endif
27 #endif /* USE_NETCODE */
28 #ifdef USE_EXT2FSLIB
29 N_(", undelfs"),
30 #endif
31 "\n",
32 #endif /* USE_VFS */
34 #ifdef USE_INTERNAL_EDIT
35 N_("With builtin Editor\n"),
36 #endif
38 #ifdef HAVE_SLANG
40 # ifdef HAVE_SYSTEM_SLANG
41 N_("Using system-installed S-Lang library"),
42 # else
43 N_("Using included S-Lang library"),
44 # endif
46 " ",
48 #ifdef SLANG_TERMINFO
49 N_("with terminfo database"),
50 #elif defined(USE_TERMCAP)
51 N_("with termcap database"),
52 #else
53 N_("with an unknown terminal database"),
54 #endif
56 #elif defined(USE_NCURSES)
57 N_("Using the ncurses library"),
58 #else
59 N_("Using old curses library"),
60 #endif /* !HAVE_SLANG && !USE_NCURSES */
62 "\n",
64 #ifdef HAVE_SUBSHELL_SUPPORT
65 # ifdef SUBSHELL_OPTIONAL
66 N_("With optional subshell support"),
67 # else
68 N_("With subshell support as default"),
69 # endif
70 "\n",
71 #endif /* !HAVE_SUBSHELL_SUPPORT */
73 #ifdef WITH_BACKGROUND
74 N_("With support for background operations\n"),
75 #endif
77 #ifdef HAVE_LIBGPM
78 N_("With mouse support on xterm and Linux console\n"),
79 #else
80 N_("With mouse support on xterm\n"),
81 #endif
83 #ifdef HAVE_TEXTMODE_X11_SUPPORT
84 N_("With support for X11 events\n"),
85 #endif
87 #ifdef ENABLE_NLS
88 N_("With internationalization support\n"),
89 #endif
91 #ifdef HAVE_CHARSET
92 N_("With multiple codepages support\n"),
93 #endif
95 NULL }
98 void
99 version (int verbose)
101 int i;
103 fprintf (stdout, _("GNU Midnight Commander %s\n"), VERSION);
104 if (!verbose)
105 return;
107 for (i = 0; features [i]; i++)
108 fputs (_(features [i]), stdout);