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