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