fix include file case
[reactos.git] / rosapps / mc / src / features.inc
1 /* This just computes a nice value for the features variable */
2
3 #ifndef VERSION
4 # define VERSION "undefined"
5 #endif
6
7 char *features =
8 "Edition: "
9 #ifdef HAVE_X
10 # ifdef HAVE_XVIEW
11 "XView"
12 # else
13 "Tk"
14 # endif
15 #else
16 "text mode"
17 #endif
18 ".\n"
19
20 #ifdef USE_VFS
21 "Virtual File System: tarfs, extfs"
22 #ifdef USE_NETCODE
23 ", ftpfs"
24 # ifdef HSC_PROXY
25 " (proxies: hsc proxy)"
26 # endif
27 ", mcfs"
28 # ifdef USE_TERMNET
29 " (with termnet support)"
30 # endif
31 #endif
32 #ifdef USE_EXT2FSLIB
33 ", undelfs"
34 #endif
35 ".\n"
36 #endif
37
38 #ifdef USE_INTERNAL_EDIT
39 "With builtin Editor\n"
40 #endif
41
42 "Using "
43 #ifdef HAVE_SLANG
44 # ifdef HAVE_SYSTEM_SLANG
45 "system-installed "
46 # endif
47 "S-lang library with "
48
49 # ifdef SLANG_TERMINFO
50 "terminfo"
51 # else
52 # ifdef USE_TERMCAP
53 "termcap"
54 # else
55 "an unknown terminal"
56 # endif
57 # endif
58 " database"
59 #else
60 # ifdef USE_NCURSES
61 "the ncurses library"
62 # else
63 "some unknown curses library"
64 # endif
65 #endif
66 "\n"
67 #ifdef HAVE_SUBSHELL_SUPPORT
68 "With subshell support: "
69 # ifdef SUBSHELL_OPTIONAL
70 "optional"
71 # else
72 "as default"
73 # endif
74 "\n"
75 #endif
76
77 #ifdef HAVE_DUSUM
78 "With DUSUM command\n"
79 #endif
80
81 #ifdef WITH_BACKGROUND
82 "With support for background operations\n"
83 #endif
84 ;
85
86 static const int status_mouse_support =
87 #ifdef HAVE_LIBGPM
88 1;
89 #else
90 0;
91 #endif
92
93 const int status_using_ncurses =
94 #ifdef HAVE_SLANG
95 0;
96 #else
97 #ifdef USE_NCURSES
98 1;
99 #else
100 0;
101 #endif
102 #endif
103
104