Merge in from trunk r68684 - r69046
[wxWidgets.git] / setup.h.in
1 /* This define (__WX_SETUP_H__) is used both to ensure setup.h is included
2 * only once and to indicate that we are building using configure. */
3 #ifndef __WX_SETUP_H__
4 #define __WX_SETUP_H__
5
6 /* never undefine inline or const keywords for C++ compilation */
7 #ifndef __cplusplus
8
9 /* Define to empty if the keyword does not work. */
10 #undef const
11
12 /* Define as __inline if that's what the C compiler calls it. */
13 #undef inline
14
15 #endif /* __cplusplus */
16
17 /* fill in with the string wxGetOsDescription() will return */
18 #undef WXWIN_OS_DESCRIPTION
19
20 /* the installation location prefix from configure */
21 #undef wxINSTALL_PREFIX
22
23 /* Define to `int' if <sys/types.h> doesn't define. */
24 #undef gid_t
25
26 /* Define to `int' if <sys/types.h> doesn't define. */
27 #undef mode_t
28
29 /* Define to `long' if <sys/types.h> doesn't define. */
30 #undef off_t
31
32 /* Define to `int' if <sys/types.h> doesn't define. */
33 #undef pid_t
34
35 /* Define to `unsigned' if <sys/types.h> doesn't define. */
36 #undef size_t
37
38 /* Define if ssize_t type is available. */
39 #undef HAVE_SSIZE_T
40
41 /* Define if you have the ANSI C header files. */
42 #undef STDC_HEADERS
43
44 /* Define this to get extra features from GNU libc. */
45 #ifndef _GNU_SOURCE
46 #undef _GNU_SOURCE
47 #endif
48
49 /* Define to `int' if <sys/types.h> doesn't define. */
50 #undef uid_t
51
52 /* Define if your processor stores words with the most significant
53 byte first (like Motorola and SPARC, unlike Intel and VAX). */
54 #undef WORDS_BIGENDIAN
55
56 /* Define this if your version of GTK+ is greater than 1.2.7 */
57 #undef __WXGTK127__
58
59 /* Define this if your version of GTK+ is greater than 2.0 */
60 #undef __WXGTK20__
61
62 /* Define this if your version of GTK+ is greater than 2.6 */
63 #undef __WXGTK26__
64
65 /* Define this if your version of GTK+ is greater than 2.10 */
66 #undef __WXGTK210__
67
68 /* Define this if your version of GTK+ is greater than 2.18 */
69 #undef __WXGTK218__
70
71 /* Define this if you want to use GPE features */
72 #undef __WXGPE__
73
74 /* Define this if your version of Motif is greater than 2.0 */
75 #undef __WXMOTIF20__
76
77 /* Define this if you are using Lesstif */
78 #undef __WXLESSTIF__
79
80 /*
81 * Define to 1 for Unix[-like] system
82 */
83 #define wxUSE_UNIX 0
84
85 #undef __UNIX__
86
87 #undef __AIX__
88 #undef __BSD__
89 #undef __DARWIN__
90 #undef __EMX__
91 #undef __FREEBSD__
92 #undef __HPUX__
93 #undef __LINUX__
94 #undef __NETBSD__
95 #undef __OPENBSD__
96 #undef __OSF__
97 #undef __QNX__
98 #undef __SGI__
99 #undef __SOLARIS__
100 #undef __SUN__
101 #undef __SUNOS__
102 #undef __SVR4__
103 #undef __SYSV__
104 #undef __ULTRIX__
105 #undef __UNIXWARE__
106 #undef __VMS__
107
108 #undef __IA64__
109 #undef __ALPHA__
110
111 /* NanoX (with wxX11) */
112 #define wxUSE_NANOX 0
113
114 /* PowerPC Darwin & Mac OS X */
115 #undef __POWERPC__
116 #undef TARGET_CARBON
117
118 /* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
119 #undef __Point__
120
121 /* MS-DOS with DJGPP */
122 #undef __DOS__
123
124 /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
125 #ifndef __WINDOWS__
126 #undef __WINDOWS__
127 #endif
128
129 #ifndef __WIN32__
130 #undef __WIN32__
131 #endif
132 #ifndef __GNUWIN32__
133 #undef __GNUWIN32__
134 #endif
135 #ifndef STRICT
136 #undef STRICT
137 #endif
138 #ifndef WINVER
139 #undef WINVER
140 #endif
141
142 /* OS/2 with EMX */
143 #undef __OS2__
144
145 /* --- start common options --- */
146
147 #ifndef wxUSE_GUI
148 #define wxUSE_GUI 0
149 #endif
150
151
152 #define WXWIN_COMPATIBILITY_2_6 0
153
154 #define WXWIN_COMPATIBILITY_2_8 0
155
156 #define wxDIALOG_UNIT_COMPATIBILITY 0
157
158
159
160 #define wxUSE_ON_FATAL_EXCEPTION 0
161
162 #define wxUSE_STACKWALKER 0
163
164 #define wxUSE_DEBUGREPORT 0
165
166
167
168 #define wxUSE_DEBUG_CONTEXT 0
169
170 #define wxUSE_MEMORY_TRACING 0
171
172 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
173
174 #define wxUSE_DEBUG_NEW_ALWAYS 0
175
176
177
178 #ifndef wxUSE_UNICODE
179 #define wxUSE_UNICODE 0
180 #endif
181
182 #define wxUSE_WCHAR_T 0
183
184
185 #define wxUSE_EXCEPTIONS 0
186
187 #define wxUSE_EXTENDED_RTTI 0
188
189 #define wxUSE_LOG 0
190
191 #define wxUSE_LOGWINDOW 0
192
193 #define wxUSE_LOGGUI 0
194
195 #define wxUSE_LOG_DIALOG 0
196
197 #define wxUSE_CMDLINE_PARSER 0
198
199 #define wxUSE_THREADS 0
200
201 #define wxUSE_STREAMS 0
202
203 #define wxUSE_PRINTF_POS_PARAMS 0
204
205
206
207 #define wxUSE_STL 0
208
209 #if defined(__DMC__) || defined(__WATCOMC__) \
210 || (defined(_MSC_VER) && _MSC_VER < 1200)
211 #define wxUSE_STD_DEFAULT 0
212 #else
213 #define wxUSE_STD_DEFAULT 0
214 #endif
215
216 #define wxUSE_STD_CONTAINERS 0
217
218 #define wxUSE_STD_IOSTREAM wxUSE_STD_DEFAULT
219
220 #define wxUSE_STD_STRING wxUSE_STD_DEFAULT
221
222 #define wxUSE_STD_STRING_CONV_IN_WXSTRING wxUSE_STL
223
224 #define wxUSE_IOSTREAMH 0
225
226
227
228 #define wxUSE_LONGLONG 0
229
230 #define wxUSE_BASE64 0
231
232 #define wxUSE_CONSOLE_EVENTLOOP 0
233
234 #define wxUSE_FILE 0
235 #define wxUSE_FFILE 0
236
237 #define wxUSE_FSVOLUME 0
238
239 #define wxUSE_STDPATHS 0
240
241 #define wxUSE_TEXTBUFFER 0
242
243 #define wxUSE_TEXTFILE 0
244
245 #define wxUSE_INTL 0
246
247 #define wxUSE_XLOCALE 0
248
249 #define wxUSE_DATETIME 0
250
251 #define wxUSE_TIMER 0
252
253 #define wxUSE_STOPWATCH 0
254
255 #define wxUSE_FSWATCHER 0
256
257 #define wxUSE_CONFIG 0
258
259 #define wxUSE_CONFIG_NATIVE 0
260
261 #define wxUSE_DIALUP_MANAGER 0
262
263 #define wxUSE_DYNLIB_CLASS 0
264
265 #define wxUSE_DYNAMIC_LOADER 0
266
267 #define wxUSE_SOCKETS 0
268
269 #define wxUSE_IPV6 0
270
271 #define wxUSE_FILESYSTEM 0
272
273 #define wxUSE_FS_ZIP 0
274
275 #define wxUSE_FS_ARCHIVE 0
276
277 #define wxUSE_FS_INET 0
278
279 #define wxUSE_ARCHIVE_STREAMS 0
280
281 #define wxUSE_ZIPSTREAM 0
282
283 #define wxUSE_TARSTREAM 0
284
285 #define wxUSE_ZLIB 0
286
287 #define wxUSE_APPLE_IEEE 0
288
289 #define wxUSE_JOYSTICK 0
290
291 #define wxUSE_FONTENUM 0
292
293 #define wxUSE_FONTMAP 0
294
295 #define wxUSE_MIMETYPE 0
296
297 #define wxUSE_PROTOCOL 0
298
299 #define wxUSE_PROTOCOL_FILE 0
300 #define wxUSE_PROTOCOL_FTP 0
301 #define wxUSE_PROTOCOL_HTTP 0
302
303 #define wxUSE_URL 0
304
305 #define wxUSE_URL_NATIVE 0
306
307 #define wxUSE_VARIANT 0
308
309 #define wxUSE_ANY 0
310
311 #define wxUSE_REGEX 0
312
313 #define wxUSE_SYSTEM_OPTIONS 0
314
315 #define wxUSE_SOUND 0
316
317 #define wxUSE_MEDIACTRL 0
318
319 #define wxUSE_XRC 0
320
321 #define wxUSE_XML wxUSE_XRC
322
323 #define wxUSE_AUI 0
324
325 #define wxUSE_RIBBON 0
326
327 #define wxUSE_PROPGRID 0
328
329 #define wxUSE_STC 0
330
331 #define wxUSE_WEBVIEW 0
332
333 #define wxUSE_WEBVIEW_WEBKIT 0
334
335 #define wxUSE_WEBVIEW_IE 0
336
337
338
339 #ifdef _MSC_VER
340 # if _MSC_VER >= 1310
341
342
343 #define wxUSE_GRAPHICS_CONTEXT 0
344 # else
345
346
347 # define wxUSE_GRAPHICS_CONTEXT 0
348 # endif
349 #else
350
351
352
353
354
355 # define wxUSE_GRAPHICS_CONTEXT 0
356 #endif
357
358 #define wxUSE_CAIRO 0
359
360
361
362 #define wxUSE_CONTROLS 0
363
364 #define wxUSE_MARKUP 0
365
366 #define wxUSE_POPUPWIN 0
367
368 #define wxUSE_TIPWINDOW 0
369
370 #define wxUSE_ANIMATIONCTRL 0
371 #define wxUSE_BANNERWINDOW 0
372 #define wxUSE_BUTTON 0
373 #define wxUSE_BMPBUTTON 0
374 #define wxUSE_CALENDARCTRL 0
375 #define wxUSE_CHECKBOX 0
376 #define wxUSE_CHECKLISTBOX 0
377 #define wxUSE_CHOICE 0
378 #define wxUSE_COLLPANE 0
379 #define wxUSE_COLOURPICKERCTRL 0
380 #define wxUSE_COMBOBOX 0
381 #define wxUSE_COMMANDLINKBUTTON 0
382 #define wxUSE_DATAVIEWCTRL 0
383 #define wxUSE_DATEPICKCTRL 0
384 #define wxUSE_DIRPICKERCTRL 0
385 #define wxUSE_EDITABLELISTBOX 0
386 #define wxUSE_FILECTRL 0
387 #define wxUSE_FILEPICKERCTRL 0
388 #define wxUSE_FONTPICKERCTRL 0
389 #define wxUSE_GAUGE 0
390 #define wxUSE_HEADERCTRL 0
391 #define wxUSE_HYPERLINKCTRL 0
392 #define wxUSE_LISTBOX 0
393 #define wxUSE_LISTCTRL 0
394 #define wxUSE_RADIOBOX 0
395 #define wxUSE_RADIOBTN 0
396 #define wxUSE_RICHMSGDLG 0
397 #define wxUSE_SCROLLBAR 0
398 #define wxUSE_SEARCHCTRL 0
399 #define wxUSE_SLIDER 0
400 #define wxUSE_SPINBTN 0
401 #define wxUSE_SPINCTRL 0
402 #define wxUSE_STATBOX 0
403 #define wxUSE_STATLINE 0
404 #define wxUSE_STATTEXT 0
405 #define wxUSE_STATBMP 0
406 #define wxUSE_TEXTCTRL 0
407 #define wxUSE_TOGGLEBTN 0
408 #define wxUSE_TREECTRL 0
409 #define wxUSE_TREELISTCTRL 0
410
411 #define wxUSE_STATUSBAR 0
412
413 #define wxUSE_NATIVE_STATUSBAR 0
414
415 #define wxUSE_TOOLBAR 0
416 #define wxUSE_TOOLBAR_NATIVE 0
417
418 #define wxUSE_NOTEBOOK 0
419
420 #define wxUSE_LISTBOOK 0
421
422 #define wxUSE_CHOICEBOOK 0
423
424 #define wxUSE_TREEBOOK 0
425
426 #define wxUSE_TOOLBOOK 0
427
428 #define wxUSE_TASKBARICON 0
429
430 #define wxUSE_GRID 0
431
432 #define wxUSE_MINIFRAME 0
433
434 #define wxUSE_COMBOCTRL 0
435
436 #define wxUSE_ODCOMBOBOX 0
437
438 #define wxUSE_BITMAPCOMBOBOX 0
439
440 #define wxUSE_REARRANGECTRL 0
441
442
443 #define wxUSE_ACCEL 0
444
445 #define wxUSE_ARTPROVIDER_STD 0
446
447 #define wxUSE_ARTPROVIDER_TANGO 0
448
449 #define wxUSE_HOTKEY 0
450
451 #define wxUSE_CARET 0
452
453 #define wxUSE_DISPLAY 0
454
455 #define wxUSE_GEOMETRY 0
456
457 #define wxUSE_IMAGLIST 0
458
459 #define wxUSE_INFOBAR 0
460
461 #define wxUSE_MENUS 0
462
463 #define wxUSE_NOTIFICATION_MESSAGE 0
464
465 #define wxUSE_SASH 0
466
467 #define wxUSE_SPLITTER 0
468
469 #define wxUSE_TOOLTIPS 0
470
471 #define wxUSE_VALIDATORS 0
472
473 #ifdef __WXMSW__
474 #define wxUSE_AUTOID_MANAGEMENT 0
475 #else
476 #define wxUSE_AUTOID_MANAGEMENT 0
477 #endif
478
479
480 #define wxUSE_COMMON_DIALOGS 0
481
482 #define wxUSE_BUSYINFO 0
483
484 #define wxUSE_CHOICEDLG 0
485
486 #define wxUSE_COLOURDLG 0
487
488 #define wxUSE_DIRDLG 0
489
490
491 #define wxUSE_FILEDLG 0
492
493 #define wxUSE_FINDREPLDLG 0
494
495 #define wxUSE_FONTDLG 0
496
497 #define wxUSE_MSGDLG 0
498
499 #define wxUSE_PROGRESSDLG 0
500
501 #define wxUSE_STARTUP_TIPS 0
502
503 #define wxUSE_TEXTDLG 0
504
505 #define wxUSE_NUMBERDLG 0
506
507 #define wxUSE_SPLASH 0
508
509 #define wxUSE_WIZARDDLG 0
510
511 #define wxUSE_ABOUTDLG 0
512
513 #define wxUSE_FILE_HISTORY 0
514
515
516 #define wxUSE_METAFILE 0
517 #define wxUSE_ENH_METAFILE 0
518 #define wxUSE_WIN_METAFILES_ALWAYS 0
519
520
521 #define wxUSE_MDI 0
522
523 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
524
525 #define wxUSE_MDI_ARCHITECTURE 0
526
527 #define wxUSE_PRINTING_ARCHITECTURE 0
528
529 #define wxUSE_HTML 0
530
531 #define wxUSE_GLCANVAS 0
532
533 #define wxUSE_RICHTEXT 0
534
535
536 #define wxUSE_CLIPBOARD 0
537
538 #define wxUSE_DATAOBJ 0
539
540 #define wxUSE_DRAG_AND_DROP 0
541
542 #define wxUSE_ACCESSIBILITY 0
543
544
545 #define wxUSE_SNGLINST_CHECKER 0
546
547 #define wxUSE_DRAGIMAGE 0
548
549 #define wxUSE_IPC 0
550
551 #define wxUSE_HELP 0
552
553
554 #define wxUSE_MS_HTML_HELP 0
555
556
557 #define wxUSE_WXHTML_HELP 0
558
559 #define wxUSE_CONSTRAINTS 0
560
561
562 #define wxUSE_SPLINES 0
563
564
565 #define wxUSE_MOUSEWHEEL 0
566
567
568 #define wxUSE_UIACTIONSIMULATOR 0
569
570
571 #define wxUSE_POSTSCRIPT 0
572
573 #define wxUSE_AFM_FOR_POSTSCRIPT 0
574
575 #define wxUSE_SVG 0
576
577 #define wxUSE_DC_TRANSFORM_MATRIX 0
578
579
580
581 #define wxUSE_IMAGE 0
582
583 #define wxUSE_LIBPNG 0
584
585 #define wxUSE_LIBJPEG 0
586
587 #define wxUSE_LIBTIFF 0
588
589 #define wxUSE_TGA 0
590
591 #define wxUSE_GIF 0
592
593 #define wxUSE_PNM 0
594
595 #define wxUSE_PCX 0
596
597 #define wxUSE_IFF 0
598
599 #define wxUSE_XPM 0
600
601 #define wxUSE_ICO_CUR 0
602
603 #define wxUSE_PALETTE 0
604
605
606 #define wxUSE_ALL_THEMES 0
607
608 #define wxUSE_THEME_GTK 0
609 #define wxUSE_THEME_METAL 0
610 #define wxUSE_THEME_MONO 0
611 #define wxUSE_THEME_WIN32 0
612
613
614 /* --- end common options --- */
615
616 /*
617 * Unix-specific options
618 */
619 #define wxUSE_SELECT_DISPATCHER 0
620 #define wxUSE_EPOLL_DISPATCHER 0
621
622 #define wxUSE_UNICODE_UTF8 0
623 #define wxUSE_UTF8_LOCALE_ONLY 0
624
625 /*
626 Use GStreamer for Unix.
627
628 Default is 0 as this requires a lot of dependencies which might not be
629 available.
630
631 Recommended setting: 1 (wxMediaCtrl won't work by default without it).
632 */
633 #define wxUSE_GSTREAMER 0
634
635 /* --- start MSW options --- */
636
637 #ifndef wxUSE_UNICODE_MSLU
638 #define wxUSE_UNICODE_MSLU 0
639 #endif
640
641 #define wxUSE_MFC 0
642
643 #define wxUSE_OLE 0
644
645 #define wxUSE_OLE_AUTOMATION 0
646
647 #define wxUSE_ACTIVEX 0
648
649 #define wxUSE_DC_CACHEING 0
650
651 #define wxUSE_WXDIB 0
652
653 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
654
655 #define wxUSE_REGKEY 0
656
657 #define wxUSE_RICHEDIT 0
658
659 #define wxUSE_RICHEDIT2 0
660
661 #define wxUSE_OWNER_DRAWN 0
662
663 #define wxUSE_TASKBARICON_BALLOONS 0
664
665 #define wxUSE_UXTHEME 0
666
667 #define wxUSE_INKEDIT 0
668
669 #define wxUSE_INICONF 0
670
671
672 #define wxUSE_DATEPICKCTRL_GENERIC 0
673
674
675 #define wxUSE_CRASHREPORT 0
676 /* --- end MSW options --- */
677
678 /*
679 * Define if your compiler supports the explicit keyword
680 */
681 #undef HAVE_EXPLICIT
682
683 /*
684 * Define if your compiler has C99 va_copy
685 */
686 #undef HAVE_VA_COPY
687
688 /*
689 * Define if va_list type is an array
690 */
691 #undef VA_LIST_IS_ARRAY
692
693 /*
694 * Define if the compiler supports variadic macros
695 */
696 #undef HAVE_VARIADIC_MACROS
697
698 /*
699 * Define if your compiler has std::wstring
700 */
701 #undef HAVE_STD_WSTRING
702 /*
703 * Define if your compiler has compliant std::string::compare
704 */
705 #undef HAVE_STD_STRING_COMPARE
706 /*
707 * Define if your compiler has <hash_map>
708 */
709 #undef HAVE_HASH_MAP
710 /*
711 * Define if your compiler has <ext/hash_map>
712 */
713 #undef HAVE_EXT_HASH_MAP
714 /*
715 * Define if your compiler has std::hash_map/hash_set
716 */
717 #undef HAVE_STD_HASH_MAP
718 /*
719 * Define if your compiler has __gnu_cxx::hash_map/hash_set
720 */
721 #undef HAVE_GNU_CXX_HASH_MAP
722
723 /*
724 * Define if your compiler has std::unordered_map
725 */
726 #undef HAVE_STD_UNORDERED_MAP
727
728 /*
729 * Define if your compiler has std::unordered_set
730 */
731 #undef HAVE_STD_UNORDERED_SET
732
733 /*
734 * Define if your compiler has std::tr1::unordered_map
735 */
736 #undef HAVE_TR1_UNORDERED_MAP
737
738 /*
739 * Define if your compiler has std::tr1::unordered_set
740 */
741 #undef HAVE_TR1_UNORDERED_SET
742
743 /*
744 * Define if your compiler has <tr1/type_traits>
745 */
746 #undef HAVE_TR1_TYPE_TRAITS
747
748 /*
749 * Define if your compiler has <type_traits>
750 */
751 #undef HAVE_TYPE_TRAITS
752
753 /*
754 * Define if the compiler supports simple visibility declarations.
755 */
756 #undef HAVE_VISIBILITY
757
758 /*
759 * Define if the compiler supports GCC's atomic memory access builtins
760 */
761 #undef HAVE_GCC_ATOMIC_BUILTINS
762
763 /*
764 * Define if compiler's visibility support in libstdc++ is broken
765 */
766 #undef HAVE_BROKEN_LIBSTDCXX_VISIBILITY
767
768 /*
769 * The built-in regex supports advanced REs in additional to POSIX's basic
770 * and extended. Your system regex probably won't support this, and in this
771 * case WX_NO_REGEX_ADVANCED should be defined.
772 */
773 #undef WX_NO_REGEX_ADVANCED
774 /*
775 * On GNU systems use re_search instead of regexec, since the latter does a
776 * strlen on the search text affecting the performance of some operations.
777 */
778 #undef HAVE_RE_SEARCH
779 /*
780 * Use SDL for audio (Unix)
781 */
782 #define wxUSE_LIBSDL 0
783
784 /*
785 * Compile sound backends as plugins
786 */
787 #define wxUSE_PLUGINS 0
788
789 /*
790 * Use GTK print for printing under GTK+ 2.0
791 */
792 #define wxUSE_GTKPRINT 0
793 /*
794 * Use GNOME print for printing under GTK+ 2.0
795 */
796 #define wxUSE_LIBGNOMEPRINT 0
797 /*
798 * Use GNOME VFS for MIME types
799 */
800 #define wxUSE_LIBGNOMEVFS 0
801 /*
802 * Use the Hildon framework
803 */
804 #define wxUSE_LIBHILDON 0
805 /*
806 * Use the Hildon 2.0 framework
807 */
808 #define wxUSE_LIBHILDON2 0
809 /*
810 * Have glibc2
811 */
812 #define wxHAVE_GLIBC2 0
813 /*
814 * Use libXpm
815 */
816 #define wxHAVE_LIB_XPM 0
817 /*
818 * Define if you have pthread_cleanup_push/pop()
819 */
820 #undef wxHAVE_PTHREAD_CLEANUP
821 /*
822 * Define if compiler has __thread keyword.
823 */
824 #undef HAVE___THREAD_KEYWORD
825 /*
826 * Define if large (64 bit file offsets) files are supported.
827 */
828 #undef HAVE_LARGEFILE_SUPPORT
829
830 /*
831 * Use OpenGL
832 */
833 #define wxUSE_OPENGL 0
834
835 /*
836 * Use MS HTML Help via libmspack (Unix)
837 */
838 #define wxUSE_LIBMSPACK 0
839
840 /*
841 * Matthews garbage collection (used for MrEd?)
842 */
843 #define WXGARBAGE_COLLECTION_ON 0
844
845 /*
846 * wxWebKitCtrl
847 */
848 #define wxUSE_WEBKIT 0
849
850 /*
851 * Objective-C class name uniquifying
852 */
853 #define wxUSE_OBJC_UNIQUIFYING 0
854
855 /*
856 * The const keyword is being introduced more in wxWindows.
857 * You can use this setting to maintain backward compatibility.
858 * If 0: will use const wherever possible.
859 * If 1: will use const only where necessary
860 * for precompiled headers to work.
861 * If 2: will be totally backward compatible, but precompiled
862 * headers may not work and program size will be larger.
863 */
864 #define CONST_COMPATIBILITY 0
865
866 /*
867 * use the session manager to detect KDE/GNOME
868 */
869 #define wxUSE_DETECT_SM 0
870
871
872 /* define with the name of timezone variable */
873 #undef WX_TIMEZONE
874
875 /* The type of 3rd argument to getsockname() - usually size_t or int */
876 #undef WX_SOCKLEN_T
877
878 /* The type of 5th argument to getsockopt() - usually size_t or int */
879 #undef SOCKOPTLEN_T
880
881 /* The type of statvfs(2) argument */
882 #undef WX_STATFS_T
883
884 /* The signal handler prototype */
885 #undef wxTYPE_SA_HANDLER
886
887 /* gettimeofday() usually takes 2 arguments, but some really old systems might
888 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
889 #undef WX_GETTIMEOFDAY_NO_TZ
890
891 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
892 #undef WX_GMTOFF_IN_TM
893
894 /* Define if you have poll(2) function */
895 #undef HAVE_POLL
896
897 /* Define if you have pw_gecos field in struct passwd */
898 #undef HAVE_PW_GECOS
899
900 /* Define if you have __cxa_demangle() in <cxxabi.h> */
901 #undef HAVE_CXA_DEMANGLE
902
903 /* Define if you have dlopen() */
904 #undef HAVE_DLOPEN
905
906 /* Define if you have gettimeofday() */
907 #undef HAVE_GETTIMEOFDAY
908
909 /* Define if fsync() is available */
910 #undef HAVE_FSYNC
911
912 /* Define if round() is available */
913 #undef HAVE_ROUND
914
915 /* Define if you have ftime() */
916 #undef HAVE_FTIME
917
918 /* Define if you have nanosleep() */
919 #undef HAVE_NANOSLEEP
920
921 /* Define if you have sched_yield */
922 #undef HAVE_SCHED_YIELD
923
924 /* Define if you have pthread_mutexattr_t and functions to work with it */
925 #undef HAVE_PTHREAD_MUTEXATTR_T
926
927 /* Define if you have pthread_mutexattr_settype() declaration */
928 #undef HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL
929
930 /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
931 #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
932
933 /* Define if you have pthread_cancel */
934 #undef HAVE_PTHREAD_CANCEL
935
936 /* Define if you have pthread_mutex_timedlock */
937 #undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
938
939 /* Define if you have pthread_attr_setstacksize */
940 #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
941
942 /* Define if you have shl_load() */
943 #undef HAVE_SHL_LOAD
944
945 /* Define if you have snprintf() */
946 #undef HAVE_SNPRINTF
947
948 /* Define if you have snprintf() declaration in the header */
949 #undef HAVE_SNPRINTF_DECL
950
951 /* Define if you have a snprintf() which supports positional arguments
952 (defined in the unix98 standard) */
953 #undef HAVE_UNIX98_PRINTF
954
955 /* define if you have statfs function */
956 #undef HAVE_STATFS
957
958 /* define if you have statfs prototype */
959 #undef HAVE_STATFS_DECL
960
961 /* define if you have statvfs function */
962 #undef HAVE_STATVFS
963
964 /* Define if you have strtoull() and strtoll() */
965 #undef HAVE_STRTOULL
966
967 /* Define if you have all functions to set thread priority */
968 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
969
970 /* Define if you have vsnprintf() */
971 #undef HAVE_VSNPRINTF
972
973 /* Define if you have vsnprintf() declaration in the header */
974 #undef HAVE_VSNPRINTF_DECL
975
976 /* Define if you have a _broken_ vsnprintf() declaration in the header,
977 * with 'char*' for the 3rd parameter instead of 'const char*' */
978 #undef HAVE_BROKEN_VSNPRINTF_DECL
979
980 /* Define if you have vsscanf() */
981 #undef HAVE_VSSCANF
982
983 /* Define if you have vsscanf() declaration in the header */
984 #undef HAVE_VSSCANF_DECL
985
986 /* Define if you have usleep() */
987 #undef HAVE_USLEEP
988
989 /* Define if you have wcscasecmp() function */
990 #undef HAVE_WCSCASECMP
991
992 /* Define if you have wcsncasecmp() function */
993 #undef HAVE_WCSNCASECMP
994
995 /* Define if you have wcslen function */
996 #undef HAVE_WCSLEN
997
998 /* Define if you have wcsdup function */
999 #undef HAVE_WCSDUP
1000
1001 /* Define if you have wcsftime() function */
1002 #undef HAVE_WCSFTIME
1003
1004 /* Define if you have strnlen() function */
1005 #undef HAVE_STRNLEN
1006
1007 /* Define if you have wcsnlen() function */
1008 #undef HAVE_WCSNLEN
1009
1010 /* Define if you have wcstoull() and wcstoll() */
1011 #undef HAVE_WCSTOULL
1012
1013 /* The number of bytes in a wchar_t. */
1014 #undef SIZEOF_WCHAR_T
1015
1016 /* The number of bytes in a int. */
1017 #undef SIZEOF_INT
1018
1019 /* The number of bytes in a pointer. */
1020 #undef SIZEOF_VOID_P
1021
1022 /* The number of bytes in a long. */
1023 #undef SIZEOF_LONG
1024
1025 /* The number of bytes in a long long. */
1026 #undef SIZEOF_LONG_LONG
1027
1028 /* The number of bytes in a short. */
1029 #undef SIZEOF_SHORT
1030
1031 /* The number of bytes in a size_t. */
1032 #undef SIZEOF_SIZE_T
1033
1034 /* Define if size_t on your machine is the same type as unsigned int. */
1035 #undef wxSIZE_T_IS_UINT
1036
1037 /* Define if size_t on your machine is the same type as unsigned long. */
1038 #undef wxSIZE_T_IS_ULONG
1039
1040 /* Define if wchar_t is distinct type in your compiler. */
1041 #undef wxWCHAR_T_IS_REAL_TYPE
1042
1043 /* Define if you have the dlerror function. */
1044 #undef HAVE_DLERROR
1045
1046 /* Define if you have Posix fnctl() function. */
1047 #undef HAVE_FCNTL
1048
1049 /* Define if you have BSD flock() function. */
1050 #undef HAVE_FLOCK
1051
1052 /* Define if you have getaddrinfo function. */
1053 #undef HAVE_GETADDRINFO
1054
1055 /* Define if you have a gethostbyname_r function taking 6 arguments. */
1056 #undef HAVE_FUNC_GETHOSTBYNAME_R_6
1057
1058 /* Define if you have a gethostbyname_r function taking 5 arguments. */
1059 #undef HAVE_FUNC_GETHOSTBYNAME_R_5
1060
1061 /* Define if you have a gethostbyname_r function taking 3 arguments. */
1062 #undef HAVE_FUNC_GETHOSTBYNAME_R_3
1063
1064 /* Define if you only have a gethostbyname function */
1065 #undef HAVE_GETHOSTBYNAME
1066
1067 /* Define if you have the gethostname function. */
1068 #undef HAVE_GETHOSTNAME
1069
1070 /* Define if you have a getservbyname_r function taking 6 arguments. */
1071 #undef HAVE_FUNC_GETSERVBYNAME_R_6
1072
1073 /* Define if you have a getservbyname_r function taking 5 arguments. */
1074 #undef HAVE_FUNC_GETSERVBYNAME_R_5
1075
1076 /* Define if you have a getservbyname_r function taking 4 arguments. */
1077 #undef HAVE_FUNC_GETSERVBYNAME_R_4
1078
1079 /* Define if you only have a getservbyname function */
1080 #undef HAVE_GETSERVBYNAME
1081
1082 /* Define if you have the gmtime_r function. */
1083 #undef HAVE_GMTIME_R
1084
1085 /* Define if you have the inet_addr function. */
1086 #undef HAVE_INET_ADDR
1087
1088 /* Define if you have the inet_aton function. */
1089 #undef HAVE_INET_ATON
1090
1091 /* Define if you have the localtime_r function. */
1092 #undef HAVE_LOCALTIME_R
1093
1094 /* Define if you have the mktemp function. */
1095 #undef HAVE_MKTEMP
1096
1097 /* Define if you have the mkstemp function. */
1098 #undef HAVE_MKSTEMP
1099
1100 /* Define if you have the putenv function. */
1101 #undef HAVE_PUTENV
1102
1103 /* Define if you have the setenv function. */
1104 #undef HAVE_SETENV
1105
1106 /* Define if you have strtok_r function. */
1107 #undef HAVE_STRTOK_R
1108
1109 /* Define if you have thr_setconcurrency function */
1110 #undef HAVE_THR_SETCONCURRENCY
1111
1112 /* Define if you have the uname function. */
1113 #undef HAVE_UNAME
1114
1115 /* Define if you have the unsetenv function. */
1116 #undef HAVE_UNSETENV
1117
1118 /* Define if you have the <X11/XKBlib.h> header file. */
1119 #undef HAVE_X11_XKBLIB_H
1120
1121 /* Define if you have the <X11/extensions/xf86vmode.h> header file. */
1122 #undef HAVE_X11_EXTENSIONS_XF86VMODE_H
1123
1124 /* Define if you have the <sched.h> header file. */
1125 #undef HAVE_SCHED_H
1126
1127 /* Define if you have the <unistd.h> header file. */
1128 #undef HAVE_UNISTD_H
1129
1130 /* Define if you have the <fcntl.h> header file. */
1131 #undef HAVE_FCNTL_H
1132
1133 /* Define if you have the <wchar.h> header file. */
1134 #undef HAVE_WCHAR_H
1135
1136 /* Define if you have the <wcstr.h> header file. */
1137 #undef HAVE_WCSTR_H
1138
1139 /* Define if you have <widec.h> (Solaris only) */
1140 #undef HAVE_WIDEC_H
1141
1142 /* Define if you have the <iconv.h> header file and iconv() symbol. */
1143 #undef HAVE_ICONV
1144
1145 /* Define as "const" if the declaration of iconv() needs const. */
1146 #undef ICONV_CONST
1147
1148 /* Define if you have the <langinfo.h> header file. */
1149 #undef HAVE_LANGINFO_H
1150
1151 /* Define if you have the <w32api.h> header file (mingw,cygwin). */
1152 #undef HAVE_W32API_H
1153
1154 /* Define if you have the <sys/soundcard.h> header file. */
1155 #undef HAVE_SYS_SOUNDCARD_H
1156
1157 /* Define if you have wcsrtombs() function */
1158 #undef HAVE_WCSRTOMBS
1159
1160 /* Define this if you have putws() */
1161 #undef HAVE_PUTWS
1162
1163 /* Define this if you have fputws() */
1164 #undef HAVE_FPUTWS
1165
1166 /* Define this if you have strcasecmp() function in <string.h> */
1167 #undef HAVE_STRCASECMP_IN_STRING_H
1168
1169 /* Define this if you have strcasecmp() function in <strings.h> */
1170 #undef HAVE_STRCASECMP_IN_STRINGS_H
1171
1172 /* Define this if you have wprintf() and related functions */
1173 #undef HAVE_WPRINTF
1174
1175 /* Define this if you have vswprintf() and related functions */
1176 #undef HAVE_VSWPRINTF
1177
1178 /* Define this if you have _vsnwprintf */
1179 #undef HAVE__VSNWPRINTF
1180
1181 /* vswscanf() */
1182 #undef HAVE_VSWSCANF
1183
1184 /* Define if fseeko and ftello are available. */
1185 #undef HAVE_FSEEKO
1186
1187 /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
1188 #undef HAVE_XIM
1189
1190 /* Define this if you have X11/extensions/shape.h */
1191 #undef HAVE_XSHAPE
1192
1193 /* Define this if you have type SPBCDATA */
1194 #undef HAVE_SPBCDATA
1195
1196 /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
1197 #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
1198
1199 /* Define if you have Pango xft support */
1200 #undef HAVE_PANGO_XFT
1201
1202 /* Define if you have the <sys/select.h> header file. */
1203 #undef HAVE_SYS_SELECT_H
1204
1205 /* Define if fdopen is available. */
1206 #undef HAVE_FDOPEN
1207
1208 /* Define if sysconf is available. */
1209 #undef HAVE_SYSCONF
1210
1211 /* Define if getpwuid_r is available. */
1212 #undef HAVE_GETPWUID_R
1213
1214 /* Define if getgrgid_r is available. */
1215 #undef HAVE_GETGRGID_R
1216
1217 /* Define if locale_t is available */
1218 #undef HAVE_LOCALE_T
1219
1220 /* Define if you have inotify_xxx() functions. */
1221 #undef wxHAS_INOTIFY
1222
1223 /* Define if you have kqueu_xxx() functions. */
1224 #undef wxHAS_KQUEUE
1225
1226 /* -------------------------------------------------------------------------
1227 Win32 adjustments section
1228 ------------------------------------------------------------------------- */
1229
1230 #ifdef __WIN32__
1231
1232 /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility
1233 with wx/msw/setup.h */
1234 #define wxUSE_XPM_IN_MSW wxUSE_XPM
1235
1236 /* When using an external jpeg library and the Windows headers already define
1237 * boolean, define to the type used by the jpeg library for boolean. */
1238 #undef wxHACK_BOOLEAN
1239
1240 /* Define if the header pbt.h is missing. */
1241 #undef NEED_PBT_H
1242
1243 #endif /* __WIN32__ */
1244
1245 /* --------------------------------------------------------*
1246 * This stuff is static, it doesn't get modified directly
1247 * by configure.
1248 */
1249
1250 /*
1251 define some constants identifying wxWindows version in more details than
1252 just the version number
1253 */
1254
1255 /* wxLogChain class available */
1256 #define wxHAS_LOG_CHAIN
1257
1258 /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1259 #undef wxHAS_WORKING_GTK_DC_BLIT
1260
1261 #endif /* __WX_SETUP_H__ */
1262