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