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