* make_fvwmdist.sh (wrong_dir): Use portable way of redirecting
[fvwm.git] / acconfig.h
blob5fb09aea4ba785f58303c09fce0f3440beebb48b
1 /* Suffix for config filenames */
2 #define FVWMRC ".fvwm2rc"
4 /* Define if gdk-imlib is used */
5 #undef IMLIB
7 /* define if GNOME WM hints are enabled */
8 #undef GNOME
10 /* define if Busy Cursor patch is enabled */
11 #undef BUSYCURSOR
13 /* Where to search for images. */
14 #undef FVWM_IMAGEPATH
16 /* Define if Xpm library is used. */
17 #undef XPM
19 /* Define if rplay library is used. */
20 #undef HAVE_RPLAY
22 /* Define if stroke library is used. */
23 #undef HAVE_STROKE
25 #ifdef HAVE_STROKE
26 # define STROKE_ARG(x) x,
27 # define STROKE_CODE(x) x
28 #else
29 # define STROKE_ARG(x)
30 # define STROKE_CODE(x)
31 #endif
33 /* Define if readline is available. */
34 #undef HAVE_READLINE
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.
41 * Use with care. */
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
47 * without a border.
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. */
59 #undef SHAPE
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
64 * (see below). */
65 /* #undef MINI_ICONS */
66 /* NOTE: this option will be removed in the near future (i.e. hardcoded on). */
67 #define MINI_ICONS 1
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). */
74 #define MULTISTYLE 1
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. */
81 /* #undef USEDECOR */
82 /* NOTE: this option will be removed in the near future (i.e. hardcoded on). */
83 #define USEDECOR 1
85 /* Enables session management functionality. */
86 #undef SESSION
88 /* Enables X11 multibyte character support */
89 #undef I18N_MB
91 /* Enables to use setlocale() provided by X */
92 #undef X_LOCALE
94 /* Enables X11 multibyte character support */
95 #undef I18N_MB
97 /* Enables to use setlocale() provided by X */
98 #undef X_LOCALE
100 /* Specify a type for sig_atomic_t if it's not available. */
101 #undef sig_atomic_t
103 /* Define to the type used in argument 1 `select'. Usually this is an `int'. */
104 #undef fd_set_size_t
106 /* Define to the type used in arguments 2-4 of `select', if not set by system
107 headers. */
108 #undef fd_set
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)
123 #else
124 # define DBUG(x,y) /* no messages */
125 #endif
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
146 exec(). */
147 #undef REMOVE_EXECUTABLE_EXTENSION
149 @TOP@
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!
155 @BOTTOM@
158 #if HAVE_ALLOCA_H
159 # include <alloca.h>
160 #else
161 # ifdef _AIX
162 #pragma alloca
163 # else
164 # ifndef alloca /* predefined by HP cc +Olibcalls */
165 char *alloca ();
166 # endif
167 # endif
168 #endif
171 #ifdef STDC_HEADERS
172 # include <stdlib.h>
173 # include <string.h>
174 #else
175 # ifdef HAVE_STRING_H
176 # include <string.h>
177 # else
178 # include <strings.h>
179 # endif
180 # ifdef HAVE_MEMORY_H
181 # include <memory.h>
182 # endif
183 # ifdef HAVE_STDLIB_H
184 # include <stdlib.h>
185 # endif
186 # ifdef HAVE_MALLOC_H
187 # include <malloc.h>
188 # endif
189 # ifndef HAVE_STRCHR
190 # define strchr(_s,_c) index((_s),(_c))
191 # define strrchr(_s,_c) rindex((_s),(_c))
192 # endif
193 #endif
195 #ifndef HAVE_MEMCPY
196 # define memcpy(_d,_s,_l) bcopy((_s),(_d),(_l))
197 #endif
198 #ifndef HAVE_MEMMOVE
199 # define memmove(_d,_s,_l) bcopy((_s),(_d),(_l))
200 #endif
202 #if HAVE_SYS_TYPES_H
203 # include <sys/types.h>
204 #endif
206 #if HAVE_UNISTD_H
207 # include <unistd.h>
208 #endif
210 #ifndef min
211 # define min(a,b) (((a)<(b)) ? (a) : (b))
212 #endif
213 #ifndef max
214 # define max(a,b) (((a)>(b)) ? (a) : (b))
215 #endif
216 #ifndef abs
217 # define abs(a) (((a)>=0)?(a):-(a))
218 #endif
220 #include "libs/defaults.h"