ctwm_config.h.in revision b18c2d1e
1/*
2 * Compile-time config settings.  This gets processed by cmake into the
3 * file that's actually used.
4 */
5
6
7/*
8 * Defined paths etc
9 */
10#define SYSTEM_INIT_FILE "@ETCDIR@/system.ctwmrc"
11#define PIXMAP_DIRECTORY "@PIXMAPDIR@"
12
13
14/*
15 * Various on/off configs
16 */
17
18/* Using XPM? */
19#cmakedefine USE_XPM
20#ifdef USE_XPM
21# define XPM
22#endif
23
24/* libjpeg */
25#cmakedefine USE_JPEG
26#ifdef USE_JPEG
27# define JPEG
28#endif
29
30/* m4 preprocessing of config */
31#cmakedefine USE_M4
32#ifdef USE_M4
33# define USEM4
34# define M4CMD "@M4_CMD@"
35#endif
36
37/* rplay? */
38#cmakedefine USE_RPLAY
39#ifdef USE_RPLAY
40/*
41 * This mismatched naming is a historical remnant.  User-facing stuff
42 * (build-time config, config file params, etc) has been moved as much as
43 * possible to RPLAY-based to start building up compatibility for any
44 * future where we support other sound methods.  I've left internal stuff
45 * based around SOUNDS / sound.c / something_sound_something() / etc
46 * since that would be a lot of churn, and there aren't the compat
47 * concerns so we can just do those at the time they become necessary
48 * without worrying further.
49 */
50# define SOUNDS
51#endif
52
53/* How about EWMH properties */
54#cmakedefine USE_EWMH
55#ifdef USE_EWMH
56# define EWMH
57#endif
58
59/* Does libc provide regex funcs we use? */
60#cmakedefine USE_SREGEX
61#ifdef USE_SREGEX
62# define USE_SYS_REGEX
63#endif
64
65/* Is usable xrandr available? */
66#cmakedefine USE_XRANDR
67#ifdef USE_XRANDR
68# define XRANDR
69#endif
70
71/* Enable captive mode (ctwm -w) related bits */
72#cmakedefine USE_CAPTIVE
73#ifdef USE_CAPTIVE
74# define CAPTIVE
75#endif
76
77/* Fragments of remaining VirtualScreens support */
78#cmakedefine USE_VSCREEN
79#ifdef USE_VSCREEN
80# define VSCREEN
81#endif
82
83/* WindowBox support */
84#cmakedefine USE_WINBOX
85#ifdef USE_WINBOX
86# define WINBOX
87#endif
88
89/* Session support */
90#cmakedefine USE_SESSION
91#ifdef USE_SESSION
92# define SESSION
93#endif
94