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 */
10 /* Define if gdk-imlib is used */
13 /* Where to search for images. */
16 /* Define if Xpm library is used. */
19 /* Define if ppm library is used. */
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. */
29 /* Define if Xinerama should be emulated on a single screen. */
30 #undef USE_XINERAMA_EMULATION
32 /* Define if Xinerama library is used. */
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. */
46 /* Define if Xft library is used. */
49 /* Define if Xft 2 library is used. */
52 /* Define if Xft library can handle utf8 encoding */
55 /* Define if stroke library is used. */
59 # define STROKE_ARG(x) x,
60 # define STROKE_CODE(x) x
62 # define STROKE_ARG(x)
63 # define STROKE_CODE(x)
66 /* Define if readline is available. */
69 /* Define if iconv (in the libc) or libiconv is available */
72 /* define if we use libiconv (not needed in general: for example iconv is
73 * native with recent glibc) */
76 /* define if second arg of iconv use const */
77 #undef ICONV_ARG_CONST
80 /* define to use locale_charset in the place of nl_langinfog if libiconv
82 #undef HAVE_LIBCHARSET
85 /* Define if nl_langinfo is available */
88 /* Define to 1 if translation of program messages to the user's native
89 language is requested. */
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
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. */
109 /* Define if MIT Shared Memory extension is used. */
112 /* Define if fribidi library is used. */
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
119 /* #undef MINI_ICONS */
120 /* NOTE: hard coded to 1 */
122 #define FMiniIconsSupported 1
124 #define FMiniIconsSupported 0
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 */
136 /* Enables session management functionality. */
139 /* Enables to use setlocale() provided by X */
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. */
151 /* Define to the type used in argument 1 `select'. Usually this is an `int'. */
154 /* Define to the type used in arguments 2-4 of `select', if not set by system
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)
172 # define DBUG(x,y) /* no messages */
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
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
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
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
222 #undef REMOVE_EXECUTABLE_EXTENSION
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+).
235 #if RETSIGTYPE != void
236 #define SIGNAL_RETURN return 0
238 #define SIGNAL_RETURN return
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)
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
261 # ifndef alloca /* predefined by HP cc +Olibcalls */
271 # ifdef HAVE_STRING_H
274 # include <strings.h>
276 # ifdef HAVE_MEMORY_H
279 # ifdef HAVE_STDLIB_H
282 # ifdef HAVE_MALLOC_H
286 # define strchr(_s,_c) index((_s),(_c))
287 # define strrchr(_s,_c) rindex((_s),(_c))
292 # define memcpy(_d,_s,_l) bcopy((_s),(_d),(_l))
295 # define memmove(_d,_s,_l) bcopy((_s),(_d),(_l))
299 # include <sys/types.h>
307 # define min(a,b) (((a)<(b)) ? (a) : (b))
310 # define max(a,b) (((a)>(b)) ? (a) : (b))
313 # define abs(a) (((a)>=0)?(a):-(a))
316 #include "libs/defaults.h"
319 #include <X11/Xlib.h>
320 #include "libs/FEvent.h"