Updated wxSocket documentation
[wxWidgets.git] / include / wx / motif / setup0.h
1 /* ./include/wx/motif/setup.h. Generated automatically by configure. */
2 /* setup.h
3
4 Do not edit this file. It is autogenerated by configure.
5
6 Leave the following blank line there!! Autoheader needs it. */
7 \f
8
9 /* ------------------------------------------------------------------------ */
10 /* Features as requested by configure */
11 /* ------------------------------------------------------------------------ */
12
13 #ifndef __GTKSETUPH__
14 #define __GTKSETUPH__
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 /* define the system to compile */
21 #define __UNIX__ 1
22 #define __LINUX__ 1
23 /* #undef __SGI__ */
24 /* #undef __HPUX__ */
25 /* #undef __SYSV__ */
26 /* #undef __SVR4__ */
27 /* #undef __AIX__ */
28 /* #undef __SUN__ */
29 /* #undef __SOLARIS__ */
30 /* #undef __SUNOS__ */
31 /* #undef __ALPHA__ */
32 /* #undef __OSF__ */
33 /* #undef __BSD__ */
34 /* #undef __FREEBSD__ */
35 /* #undef __VMS__ */
36 /* #undef __ULTRIX__ */
37 /* #undef __DATA_GENERAL__ */
38
39 /* ------------------------------------------------------------------------ */
40 /* compiler options */
41 /* ------------------------------------------------------------------------ */
42
43 /*
44 * Supports bool type
45 */
46 #define HAVE_BOOL 1
47
48 /* ------------------------------------------------------------------------ */
49 /* library options */
50 /* ------------------------------------------------------------------------ */
51
52 /*
53 * Use zlib
54 */
55 #define wxUSE_ZLIB 1
56 /*
57 * Use libpng
58 */
59 #define wxUSE_LIBPNG 1
60 /*
61 * Use libjpeg
62 */
63 #define wxUSE_LIBJPEG 0
64 /*
65 * Use gif
66 */
67 #define wxUSE_LIBGIF 0
68 /*
69 * Use iODBC
70 */
71 #define wxUSE_ODBC 0
72 /*
73 * Use Threads
74 */
75 #define wxUSE_THREADS 0
76 /*
77 * Have glibc2
78 */
79 #define wxHAVE_GLIBC2 1
80 /*
81 * Use libXpm
82 */
83 #define wxHAVE_LIB_XPM 0
84
85 #define wxUSE_XPM 1
86
87 /* ------------------------------------------------------------------------ */
88 /* GUI control options (always enabled in wxGTK) */
89 /* ------------------------------------------------------------------------ */
90 /*
91 * Use gauge item
92 */
93 #define wxUSE_GAUGE 1
94 /*
95 * Use combobox item
96 */
97 #define wxUSE_COMBOBOX 1
98 /*
99 * Use scrollbar item
100 */
101 #define wxUSE_SCROLLBAR 1
102 /*
103 * Use scrollbar item
104 */
105 #define wxUSE_RADIOBUTTON 1
106 /*
107 * Use toolbar item
108 */
109 #define wxUSE_TOOLBAR 1
110
111 /* ------------------------------------------------------------------------ */
112 /* non-GUI options */
113 /* ------------------------------------------------------------------------ */
114
115 /*
116 * Use time and date classes
117 */
118 #define wxUSE_TIMEDATE 1
119 /*
120 * Use config system
121 */
122 #define wxUSE_CONFIG 1
123 /*
124 * Use intl system
125 */
126 #define wxUSE_INTL 1
127 /*
128 * Use streams
129 */
130 #define wxUSE_STREAMS 1
131 /*
132 * Use class serialization
133 */
134 #define wxUSE_SERIAL 0
135 /*
136 * Use sockets
137 */
138 #define wxUSE_SOCKETS 1
139 /*
140 * Use standard C++ streams if 1. If 0, use wxWin
141 * streams implementation.
142 */
143 #define wxUSE_STD_IOSTREAM 1
144 /*
145 * Use constraints mechanism
146 */
147 #define wxUSE_CONSTRAINTS 1
148
149 /* ------------------------------------------------------------------------ */
150 /* PS options */
151 /* ------------------------------------------------------------------------ */
152
153 /*
154 * Use font metric files in GetTextExtent for wxPostScriptDC
155 * Use consistent PostScript fonts for AFM and printing (!)
156 */
157 #define wxUSE_AFM_FOR_POSTSCRIPT 1
158 #define WX_NORMALIZED_PS_FONTS 1
159 /*
160 * Use PostScript device context
161 */
162 #define wxUSE_POSTSCRIPT 1
163
164 /* ------------------------------------------------------------------------ */
165 /* wxString options */
166 /* ------------------------------------------------------------------------ */
167
168 /*
169 * Compile wxString with wide character (Unicode) support?
170 */
171 #define wxUSE_UNICODE 1
172
173 /*
174 * Work around a bug in GNU libc 5.x wcstombs() implementation.
175 *
176 * Note that you must link your programs with libc.a if you enable this and you
177 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
178 * thread-safe version of wcstombs()).
179 */
180 #define wxUSE_WCSRTOMBS 0
181
182 /*
183 * On some platforms overloading on size_t/int doesn't work, yet we'd like
184 * to define both size_t and int version of wxString::operator[] because it
185 * should really be size_t, but a lot of old, broken code uses int indices.
186 */
187 #define wxUSE_SIZE_T_STRING_OPERATOR 1
188
189 /* ------------------------------------------------------------------------ */
190 /* misc options */
191 /* ------------------------------------------------------------------------ */
192
193 /*
194 * Use Interprocess communication
195 */
196 #define wxUSE_IPC 1
197 /*
198 * Use wxGetResource & wxWriteResource (change .Xdefaults)
199 */
200 #define wxUSE_RESOURCES 1
201 /*
202 * Use clipboard
203 */
204 #define wxUSE_CLIPBOARD 1
205 /*
206 * Use tooltips
207 */
208 #define wxUSE_TOOLTIPS 0
209 /*
210 * Use dnd
211 */
212 #define wxUSE_DRAG_AND_DROP 0
213 /*
214 * Use wxLibrary class
215 */
216 #define wxUSE_DYNLIB_CLASS 0
217
218 /* ------------------------------------------------------------------------ */
219 /* architecture options */
220 /* ------------------------------------------------------------------------ */
221
222 /*
223 * Use the mdi architecture
224 */
225 #define wxUSE_MDI_ARCHITECTURE 1
226 /*
227 * Use the document/view architecture
228 */
229 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
230 /*
231 * Use the print/preview architecture
232 */
233 #define wxUSE_PRINTING_ARCHITECTURE 1
234
235 /* ------------------------------------------------------------------------ */
236 /* Prolog and wxWindows' resource system options */
237 /* ------------------------------------------------------------------------ */
238
239 /*
240 * Use Prolog IO
241 */
242 #define wxUSE_PROLOGIO 1
243 /*
244 * Use Remote Procedure Call (Needs wxUSE_IPC and wxUSE_PROLOGIO)
245 */
246 #define wxUSE_RPC 0
247 /*
248 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
249 */
250 #define wxUSE_WX_RESOURCES 1
251
252 /* ------------------------------------------------------------------------ */
253 /* the rest */
254 /* ------------------------------------------------------------------------ */
255
256 /*
257 * Use wxWindows help facility (needs wxUSE_IPC 1)
258 */
259 #define wxUSE_HELP 1
260 /*
261 * Use iostream.h rather than iostream
262 */
263 #define wxUSE_IOSTREAMH 1
264 /*
265 * Use Apple Ieee-double converter
266 */
267 #define wxUSE_APPLE_IEEE 1
268 /* Compatibility with 1.66 API.
269 Level 0: no backward compatibility, all new features
270 Level 1: wxDC, OnSize (etc.) compatibility, but
271 some new features such as event tables */
272 #define WXWIN_COMPATIBILITY 0
273 /*
274 * Enables debugging: memory tracing, assert, etc., contains debug level
275 */
276 #define WXDEBUG 1
277 /*
278 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
279 * WARNING: this code may not work with all architectures, especially
280 * if alignment is an issue.
281 */
282 #define wxUSE_MEMORY_TRACING 0
283 /*
284 * Enable debugging version of global memory operators new and delete
285 * Disable it, If this causes problems (e.g. link errors)
286 */
287 #define wxUSE_DEBUG_NEW_ALWAYS 1
288 /*
289 * In debug mode, causes new to be defined to
290 * be WXDEBUG_NEW (see object.h). If this causes
291 * problems (e.g. link errors), set this to 0.
292 */
293 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
294 /*
295 * Matthews garbage collection (used for MrEd?)
296 */
297 #define WXGARBAGE_COLLECTION_ON 0
298 /*
299 * Use splines
300 */
301 #define wxUSE_SPLINES 1
302 /*
303 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
304 */
305 #define wxUSE_DYNAMIC_CLASSES 1
306 /*
307 * Disable this if your compiler can't cope
308 * with omission of prototype parameters.
309 */
310 #define REMOVE_UNUSED_ARG 1
311 /*
312 * The const keyword is being introduced more in wxWindows.
313 * You can use this setting to maintain backward compatibility.
314 * If 0: will use const wherever possible.
315 * If 1: will use const only where necessary
316 * for precompiled headers to work.
317 * If 2: will be totally backward compatible, but precompiled
318 * headers may not work and program size will be larger.
319 */
320 #define CONST_COMPATIBILITY 0
321
322 /* ------------------------------------------------------------------------ */
323 /* System-specific stuff */
324 /* ------------------------------------------------------------------------ */
325
326 /* acconfig.h
327 This file is in the public domain.
328
329 Descriptive text for the C preprocessor macros that
330 the distributed Autoconf macros can define.
331 No software package will use all of them; autoheader copies the ones
332 your configure.in uses into your configuration header file templates.
333
334 The entries are in sort -df order: alphabetical, case insensitive,
335 ignoring punctuation (such as underscores). Although this order
336 can split up related entries, it makes it easier to check whether
337 a given entry is in the file. */
338
339 /* Define if on AIX 3.
340 System headers sometimes define this.
341 We just want to avoid a redefinition error message. */
342 #ifndef _ALL_SOURCE
343 /* #undef _ALL_SOURCE */
344 #endif
345
346 /* Define if using alloca.c. */
347 /* #undef C_ALLOCA */
348
349 /* Define if type char is unsigned and you are not using gcc. */
350 #ifndef __CHAR_UNSIGNED__
351 /* #undef __CHAR_UNSIGNED__ */
352 #endif
353
354 /* Define if the closedir function returns void instead of int. */
355 /* #undef CLOSEDIR_VOID */
356
357 /* Define to empty if the keyword does not work. */
358 /* #undef const */
359
360 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
361 This function is required for alloca.c support on those systems. */
362 /* #undef CRAY_STACKSEG_END */
363
364 /* Define for DGUX with <sys/dg_sys_info.h>. */
365 /* #undef DGUX */
366
367 /* Define if you have <dirent.h>. */
368 /* #undef DIRENT */
369
370 /* Define to the type of elements in the array set by `getgroups'.
371 Usually this is either `int' or `gid_t'. */
372 #define GETGROUPS_T gid_t
373
374 /* The type of 3rd argument to getsockname() - usually size_t or int */
375 #define SOCKLEN_T size_t
376
377 /* Define if the `getloadavg' function needs to be run setuid or setgid. */
378 /* #undef GETLOADAVG_PRIVILEGED */
379
380 /* Define if the `getpgrp' function takes no argument. */
381 /* #undef GETPGRP_VOID */
382
383 /* Define to `int' if <sys/types.h> doesn't define. */
384 /* #undef gid_t */
385
386 /* Define if you have alloca, as a function or macro. */
387 /* #undef HAVE_ALLOCA */
388
389 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
390 /* #undef HAVE_ALLOCA_H */
391
392 /* Define if you don't have vprintf but do have _doprnt. */
393 /* #undef HAVE_DOPRNT */
394
395 /* Define if you have sched.h */
396 #define HAVE_SCHED_H 0
397
398 /* Define if you have strings.h */
399 #define HAVE_STRINGS_H 1
400
401 /* Define if you have vprintf() */
402 #define HAVE_VPRINTF 1
403
404 /* Define if you have dlopen() */
405 /* #undef HAVE_DLOPEN */
406
407 /* Define if you have shl_load() */
408 /* #undef HAVE_SHL_LOAD */
409
410 /* Define if you have vsnprintf() */
411 #define HAVE_VSNPRINTF 1
412
413 /* Define if you have usleep() */
414 #define HAVE_USLEEP 1
415
416 /* Define if you have nanosleep() */
417 #define HAVE_NANOSLEEP 0
418
419 /* Define if you have vfork() */
420 #define HAVE_VFORK 1
421
422 /* Define if you have uname() */
423 #define HAVE_UNAME 1
424
425 /* Define if you have gethostname() */
426 /* #undef HAVE_GETHOSTNAME */
427
428 /* Define if you have sched_yield */
429 #define HAVE_SCHED_YIELD 1
430
431 /* Define if you have pthread_cancel */
432 #define HAVE_PTHREAD_CANCEL 1
433
434 /* Define if you have all functions to set thread priority */
435 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
436
437 /* Define if your system has its own `getloadavg' function. */
438 /* #undef HAVE_GETLOADAVG */
439
440 /* Define if you have the getmntent function. */
441 /* #undef HAVE_GETMNTENT */
442
443 /* Define if the `long double' type works. */
444 #define HAVE_LONG_DOUBLE 1
445
446 /* Define if you support file names longer than 14 characters. */
447 #define HAVE_LONG_FILE_NAMES 1
448
449 /* Define if you have a working `mmap' system call. */
450 /* #undef HAVE_MMAP */
451
452 /* Define if system calls automatically restart after interruption
453 by a signal. */
454 /* #undef HAVE_RESTARTABLE_SYSCALLS */
455
456 /* Define if your struct stat has st_blksize. */
457 #define HAVE_ST_BLKSIZE 1
458
459 /* Define if your struct stat has st_blocks. */
460 #define HAVE_ST_BLOCKS 1
461
462 /* Define if you have the strcoll function and it is properly defined. */
463 /* #undef HAVE_STRCOLL */
464
465 /* Define if your struct stat has st_rdev. */
466 #define HAVE_ST_RDEV 1
467
468 /* Define if you have the strftime function. */
469 /* #undef HAVE_STRFTIME */
470
471 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
472 #define HAVE_SYS_WAIT_H 1
473
474 /* Define if your struct tm has tm_zone. */
475 #define HAVE_TM_ZONE 1
476
477 /* Define if you don't have tm_zone but do have the external array
478 tzname. */
479 /* #undef HAVE_TZNAME */
480
481 /* Define if you have <unistd.h>. */
482 #define HAVE_UNISTD_H 1
483
484 /* Define if you have <fnmatch.h>. */
485 #define HAVE_FNMATCH_H 1
486
487 /* Define if utime(file, NULL) sets file's timestamp to the present. */
488 /* #undef HAVE_UTIME_NULL */
489
490 /* Define if you have <vfork.h>. */
491 /* #undef HAVE_VFORK_H */
492
493 /* Define if you have the vprintf function. */
494 #define HAVE_VPRINTF 1
495
496 /* Define if you have the wait3 system call. */
497 /* #undef HAVE_WAIT3 */
498
499 /* Define as __inline if that's what the C compiler calls it. */
500 #ifndef __cplusplus
501 /* #undef inline */
502 #endif
503
504 /* Define if major, minor, and makedev are declared in <mkdev.h>. */
505 /* #undef MAJOR_IN_MKDEV */
506
507 /* Define if major, minor, and makedev are declared in <sysmacros.h>. */
508 /* #undef MAJOR_IN_SYSMACROS */
509
510 /* Define if on MINIX. */
511 /* #undef _MINIX */
512
513 /* Define to `int' if <sys/types.h> doesn't define. */
514 /* #undef mode_t */
515
516 /* Define if you don't have <dirent.h>, but have <ndir.h>. */
517 /* #undef NDIR */
518
519 /* Define if you have <memory.h>, and <string.h> doesn't declare the
520 mem* functions. */
521 /* #undef NEED_MEMORY_H */
522
523 /* Define if your struct nlist has an n_un member. */
524 /* #undef NLIST_NAME_UNION */
525
526 /* Define if you have <nlist.h>. */
527 /* #undef NLIST_STRUCT */
528
529 /* Define if your C compiler doesn't accept -c and -o together. */
530 /* #undef NO_MINUS_C_MINUS_O */
531
532 /* Define to `long' if <sys/types.h> doesn't define. */
533 /* #undef off_t */
534
535 /* Define to `int' if <sys/types.h> doesn't define. */
536 /* #undef pid_t */
537
538 /* Define if the system does not provide POSIX.1 features except
539 with this defined. */
540 /* #undef _POSIX_1_SOURCE */
541
542 /* Define if you need to in order for stat and other things to work. */
543 /* #undef _POSIX_SOURCE */
544
545 /* Define as the return type of signal handlers (int or void). */
546 #define RETSIGTYPE void
547
548 /* Define if the setvbuf function takes the buffering type as its second
549 argument and the buffer pointer as the third, as on System V
550 before release 3. */
551 /* #undef SETVBUF_REVERSED */
552
553 /* Define SIZESOF for some Objects */
554 #define SIZEOF_INT 4
555 #define SIZEOF_INT_P 4
556 #define SIZEOF_LONG 4
557 #define SIZEOF_LONG_LONG 8
558
559 /* Define to `unsigned' if <sys/types.h> doesn't define. */
560 /* #undef size_t */
561
562 /* If using the C implementation of alloca, define if you know the
563 direction of stack growth for your system; otherwise it will be
564 automatically deduced at run-time.
565 STACK_DIRECTION > 0 => grows toward higher addresses
566 STACK_DIRECTION < 0 => grows toward lower addresses
567 STACK_DIRECTION = 0 => direction of growth unknown
568 */
569 /* #undef STACK_DIRECTION */
570
571 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
572 /* #undef STAT_MACROS_BROKEN */
573
574 /* Define if you have the ANSI C header files. */
575 #define STDC_HEADERS 1
576
577 /* Define on System V Release 4. */
578 /* #undef SVR4 */
579
580 /* Define on BSD */
581 /* #undef BSD */
582
583 /* Define on System V */
584 /* #undef SYSV */
585
586 /* Define if you don't have <dirent.h>, but have <sys/dir.h>. */
587 /* #undef SYSDIR */
588
589 /* Define if you don't have <dirent.h>, but have <sys/ndir.h>. */
590 /* #undef SYSNDIR */
591
592 /* Define if `sys_siglist' is declared by <signal.h>. */
593 /* #undef SYS_SIGLIST_DECLARED */
594
595 /* Define if you can safely include both <sys/time.h> and <time.h>. */
596 #define TIME_WITH_SYS_TIME 1
597
598 /* Define if your <sys/time.h> declares struct tm. */
599 /* #undef TM_IN_SYS_TIME */
600
601 /* Define to `int' if <sys/types.h> doesn't define. */
602 /* #undef uid_t */
603
604 /* Define for Encore UMAX. */
605 /* #undef UMAX */
606
607 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
608 instead of <sys/cpustats.h>. */
609 /* #undef UMAX4_3 */
610
611 /* Define if you do not have <strings.h>, index, bzero, etc.. */
612 /* #undef USG */
613
614 /* Define if the system is System V Release 4 */
615 /* #undef SVR4 */
616
617 /* Define vfork as fork if vfork does not work. */
618 /* #undef vfork */
619
620 /* Define if the closedir function returns void instead of int. */
621 /* #undef VOID_CLOSEDIR */
622
623 /* Define if your processor stores words with the most significant
624 byte first (like Motorola and SPARC, unlike Intel and VAX). */
625 /* #undef WORDS_BIGENDIAN */
626
627 /* Define if lex declares yytext as a char * by default, not a char[]. */
628 #define YYTEXT_POINTER 1
629
630 #endif /* __GTKSETUPH__ */
631
632 \f
633 /* Leave that blank line there!! Autoheader needs it.
634 If you're adding to this file, keep in mind:
635 The entries are in sort -df order: alphabetical, case insensitive,
636 ignoring punctuation (such as underscores). */