* POTFILES.in: add gnome/gcustom-layout.c file
[midnight-commander.git] / src / features.inc
blob035bc007a369f6291faecd19a986423e75b38d1e
1 /* This just computes a nice value for the features variable */
3 #ifndef VERSION
4 #    define VERSION "undefined"
5 #endif
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"
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
42     "Using "
43 #ifdef HAVE_SLANG
44 #   ifdef HAVE_SYSTEM_SLANG
45         "system-installed "
46 #   endif
47     "S-lang library with "
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
77 #ifdef WITH_BACKGROUND
78     "With support for background operations\n"
79 #endif
82 static const int status_mouse_support = 
83 #ifdef HAVE_LIBGPM
84     1;
85 #else
86     0;
87 #endif
89 const int status_using_ncurses =
90 #ifdef HAVE_SLANG
91     0;
92 #else
93 #ifdef USE_NCURSES
94     1;
95 #else
96     0;
97 #endif
98 #endif