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.
25 static const char * const features
[] = {
27 N_("Virtual File System: tarfs, extfs"),
32 N_(" (proxies: hsc proxy)"),
41 #endif /* USE_NETCODE */
48 #ifdef USE_INTERNAL_EDIT
49 N_("With builtin Editor\n"),
54 # ifdef HAVE_SYSTEM_SLANG
55 N_("Using system-installed S-Lang library"),
57 N_("Using included S-Lang library"),
63 N_("with termcap database"),
65 N_("with terminfo database"),
68 #elif defined(USE_NCURSES)
69 N_("Using the ncurses library"),
71 #error "Cannot compile mc without S-Lang or ncurses"
72 #endif /* !HAVE_SLANG && !USE_NCURSES */
76 #ifdef HAVE_SUBSHELL_SUPPORT
77 # ifdef SUBSHELL_OPTIONAL
78 N_("With optional subshell support"),
80 N_("With subshell support as default"),
83 #endif /* !HAVE_SUBSHELL_SUPPORT */
85 #ifdef WITH_BACKGROUND
86 N_("With support for background operations\n"),
90 N_("With mouse support on xterm and Linux console\n"),
92 N_("With mouse support on xterm\n"),
95 #ifdef HAVE_TEXTMODE_X11_SUPPORT
96 N_("With support for X11 events\n"),
100 N_("With internationalization support\n"),
104 N_("With multiple codepages support\n"),
111 version (int verbose
)
115 fprintf (stdout
, _("GNU Midnight Commander %s\n"), VERSION
);
119 for (i
= 0; features
[i
]; i
++)
120 fputs (_(features
[i
]), stdout
);