1/* config.h.in.  Generated from configure.ac by autoheader.  */
2
3/* Define if building universal (internal helper macro) */
4#undef AC_APPLE_UNIVERSAL_BUILD
5
6/* Old AIX systems (3.2.5) don't define some common keysyms. */
7#undef COMPAT_OLD_KEYSYMDEF
8
9/* Support fribidi-0.10.4 and older with "CHARSET" spelling. */
10#undef FRIBIDI_CHARSET_SPELLING
11
12/* Suffix for old (to be deprecated) config filenames */
13#undef FVWM2RC
14
15/* Name of config filenames in FVWM_USERDIR and FVWM_DATADIR */
16#undef FVWM_CONFIG
17
18/* Where to search for images. */
19#undef FVWM_IMAGEPATH
20
21/* Define if gdk-imlib is used */
22#undef GDK_IMLIB
23
24/* Define to 1 if you have the `asprintf' function. */
25#undef HAVE_ASPRINTF
26
27/* Define if fribidi library is used. */
28#undef HAVE_BIDI
29
30/* Define to 1 if you have the `bindtextdomain' function. */
31#undef HAVE_BINDTEXTDOMAIN
32
33/* Have nl_langinfo (CODESET) */
34#undef HAVE_CODESET
35
36/* Define to 1 if you have the `dgettext' function. */
37#undef HAVE_DGETTEXT
38
39/* Define to 1 if you have the `div' function. */
40#undef HAVE_DIV
41
42/* Define to 1 if you have the <dmalloc.h> header file. */
43#undef HAVE_DMALLOC_H
44
45/* Define to 1 if you have the <fcntl.h> header file. */
46#undef HAVE_FCNTL_H
47
48/* Define to 1 if you have the <getopt.h> header file. */
49#undef HAVE_GETOPT_H
50
51/* Define to 1 if you have the `getpwuid' function. */
52#undef HAVE_GETPWUID
53
54/* Define to 1 if you have the `gettext' function. */
55#undef HAVE_GETTEXT
56
57/* Define to 1 if you have the `gettimeofday' function. */
58#undef HAVE_GETTIMEOFDAY
59
60/* Define if readline has full GNU interface */
61#undef HAVE_GNU_READLINE
62
63/* Define if iconv (in the libc) or libiconv is available */
64#undef HAVE_ICONV
65
66/* Define to 1 if you have the <inttypes.h> header file. */
67#undef HAVE_INTTYPES_H
68
69/* Define to 1 if you have the `dmalloc' library (-ldmalloc). */
70#undef HAVE_LIBDMALLOC
71
72/* Define to 1 if you have the `efence' library (-lefence). */
73#undef HAVE_LIBEFENCE
74
75/* Define if libevent is used. */
76#undef HAVE_LIBEVENT
77
78/* Define to 1 if you have the `intl' library (-lintl). */
79#undef HAVE_LIBINTL
80
81/* Define to 1 if you have the <limits.h> header file. */
82#undef HAVE_LIMITS_H
83
84/* Define to 1 if you have the `lstat' function. */
85#undef HAVE_LSTAT
86
87/* Define to 1 if you have the <malloc.h> header file. */
88#undef HAVE_MALLOC_H
89
90/* Define to 1 if you have the `memcpy' function. */
91#undef HAVE_MEMCPY
92
93/* Define to 1 if you have the `memmove' function. */
94#undef HAVE_MEMMOVE
95
96/* Define to 1 if you have the <memory.h> header file. */
97#undef HAVE_MEMORY_H
98
99/* Define to 1 if you have the `mkfifo' function. */
100#undef HAVE_MKFIFO
101
102/* Define to 1 if you have the `mkstemp' function. */
103#undef HAVE_MKSTEMP
104
105/* Define to 1 if translation of program messages to the user's native
106   language is requested. */
107#undef HAVE_NLS
108
109/* Define PNG */
110#undef HAVE_PNG
111
112/* Define to 1 if you have the `putenv' function. */
113#undef HAVE_PUTENV
114
115/* Define if readline is available. */
116#undef HAVE_READLINE
117
118/* Define if librsvg library is used. */
119#undef HAVE_RSVG
120
121/* Enable the use of mkstemp */
122#undef HAVE_SAFETY_MKSTEMP
123
124/* Define to 1 if you have the `select' function. */
125#undef HAVE_SELECT
126
127/* Define to 1 if you have the `setpgid' function. */
128#undef HAVE_SETPGID
129
130/* Define to 1 if you have the `setpgrp' function. */
131#undef HAVE_SETPGRP
132
133/* Define to 1 if you have the `setvbuf' function. */
134#undef HAVE_SETVBUF
135
136/* Define to 1 if you have the `sigaction' function. */
137#undef HAVE_SIGACTION
138
139/* Define to 1 if you have the `siginterrupt' function. */
140#undef HAVE_SIGINTERRUPT
141
142/* Define to 1 if you have the `siglongjmp' function. */
143#undef HAVE_SIGLONGJMP
144
145/* Define to 1 if you have the `sigsetjmp' function. */
146#undef HAVE_SIGSETJMP
147
148/* Define to 1 if you have the `socket' function. */
149#undef HAVE_SOCKET
150
151/* Define to 1 if you have the <stdarg.h> header file. */
152#undef HAVE_STDARG_H
153
154/* Define to 1 if you have the <stdint.h> header file. */
155#undef HAVE_STDINT_H
156
157/* Define to 1 if you have the <stdlib.h> header file. */
158#undef HAVE_STDLIB_H
159
160/* Define to 1 if you have the `strchr' function. */
161#undef HAVE_STRCHR
162
163/* Define to 1 if you have the `strdup' function. */
164#undef HAVE_STRDUP
165
166/* Define to 1 if you have the `strftime' function. */
167#undef HAVE_STRFTIME
168
169/* Define to 1 if you have the <strings.h> header file. */
170#undef HAVE_STRINGS_H
171
172/* Define to 1 if you have the <string.h> header file. */
173#undef HAVE_STRING_H
174
175/* Define to 1 if you have the `strstr' function. */
176#undef HAVE_STRSTR
177
178/* Define to 1 if you have the `strtol' function. */
179#undef HAVE_STRTOL
180
181/* Define to 1 if you have the `sysconf' function. */
182#undef HAVE_SYSCONF
183
184/* Define to 1 if you have the <sys/select.h> header file. */
185#undef HAVE_SYS_SELECT_H
186
187/* Define to 1 if you have the <sys/socket.h> header file. */
188#undef HAVE_SYS_SOCKET_H
189
190/* Define to 1 if you have the <sys/stat.h> header file. */
191#undef HAVE_SYS_STAT_H
192
193/* Define to 1 if you have the <sys/systeminfo.h> header file. */
194#undef HAVE_SYS_SYSTEMINFO_H
195
196/* Define to 1 if you have the <sys/time.h> header file. */
197#undef HAVE_SYS_TIME_H
198
199/* Define to 1 if you have the <sys/types.h> header file. */
200#undef HAVE_SYS_TYPES_H
201
202/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
203#undef HAVE_SYS_WAIT_H
204
205/* Check if tailq is present. */
206#undef HAVE_TAILQ
207
208/* Define to 1 if you have the `textdomain' function. */
209#undef HAVE_TEXTDOMAIN
210
211/* Define to 1 if you have the `uname' function. */
212#undef HAVE_UNAME
213
214/* Define to 1 if you have the <unistd.h> header file. */
215#undef HAVE_UNISTD_H
216
217/* Define to 1 if you have the `vfprintf' function. */
218#undef HAVE_VFPRINTF
219
220/* Define to 1 if you have the `wait3' function. */
221#undef HAVE_WAIT3
222
223/* Define to 1 if you have the `wait4' function. */
224#undef HAVE_WAIT4
225
226/* Define to 1 if you have the `waitpid' function. */
227#undef HAVE_WAITPID
228
229/* Define if Xkb extension is used. */
230#undef HAVE_X11_XKBLIB_H
231
232/* Define if Xcursor library is used. */
233#undef HAVE_XCURSOR
234
235/* Define if Xft library is used. */
236#undef HAVE_XFT
237
238/* Define if Xft 2 library is used. */
239#undef HAVE_XFT2
240
241/* Define if Xft library can handle utf8 encoding */
242#undef HAVE_XFT_UTF8
243
244/* Enable X output method */
245#undef HAVE_XOUTPUT_METHOD
246
247/* Define if XRandR library is used. */
248#undef HAVE_XRANDR
249
250/* Define if Xrender library is used. */
251#undef HAVE_XRENDER
252
253/* Define if MIT Shared Memory extension is used. */
254#undef HAVE_XSHM
255
256/* define if second arg of iconv use const */
257#undef ICONV_ARG_CONST
258
259/* Name of package */
260#undef PACKAGE
261
262/* Define to the address where bug reports for this package should be sent. */
263#undef PACKAGE_BUGREPORT
264
265/* Define to the full name of this package. */
266#undef PACKAGE_NAME
267
268/* Define to the full name and version of this package. */
269#undef PACKAGE_STRING
270
271/* Define to the one symbol short name of this package. */
272#undef PACKAGE_TARNAME
273
274/* Define to the home page for this package. */
275#undef PACKAGE_URL
276
277/* Define to the version of this package. */
278#undef PACKAGE_VERSION
279
280/* Define as the return type of signal handlers (`int' or `void'). */
281#undef RETSIGTYPE
282
283/* Define a suitable cast for arguments 2-4 of `select'. On most systems, this
284   will be the empty string, as select usually takes pointers to fd_set. */
285#undef SELECT_FD_SET_CAST
286
287/* Enables session management functionality. */
288#undef SESSION
289
290/* Define to 1 if the `setpgrp' function takes no argument. */
291#undef SETPGRP_VOID
292
293/* Define if you want the Shaped window extensions. Shaped window extensions
294   seem to increase the window managers RSS by about 60 Kbytes. They provide
295   for leaving a title-bar on the window without a border. If you don't use
296   shaped window extension, you can either make your shaped windows
297   undecorated, or live with a border and backdrop around all your shaped
298   windows (oclock, xeyes) If you normally use a shaped window (xeyes or
299   oclock), you might as well compile this extension in, since the memory cost
300   is minimal in this case (The shaped window shared libs will be loaded
301   anyway). If you don't normally use a shaped window, you have to decide for
302   yourself. Note: if it is compiled in, run time detection is used to make
303   sure that the currently running X server supports it. */
304#undef SHAPE
305
306/* The size of `int', as computed by sizeof. */
307#undef SIZEOF_INT
308
309/* The size of `long', as computed by sizeof. */
310#undef SIZEOF_LONG
311
312/* The size of `Pixel', as computed by sizeof. */
313#undef SIZEOF_PIXEL
314
315/* The size of `void *', as computed by sizeof. */
316#undef SIZEOF_VOID_P
317
318/* The size of `Window', as computed by sizeof. */
319#undef SIZEOF_WINDOW
320
321/* Define to 1 if you have the ANSI C header files. */
322#undef STDC_HEADERS
323
324/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
325#undef TIME_WITH_SYS_TIME
326
327/* define if we use libiconv (not needed in general: for example iconv is
328   native with recent glibc) */
329#undef USE_LIBICONV
330
331/* Enable extensions on AIX 3, Interix.  */
332#ifndef _ALL_SOURCE
333# undef _ALL_SOURCE
334#endif
335/* Enable GNU extensions on systems that have them.  */
336#ifndef _GNU_SOURCE
337# undef _GNU_SOURCE
338#endif
339/* Enable threading extensions on Solaris.  */
340#ifndef _POSIX_PTHREAD_SEMANTICS
341# undef _POSIX_PTHREAD_SEMANTICS
342#endif
343/* Enable extensions on HP NonStop.  */
344#ifndef _TANDEM_SOURCE
345# undef _TANDEM_SOURCE
346#endif
347/* Enable general extensions on Solaris.  */
348#ifndef __EXTENSIONS__
349# undef __EXTENSIONS__
350#endif
351
352
353/* Version number of package */
354#undef VERSION
355
356/* Additional version information, like date */
357#undef VERSIONINFO
358
359/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
360   significant byte first (like Motorola and SPARC, unlike Intel). */
361#if defined AC_APPLE_UNIVERSAL_BUILD
362# if defined __BIG_ENDIAN__
363#  define WORDS_BIGENDIAN 1
364# endif
365#else
366# ifndef WORDS_BIGENDIAN
367#  undef WORDS_BIGENDIAN
368# endif
369#endif
370
371/* Define if Xpm library is used. */
372#undef XPM
373
374/* Define to 1 if the X Window System is missing or not being used. */
375#undef X_DISPLAY_MISSING
376
377/* Enables to use setlocale() provided by X */
378#undef X_LOCALE
379
380#ifdef COMPAT_OLD_KEYSYMDEF
381#  define XK_Page_Up   XK_Prior
382#  define XK_Page_Down XK_Next
383#endif
384
385#ifdef FRIBIDI_CHARSET_SPELLING
386#  define FRIBIDI_CHAR_SET_NOT_FOUND FRIBIDI_CHARSET_NOT_FOUND
387#endif
388
389#ifdef USE_LIBICONV
390/* define to use locale_charset in the place of nl_langinfog if libiconv
391 * is used */
392#undef HAVE_LIBCHARSET
393#endif
394
395/* Define to 1 if on MINIX. */
396#undef _MINIX
397
398/* Define to 2 if the system does not provide POSIX.1 features except with
399   this defined. */
400#undef _POSIX_1_SOURCE
401
402/* Define to 1 if you need to in order for `stat' and other things to work. */
403#undef _POSIX_SOURCE
404
405
406/**
407 * The next few defines are options that are only changed from their values
408 * shown here on systems that _don't_ use the configure script.
409 **/
410
411/* Define if the X11 ConnectionNumber is actually a file descriptor. */
412#define HAVE_X11_FD 1
413
414/* Define if fork() has unix semantics.  On VMS, no child process is created
415   until after a successful exec(). */
416#define FORK_CREATES_CHILD 1
417
418/* Suffix for executable filenames; NULL if no extension needed. */
419#define EXECUTABLE_EXTENSION NULL
420
421/* Define to remove the extension from executable pathnames before calling
422   exec(). */
423#undef REMOVE_EXECUTABLE_EXTENSION
424
425/* Enables the "MiniIcon" Style option to specify a small pixmap which
426 * can be used as one of the title-bar buttons, shown in window list,
427 * utilized by modules, etc.  Requires PIXMAP_BUTTONS to be defined
428 * (see below). */
429/* #undef MINI_ICONS */
430/* NOTE: hard coded to 1 */
431#if 1
432#define FMiniIconsSupported 1
433#else
434#define FMiniIconsSupported 0
435#endif
436
437#if RETSIGTYPE != void
438#define SIGNAL_RETURN return 0
439#else
440#define SIGNAL_RETURN return
441#endif
442
443/* Allow GCC extensions to work, if you have GCC. */
444#ifndef __attribute__
445/* This feature is available in gcc versions 2.5 and later. */
446#  if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
447#    define __attribute__(x)
448#  endif
449/* The __-protected variants of `format' and `printf' attributes
450 * are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */
451#  if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
452#    define __format__ format
453#    define __printf__ printf
454#  endif
455#endif
456
457#ifdef HAVE_STRING_H
458#  include <string.h>
459#endif
460#ifdef HAVE_STRINGS_H
461#  include <strings.h>
462#endif
463#ifdef HAVE_MEMORY_H
464#  include <memory.h>
465#endif
466#ifdef HAVE_STDLIB_H
467#  include <stdlib.h>
468#endif
469
470#if defined (HAVE_MALLOC_H) && !defined (__FreeBSD__) && !defined (__OpenBSD__) && !defined(__NetBSD__)
471#  include <malloc.h>
472#endif
473#ifdef HAVE_FCNTL_H
474#  include <fcntl.h>
475#endif
476#ifndef HAVE_STRCHR
477#  define strchr(_s,_c)   index((_s),(_c))
478#  define strrchr(_s,_c)  rindex((_s),(_c))
479#endif
480
481#ifndef HAVE_MEMCPY
482#  define memcpy(_d,_s,_l)  bcopy((_s),(_d),(_l))
483#endif
484#ifndef HAVE_MEMMOVE
485#  define memmove(_d,_s,_l) bcopy((_s),(_d),(_l))
486#endif
487
488#if HAVE_SYS_TYPES_H
489#  include <sys/types.h>
490#endif
491
492#ifndef HAVE_TAILQ
493#	include <sys/queue.h>
494#endif
495
496#if HAVE_UNISTD_H
497#  include <unistd.h>
498#endif
499
500#ifndef min
501#  define min(a,b) (((a)<(b)) ? (a) : (b))
502#endif
503#ifndef max
504#  define max(a,b) (((a)>(b)) ? (a) : (b))
505#endif
506#ifndef abs
507#  define abs(a) (((a)>=0)?(a):-(a))
508#endif
509
510#include "libs/defaults.h"
511
512#ifndef O_NOFOLLOW
513#define O_NOFOLLOW 0
514#endif
515
516#ifdef HAVE_LSTAT
517#define DO_USE_LSTAT 1
518#define fvwm_lstat(x,y) lstat(x,y)
519#else
520#define DO_USE_LSTAT 0
521#define fvwm_lstat(x,y) -1
522#endif
523
524/* A macro that touches a variable in a compiler independent way to suppress
525 * warnings. */
526#define SUPPRESS_UNUSED_VAR_WARNING(x) \
527do { void *p; p = (void *)&x; (void)p; } while (0);
528
529#ifndef HAVE_STRLCPY
530#   include "libs/strlcpy.h"
531#endif
532
533#ifndef HAVE_ASPRINTF
534int	asprintf(char **, const char *, ...);
535int     vasprintf(char **, const char *, va_list);
536#endif
537
538#include "libs/log.h"
539
540
541/* Define to empty if `const' does not conform to ANSI C. */
542#undef const
543
544/* Define to the type used in arguments 2-4 of `select', if not set by system
545   headers. */
546#undef fd_set
547
548/* Define to the type used in argument 1 `select'. Usually this is an `int'.
549   */
550#undef fd_set_size_t
551
552/* Define to `__inline__' or `__inline' if that's what the C compiler
553   calls it, or to nothing if 'inline' is not supported under any name.  */
554#ifndef __cplusplus
555#undef inline
556#endif
557
558/* Define to the type of a signed integer type of width exactly 16 bits if
559   such a type exists and the standard includes do not define it. */
560#undef int16_t
561
562/* Define to `long int' if <sys/types.h> does not define. */
563#undef off_t
564
565/* Define to `int' if <sys/types.h> does not define. */
566#undef pid_t
567
568/* Specify a type for sig_atomic_t if it's not available. */
569#undef sig_atomic_t
570
571/* Define to `unsigned int' if <sys/types.h> does not define. */
572#undef size_t
573
574/* Define to the type of an unsigned integer type of width exactly 16 bits if
575   such a type exists and the standard includes do not define it. */
576#undef uint16_t
577