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