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"),
38 #endif /* USE_NETCODE */
45 #ifdef USE_INTERNAL_EDIT
46 N_("With builtin Editor\n"),
51 # ifdef HAVE_SYSTEM_SLANG
52 N_("Using system-installed S-Lang library"),
54 N_("Using included S-Lang library"),
60 N_("with termcap database"),
62 N_("with terminfo database"),
65 #elif defined(USE_NCURSES)
66 N_("Using the ncurses library"),
68 #error "Cannot compile mc without S-Lang or ncurses"
69 #endif /* !HAVE_SLANG && !USE_NCURSES */
73 #ifdef HAVE_SUBSHELL_SUPPORT
74 # ifdef SUBSHELL_OPTIONAL
75 N_("With optional subshell support"),
77 N_("With subshell support as default"),
80 #endif /* !HAVE_SUBSHELL_SUPPORT */
82 #ifdef WITH_BACKGROUND
83 N_("With support for background operations\n"),
87 N_("With mouse support on xterm and Linux console\n"),
89 N_("With mouse support on xterm\n"),
92 #ifdef HAVE_TEXTMODE_X11_SUPPORT
93 N_("With support for X11 events\n"),
97 N_("With internationalization support\n"),
101 N_("With multiple codepages support\n"),
108 version (int verbose
)
112 fprintf (stdout
, _("GNU Midnight Commander %s\n"), VERSION
);
116 for (i
= 0; features
[i
]; i
++)
117 fputs (_(features
[i
]), stdout
);