* FvwmScript/FvwmScript.1.in (following): Clarify description of
[fvwm.git] / acconfig.h
blobc08fdde5366f81b19265a8cc0966074d4eee628c
1 /* Name of config filenames in FVWM_USERDIR and FVWM_DATADIR */
2 #define FVWM_CONFIG "config"
4 /* Suffix for old (to be deprecated) config filenames */
5 #define FVWM2RC ".fvwm2rc"
7 /* Additional version information, like date */
8 #define VERSIONINFO ""
10 /* Define if gdk-imlib is used */
11 #undef GDK_IMLIB
13 /* Where to search for images. */
14 #undef FVWM_IMAGEPATH
16 /* Define if Xpm library is used. */
17 #undef XPM
19 /* Define if ppm library is used. */
20 #undef HAVE_PNG
22 /* Define if your processor stores words with the most significant
23 byte first (like Motorola and SPARC, unlike Intel and VAX). */
24 #undef WORDS_BIGENDIAN
26 /* Define if rplay library is used. */
27 #undef HAVE_RPLAY
29 /* Define if Xinerama should be emulated on a single screen. */
30 #undef USE_XINERAMA_EMULATION
32 /* Define if Xinerama library is used. */
33 #undef HAVE_XINERAMA
35 /* Define if Solaris' Xinerama calls are being used. */
36 /* (Solaris 7 11/99 and later) */
37 #undef HAVE_SOLARIS_XINERAMA
39 /* Define if Solaris' X11/extensions/xinerama.h header is provided. */
40 /* (Solaris 9 and later) */
41 #undef HAVE_SOLARIS_XINERAMA_H
43 /* Define if Xrender library is used. */
44 #undef HAVE_XRENDER
46 /* Define if Xft library is used. */
47 #undef HAVE_XFT
49 /* Define if Xft 2 library is used. */
50 #undef HAVE_XFT2
52 /* Define if Xft library can handle utf8 encoding */
53 #undef HAVE_XFT_UTF8
55 /* Define if stroke library is used. */
56 #undef HAVE_STROKE
58 #ifdef HAVE_STROKE
59 # define STROKE_ARG(x) x,
60 # define STROKE_CODE(x) x
61 #else
62 # define STROKE_ARG(x)
63 # define STROKE_CODE(x)
64 #endif
66 /* Define if readline is available. */
67 #undef HAVE_READLINE
69 /* Define if iconv (in the libc) or libiconv is available */
70 #undef HAVE_ICONV
72 /* define if we use libiconv (not needed in general: for example iconv is
73 * native with recent glibc) */
74 #undef USE_LIBICONV
76 /* define if second arg of iconv use const */
77 #undef ICONV_ARG_CONST
79 #ifdef USE_LIBICONV
80 /* define to use locale_charset in the place of nl_langinfog if libiconv
81 * is used */
82 #undef HAVE_LIBCHARSET
83 #endif
85 /* Define if nl_langinfo is available */
86 #undef HAVE_CODESET
88 /* Define to 1 if translation of program messages to the user's native
89 language is requested. */
90 #undef HAVE_NLS
92 /* Define if you want the Shaped window extensions.
93 * Shaped window extensions seem to increase the window managers RSS
94 * by about 60 Kbytes. They provide for leaving a title-bar on the window
95 * without a border.
96 * If you don't use shaped window extension, you can either make your
97 * shaped windows undecorated, or live with a border and backdrop around
98 * all your shaped windows (oclock, xeyes)
100 * If you normally use a shaped window (xeyes or oclock), you might as
101 * well compile this extension in, since the memory cost is minimal in
102 * this case (The shaped window shared libs will be loaded anyway). If you
103 * don't normally use a shaped window, you have to decide for yourself.
105 * Note: if it is compiled in, run time detection is used to make sure that
106 * the currently running X server supports it. */
107 #undef SHAPE
109 /* Define if MIT Shared Memory extension is used. */
110 #undef HAVE_XSHM
112 /* Define if fribidi library is used. */
113 #undef HAVE_BIDI
115 /* Enables the "MiniIcon" Style option to specify a small pixmap which
116 * can be used as one of the title-bar buttons, shown in window list,
117 * utilized by modules, etc. Requires PIXMAP_BUTTONS to be defined
118 * (see below). */
119 /* #undef MINI_ICONS */
120 /* NOTE: hard coded to 1 */
121 #if 1
122 #define FMiniIconsSupported 1
123 #else
124 #define FMiniIconsSupported 0
125 #endif
127 /* Enables tagged general decoration styles which can be assigned to
128 * windows using the UseDecor Style option, or dynamically updated
129 * with ChangeDecor. To create and destroy "decor" definitions, see
130 * the man page entries for AddToDecor and DestroyDecor. There is a
131 * slight memory penalty for each additionally defined decor. */
132 /* #undef USEDECOR */
133 /* NOTE: hard coded to 1 */
134 #define USEDECOR 1
136 /* Enables session management functionality. */
137 #undef SESSION
139 /* Enables to use setlocale() provided by X */
140 #undef X_LOCALE
142 /* Enable X output method */
143 #undef HAVE_XOUTPUT_METHOD
145 /* Enable the use of mkstemp */
146 #undef HAVE_SAFTY_MKSTEMP
148 /* Specify a type for sig_atomic_t if it's not available. */
149 #undef sig_atomic_t
151 /* Define to the type used in argument 1 `select'. Usually this is an `int'. */
152 #undef fd_set_size_t
154 /* Define to the type used in arguments 2-4 of `select', if not set by system
155 headers. */
156 #undef fd_set
158 /* Define a suitable cast for arguments 2-4 of `select'. On most systems,
159 this will be the empty string, as select usually takes pointers to fd_set. */
160 #undef SELECT_FD_SET_CAST
164 ** if you would like to see lots of debug messages from fvwm, for debugging
165 ** purposes, uncomment the next line
167 #undef FVWM_DEBUG_MSGS
169 #ifdef FVWM_DEBUG_MSGS
170 # define DBUG(x,y) fvwm_msg(DBG,x,y)
171 #else
172 # define DBUG(x,y) /* no messages */
173 #endif
176 /* Produces a log of all executed commands and their times on stderr. */
177 #undef FVWM_COMMAND_LOG
179 #ifdef FVWM_COMMAND_LOG
180 # define FVWM_DEBUG_TIME 1
181 #endif
184 /* Old AIX systems (3.2.5) don't define some common keysyms. */
185 #undef COMPAT_OLD_KEYSYMDEF
187 #ifdef COMPAT_OLD_KEYSYMDEF
188 # define XK_Page_Up XK_Prior
189 # define XK_Page_Down XK_Next
190 #endif
193 /* Old libstroke <= 0.4 does not use STROKE_ prefix for constants. */
194 #undef COMPAT_OLD_LIBSTROKE
196 #ifdef COMPAT_OLD_LIBSTROKE
197 /* currently we only use one constant */
198 # define STROKE_MAX_SEQUENCE MAX_SEQUENCE
199 #endif
203 * The next few defines are options that are only changed from their values
204 * shown here on systems that _don't_ use the configure script.
207 /* Enable tests for missing too many XEvents. Usually you want this. */
208 #define WORRY_ABOUT_MISSED_XEVENTS 1
210 /* Define if the X11 ConnectionNumber is actually a file descriptor. */
211 #define HAVE_X11_FD 1
213 /* Define if fork() has unix semantics. On VMS, no child process is created
214 until after a successful exec(). */
215 #define FORK_CREATES_CHILD 1
217 /* Suffix for executable filenames; NULL if no extension needed. */
218 #define EXECUTABLE_EXTENSION NULL
220 /* Define to remove the extension from executable pathnames before calling
221 exec(). */
222 #undef REMOVE_EXECUTABLE_EXTENSION
224 @TOP@
227 The stuff above TOP goes to the top of config.h.in
228 What appears below BOTTOM goes to the bottom
229 This text should not appear anywhere (but it does with autoconf-2.50+).
232 @BOTTOM@
235 #if RETSIGTYPE != void
236 #define SIGNAL_RETURN return 0
237 #else
238 #define SIGNAL_RETURN return
239 #endif
241 /* Allow GCC extensions to work, if you have GCC. */
242 #ifndef __attribute__
243 /* This feature is available in gcc versions 2.5 and later. */
244 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
245 # define __attribute__(x)
246 # endif
247 /* The __-protected variants of `format' and `printf' attributes
248 * are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */
249 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
250 # define __format__ format
251 # define __printf__ printf
252 # endif
253 #endif
255 #if HAVE_ALLOCA_H
256 # include <alloca.h>
257 #else
258 # ifdef _AIX
259 #pragma alloca
260 # else
261 # ifndef alloca /* predefined by HP cc +Olibcalls */
262 char *alloca ();
263 # endif
264 # endif
265 #endif
267 #ifdef STDC_HEADERS
268 # include <stdlib.h>
269 # include <string.h>
270 #else
271 # ifdef HAVE_STRING_H
272 # include <string.h>
273 # else
274 # include <strings.h>
275 # endif
276 # ifdef HAVE_MEMORY_H
277 # include <memory.h>
278 # endif
279 # ifdef HAVE_STDLIB_H
280 # include <stdlib.h>
281 # endif
282 # ifdef HAVE_MALLOC_H
283 # include <malloc.h>
284 # endif
285 # ifndef HAVE_STRCHR
286 # define strchr(_s,_c) index((_s),(_c))
287 # define strrchr(_s,_c) rindex((_s),(_c))
288 # endif
289 #endif
291 #ifndef HAVE_MEMCPY
292 # define memcpy(_d,_s,_l) bcopy((_s),(_d),(_l))
293 #endif
294 #ifndef HAVE_MEMMOVE
295 # define memmove(_d,_s,_l) bcopy((_s),(_d),(_l))
296 #endif
298 #if HAVE_SYS_TYPES_H
299 # include <sys/types.h>
300 #endif
302 #if HAVE_UNISTD_H
303 # include <unistd.h>
304 #endif
306 #ifndef min
307 # define min(a,b) (((a)<(b)) ? (a) : (b))
308 #endif
309 #ifndef max
310 # define max(a,b) (((a)>(b)) ? (a) : (b))
311 #endif
312 #ifndef abs
313 # define abs(a) (((a)>=0)?(a):-(a))
314 #endif
316 #include "libs/defaults.h"
318 #ifndef FEVENT_C
319 #include <X11/Xlib.h>
320 #include "libs/FEvent.h"
321 #endif