1df1c27a6Snia/*
2df1c27a6Snia * Compile-time config settings.  This gets processed by cmake into the
3df1c27a6Snia * file that's actually used.
4df1c27a6Snia */
57d8a9cc2Snia
67d8a9cc2Snia/*
77d8a9cc2Snia * Various on/off configs
87d8a9cc2Snia */
97d8a9cc2Snia
107d8a9cc2Snia/* Using XPM? */
117d8a9cc2Snia#ifdef USE_XPM
127d8a9cc2Snia# define XPM
137d8a9cc2Snia#endif
147d8a9cc2Snia
157d8a9cc2Snia/* libjpeg */
167d8a9cc2Snia#ifdef USE_JPEG
177d8a9cc2Snia# define JPEG
187d8a9cc2Snia#endif
197d8a9cc2Snia
207d8a9cc2Snia/* m4 preprocessing of config */
217d8a9cc2Snia#ifdef USE_M4
227d8a9cc2Snia# define USEM4
237d8a9cc2Snia#endif
247d8a9cc2Snia
257d8a9cc2Snia/* rplay? */
26df1c27a6Snia/* #undef USE_RPLAY */
277d8a9cc2Snia#ifdef USE_RPLAY
287d8a9cc2Snia/*
297d8a9cc2Snia * This mismatched naming is a historical remnant.  User-facing stuff
307d8a9cc2Snia * (build-time config, config file params, etc) has been moved as much as
317d8a9cc2Snia * possible to RPLAY-based to start building up compatibility for any
327d8a9cc2Snia * future where we support other sound methods.  I've left internal stuff
337d8a9cc2Snia * based around SOUNDS / sound.c / something_sound_something() / etc
347d8a9cc2Snia * since that would be a lot of churn, and there aren't the compat
357d8a9cc2Snia * concerns so we can just do those at the time they become necessary
367d8a9cc2Snia * without worrying further.
377d8a9cc2Snia */
387d8a9cc2Snia# define SOUNDS
397d8a9cc2Snia#endif
407d8a9cc2Snia
417d8a9cc2Snia/* How about EWMH properties */
427d8a9cc2Snia#ifdef USE_EWMH
437d8a9cc2Snia# define EWMH
447d8a9cc2Snia#endif
457d8a9cc2Snia
467d8a9cc2Snia/* Does libc provide regex funcs we use? */
477d8a9cc2Snia#ifdef USE_SREGEX
487d8a9cc2Snia# define USE_SYS_REGEX
497d8a9cc2Snia#endif
50df1c27a6Snia
51df1c27a6Snia/* Is usable xrandr available? */
52df1c27a6Snia#ifdef USE_XRANDR
53df1c27a6Snia# define XRANDR
54df1c27a6Snia#endif
55df1c27a6Snia
56df1c27a6Snia/* Enable captive mode (ctwm -w) related bits */
57df1c27a6Snia/* #undef USE_CAPTIVE */
58df1c27a6Snia#ifdef USE_CAPTIVE
59df1c27a6Snia# define CAPTIVE
60df1c27a6Snia#endif
61df1c27a6Snia
62df1c27a6Snia/* Fragments of remaining VirtualScreens support */
63df1c27a6Snia/* #undef USE_VSCREEN */
64df1c27a6Snia#ifdef USE_VSCREEN
65df1c27a6Snia# define VSCREEN
66df1c27a6Snia#endif
67df1c27a6Snia
68df1c27a6Snia/* WindowBox support */
69df1c27a6Snia/* #undef USE_WINBOX */
70df1c27a6Snia#ifdef USE_WINBOX
71df1c27a6Snia# define WINBOX
72df1c27a6Snia#endif
73df1c27a6Snia
74df1c27a6Snia/* Session support */
75df1c27a6Snia#ifdef USE_SESSION
76df1c27a6Snia# define SESSION
77df1c27a6Snia#endif
78