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 Busy Cursor patch is enabled */
13 /* Where to search for images. */
16 /* Define if Xpm library is used. */
19 /* Define if rplay library is used. */
22 /* Define if stroke library is used. */
26 # define STROKE_ARG(x) x,
27 # define STROKE_CODE(x) x
29 # define STROKE_ARG(x)
30 # define STROKE_CODE(x)
33 /* Define if readline is available. */
36 /* Define to enable a workaround if you have applications that redraw
37 * themselves excessively when they are moved opaque. */
38 #undef DISABLE_CONFIGURE_NOTIFY_DURING_MOVE
40 /* Define to disable motif applications ability to have modal dialogs.
42 #undef MODALITY_IS_EVIL
44 /* Define if you want the Shaped window extensions.
45 * Shaped window extensions seem to increase the window managers RSS
46 * by about 60 Kbytes. They provide for leaving a title-bar on the window
48 * If you don't use shaped window extension, you can either make your
49 * shaped windows undecorated, or live with a border and backdrop around
50 * all your shaped windows (oclock, xeyes)
52 * If you normally use a shaped window (xeyes or oclock), you might as
53 * well compile this extension in, since the memory cost is minimal in
54 * this case (The shaped window shared libs will be loaded anyway). If you
55 * don't normally use a shaped window, you have to decide for yourself.
57 * Note: if it is compiled in, run time detection is used to make sure that
58 * the currently running X server supports it. */
61 /* Enables the "MiniIcon" Style option to specify a small pixmap which
62 * can be used as one of the title-bar buttons, shown in window list,
63 * utilized by modules, etc. Requires PIXMAP_BUTTONS to be defined
65 /* #undef MINI_ICONS */
66 /* NOTE: this option will be removed in the near future (i.e. hardcoded on). */
69 /* Enables stacked button styles. There is a slight memory
70 * penalty for each additional style. See the man page entries for
71 * AddButtonStyle and AddTitleStyle for usage information. */
72 /* #undef MULTISTYLE */
73 /* NOTE: this option will be removed in the near future (i.e. hardcoded on). */
76 /* Enables tagged general decoration styles which can be assigned to
77 * windows using the UseDecor Style option, or dynamically updated
78 * with ChangeDecor. To create and destroy "decor" definitions, see
79 * the man page entries for AddToDecor and DestroyDecor. There is a
80 * slight memory penalty for each additionally defined decor. */
82 /* NOTE: this option will be removed in the near future (i.e. hardcoded on). */
85 /* Enables session management functionality. */
88 /* Enables X11 multibyte character support */
91 /* Enables to use setlocale() provided by X */
94 /* Enables X11 multibyte character support */
97 /* Enables to use setlocale() provided by X */
100 /* Specify a type for sig_atomic_t if it's not available. */
103 /* Define to the type used in argument 1 `select'. Usually this is an `int'. */
106 /* Define to the type used in arguments 2-4 of `select', if not set by system
110 /* Define a suitable cast for arguments 2-4 of `select'. On most systems,
111 this will be the empty string, as select usually takes pointers to fd_set. */
112 #undef SELECT_FD_SET_CAST
116 ** if you would like to see lots of debug messages from fvwm, for debugging
117 ** purposes, uncomment the next line
119 #undef FVWM_DEBUG_MSGS
121 #ifdef FVWM_DEBUG_MSGS
122 # define DBUG(x,y) fvwm_msg(DBG,x,y)
124 # define DBUG(x,y) /* no messages */
128 * The next few defines are options that are only changed from their values
129 * shown here on systems that _don't_ use the configure script.
132 /* Enable tests for missing too many XEvents. Usually you want this. */
133 #define WORRY_ABOUT_MISSED_XEVENTS 1
135 /* Define if the X11 ConnectionNumber is actually a file descriptor. */
136 #define HAVE_X11_FD 1
138 /* Define if fork() has unix semantics. On VMS, no child process is created
139 until after a successful exec(). */
140 #define FORK_CREATES_CHILD 1
142 /* Suffix for executable filenames; NULL if no extension needed. */
143 #define EXECUTABLE_EXTENSION NULL
145 /* Define to remove the extension from executable pathnames before calling
147 #undef REMOVE_EXECUTABLE_EXTENSION
151 #error The stuff above TOP goes to the top of config.h.in
152 #error What appears below BOTTOM goes to the bottom
153 #error This text should not appear anywhere!
164 # ifndef alloca /* predefined by HP cc +Olibcalls */
175 # ifdef HAVE_STRING_H
178 # include <strings.h>
180 # ifdef HAVE_MEMORY_H
183 # ifdef HAVE_STDLIB_H
186 # ifdef HAVE_MALLOC_H
190 # define strchr(_s,_c) index((_s),(_c))
191 # define strrchr(_s,_c) rindex((_s),(_c))
196 # define memcpy(_d,_s,_l) bcopy((_s),(_d),(_l))
199 # define memmove(_d,_s,_l) bcopy((_s),(_d),(_l))
203 # include <sys/types.h>
211 # define min(a,b) (((a)<(b)) ? (a) : (b))
214 # define max(a,b) (((a)>(b)) ? (a) : (b))
217 # define abs(a) (((a)>=0)?(a):-(a))
220 #include "libs/defaults.h"