* fvwm/fvwm2.1: Fixup wording in EWMHIconicStateWorkaround.
[fvwm.git] / acconfig.h
bloba2fc0c26f469ef44aa314607717d29bee5b2996b
1 /* Suffix for config filenames */
2 #define FVWMRC ".fvwm2rc"
4 /* Define if gdk-imlib is used */
5 #undef GDK_IMLIB
7 /* define if GNOME WM hints are enabled */
8 #undef GNOME
10 /* define if extended WM hints are enabled */
11 #undef HAVE_EWMH
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 Xinerama should be emulated on a single screen. */
23 #undef USE_XINERAMA_EMULATION
25 /* Define if Xinerama library is used. */
26 #undef HAVE_XINERAMA
28 /* Define if stroke library is used. */
29 #undef HAVE_STROKE
31 #ifdef HAVE_STROKE
32 # define STROKE_ARG(x) x,
33 # define STROKE_CODE(x) x
34 #else
35 # define STROKE_ARG(x)
36 # define STROKE_CODE(x)
37 #endif
39 /* Define if readline is available. */
40 #undef HAVE_READLINE
42 /* Define if iconv (in the libc) or libiconv is available */
43 #undef HAVE_ICONV
45 /* define if we use libiconv (not needed in general: for example iconv is
46 * native with recent glibc) */
47 #undef USE_LIBICONV
49 /* define if second arg of iconv use const */
50 #undef ICONV_ARG_USE_CONST
52 /* Define if nl_langinfo is available */
53 #undef HAVE_CODESET
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
58 * without a border.
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. */
70 #undef SHAPE
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
75 * (see below). */
76 /* #undef MINI_ICONS */
77 /* NOTE: hard coded to 1 */
78 #define MINI_ICONS 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. */
85 /* #undef USEDECOR */
86 /* NOTE: hard coded to 1 */
87 #define USEDECOR 1
89 /* Enables multi-pixmap themeable titlebars */
90 #undef FANCY_TITLEBARS
92 /* Enables session management functionality. */
93 #undef SESSION
95 /* Enables X11 multibyte character support */
96 #undef I18N_MB
98 /* Enables to use setlocale() provided by X */
99 #undef X_LOCALE
101 /* Specify a type for sig_atomic_t if it's not available. */
102 #undef sig_atomic_t
104 /* Define to the type used in argument 1 `select'. Usually this is an `int'. */
105 #undef fd_set_size_t
107 /* Define to the type used in arguments 2-4 of `select', if not set by system
108 headers. */
109 #undef fd_set
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)
124 #else
125 # define DBUG(x,y) /* no messages */
126 #endif
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
134 #endif
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
143 #endif
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
152 #endif
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
174 exec(). */
175 #undef REMOVE_EXECUTABLE_EXTENSION
177 @TOP@
179 #if 0
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!
184 #endif
186 @BOTTOM@
189 #if HAVE_ALLOCA_H
190 # include <alloca.h>
191 #else
192 # ifdef _AIX
193 #pragma alloca
194 # else
195 # ifndef alloca /* predefined by HP cc +Olibcalls */
196 char *alloca ();
197 # endif
198 # endif
199 #endif
202 #ifdef STDC_HEADERS
203 # include <stdlib.h>
204 # include <string.h>
205 #else
206 # ifdef HAVE_STRING_H
207 # include <string.h>
208 # else
209 # include <strings.h>
210 # endif
211 # ifdef HAVE_MEMORY_H
212 # include <memory.h>
213 # endif
214 # ifdef HAVE_STDLIB_H
215 # include <stdlib.h>
216 # endif
217 # ifdef HAVE_MALLOC_H
218 # include <malloc.h>
219 # endif
220 # ifndef HAVE_STRCHR
221 # define strchr(_s,_c) index((_s),(_c))
222 # define strrchr(_s,_c) rindex((_s),(_c))
223 # endif
224 #endif
226 #ifndef HAVE_MEMCPY
227 # define memcpy(_d,_s,_l) bcopy((_s),(_d),(_l))
228 #endif
229 #ifndef HAVE_MEMMOVE
230 # define memmove(_d,_s,_l) bcopy((_s),(_d),(_l))
231 #endif
233 #if HAVE_SYS_TYPES_H
234 # include <sys/types.h>
235 #endif
237 #if HAVE_UNISTD_H
238 # include <unistd.h>
239 #endif
241 #ifndef min
242 # define min(a,b) (((a)<(b)) ? (a) : (b))
243 #endif
244 #ifndef max
245 # define max(a,b) (((a)>(b)) ? (a) : (b))
246 #endif
247 #ifndef abs
248 # define abs(a) (((a)>=0)?(a):-(a))
249 #endif
251 #include "libs/defaults.h"