1 /* Suffix for config filenames */
2 #define FVWMRC ".fvwm2rc"
4 /* Define if gdk-imlib is used */
7 /* define if GNOME WM hints are enabled */
10 /* define if extended WM hints are enabled */
13 /* Where to search for images. */
16 /* Define if Xpm library is used. */
19 /* Define if rplay library is used. */
22 /* Define if Xinerama should be emulated on a single screen. */
23 #undef USE_XINERAMA_EMULATION
25 /* Define if Xinerama library is used. */
28 /* Define if stroke library is used. */
32 # define STROKE_ARG(x) x,
33 # define STROKE_CODE(x) x
35 # define STROKE_ARG(x)
36 # define STROKE_CODE(x)
39 /* Define if readline is available. */
42 /* Define if iconv (in the libc) or libiconv is available */
45 /* define if we use libiconv (not needed in general: for example iconv is
46 * native with recent glibc) */
49 /* define if second arg of iconv use const */
50 #undef ICONV_ARG_USE_CONST
52 /* Define if nl_langinfo is available */
55 /* Define if you want the Shaped window extensions.
56 * Shaped window extensions seem to increase the window managers RSS
57 * by about 60 Kbytes. They provide for leaving a title-bar on the window
59 * If you don't use shaped window extension, you can either make your
60 * shaped windows undecorated, or live with a border and backdrop around
61 * all your shaped windows (oclock, xeyes)
63 * If you normally use a shaped window (xeyes or oclock), you might as
64 * well compile this extension in, since the memory cost is minimal in
65 * this case (The shaped window shared libs will be loaded anyway). If you
66 * don't normally use a shaped window, you have to decide for yourself.
68 * Note: if it is compiled in, run time detection is used to make sure that
69 * the currently running X server supports it. */
72 /* Enables the "MiniIcon" Style option to specify a small pixmap which
73 * can be used as one of the title-bar buttons, shown in window list,
74 * utilized by modules, etc. Requires PIXMAP_BUTTONS to be defined
76 /* #undef MINI_ICONS */
77 /* NOTE: hard coded to 1 */
80 /* Enables tagged general decoration styles which can be assigned to
81 * windows using the UseDecor Style option, or dynamically updated
82 * with ChangeDecor. To create and destroy "decor" definitions, see
83 * the man page entries for AddToDecor and DestroyDecor. There is a
84 * slight memory penalty for each additionally defined decor. */
86 /* NOTE: hard coded to 1 */
89 /* Enables multi-pixmap themeable titlebars */
90 #undef FANCY_TITLEBARS
92 /* Enables session management functionality. */
95 /* Enables X11 multibyte character support */
98 /* Enables to use setlocale() provided by X */
101 /* Specify a type for sig_atomic_t if it's not available. */
104 /* Define to the type used in argument 1 `select'. Usually this is an `int'. */
107 /* Define to the type used in arguments 2-4 of `select', if not set by system
111 /* Define a suitable cast for arguments 2-4 of `select'. On most systems,
112 this will be the empty string, as select usually takes pointers to fd_set. */
113 #undef SELECT_FD_SET_CAST
117 ** if you would like to see lots of debug messages from fvwm, for debugging
118 ** purposes, uncomment the next line
120 #undef FVWM_DEBUG_MSGS
122 #ifdef FVWM_DEBUG_MSGS
123 # define DBUG(x,y) fvwm_msg(DBG,x,y)
125 # define DBUG(x,y) /* no messages */
129 /* Produces a log of all executed commands and their times on stderr. */
130 #undef FVWM_COMMAND_LOG
132 #ifdef FVWM_COMMAND_LOG
133 # define FVWM_DEBUG_TIME 1
137 /* Old AIX systems (3.2.5) don't define some common keysyms. */
138 #undef COMPAT_OLD_KEYSYMDEF
140 #ifdef COMPAT_OLD_KEYSYMDEF
141 # define XK_Page_Up XK_Prior
142 # define XK_Page_Down XK_Next
146 /* Old libstroke <= 0.4 does not use STROKE_ prefix for constants. */
147 #undef COMPAT_OLD_LIBSTROKE
149 #ifdef COMPAT_OLD_LIBSTROKE
150 /* currently we only use one constant */
151 # define STROKE_MAX_SEQUENCE MAX_SEQUENCE
156 * The next few defines are options that are only changed from their values
157 * shown here on systems that _don't_ use the configure script.
160 /* Enable tests for missing too many XEvents. Usually you want this. */
161 #define WORRY_ABOUT_MISSED_XEVENTS 1
163 /* Define if the X11 ConnectionNumber is actually a file descriptor. */
164 #define HAVE_X11_FD 1
166 /* Define if fork() has unix semantics. On VMS, no child process is created
167 until after a successful exec(). */
168 #define FORK_CREATES_CHILD 1
170 /* Suffix for executable filenames; NULL if no extension needed. */
171 #define EXECUTABLE_EXTENSION NULL
173 /* Define to remove the extension from executable pathnames before calling
175 #undef REMOVE_EXECUTABLE_EXTENSION
180 /* migo: Commented; this is not removed with autoconf-2.50 anymore. */
181 #error The stuff above TOP goes to the top of config.h.in
182 #error What appears below BOTTOM goes to the bottom
183 #error This text should not appear anywhere!
195 # ifndef alloca /* predefined by HP cc +Olibcalls */
206 # ifdef HAVE_STRING_H
209 # include <strings.h>
211 # ifdef HAVE_MEMORY_H
214 # ifdef HAVE_STDLIB_H
217 # ifdef HAVE_MALLOC_H
221 # define strchr(_s,_c) index((_s),(_c))
222 # define strrchr(_s,_c) rindex((_s),(_c))
227 # define memcpy(_d,_s,_l) bcopy((_s),(_d),(_l))
230 # define memmove(_d,_s,_l) bcopy((_s),(_d),(_l))
234 # include <sys/types.h>
242 # define min(a,b) (((a)<(b)) ? (a) : (b))
245 # define max(a,b) (((a)>(b)) ? (a) : (b))
248 # define abs(a) (((a)>=0)?(a):-(a))
251 #include "libs/defaults.h"