Merge in from trunk r67662 to r64801
[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
335
336 #ifdef _MSC_VER
337 # if _MSC_VER >= 1310
338
339
340 #define wxUSE_GRAPHICS_CONTEXT 0
341 # else
342
343
344 # define wxUSE_GRAPHICS_CONTEXT 0
345 # endif
346 #else
347
348
349
350
351
352 # define wxUSE_GRAPHICS_CONTEXT 0
353 #endif
354
355 #define wxUSE_CAIRO 0
356
357
358
359 #define wxUSE_CONTROLS 0
360
361 #define wxUSE_MARKUP 0
362
363 #define wxUSE_POPUPWIN 0
364
365 #define wxUSE_TIPWINDOW 0
366
367 #define wxUSE_ANIMATIONCTRL 0
368 #define wxUSE_BUTTON 0
369 #define wxUSE_BMPBUTTON 0
370 #define wxUSE_CALENDARCTRL 0
371 #define wxUSE_CHECKBOX 0
372 #define wxUSE_CHECKLISTBOX 0
373 #define wxUSE_CHOICE 0
374 #define wxUSE_COLLPANE 0
375 #define wxUSE_COLOURPICKERCTRL 0
376 #define wxUSE_COMBOBOX 0
377 #define wxUSE_COMMANDLINKBUTTON 0
378 #define wxUSE_DATAVIEWCTRL 0
379 #define wxUSE_DATEPICKCTRL 0
380 #define wxUSE_DIRPICKERCTRL 0
381 #define wxUSE_EDITABLELISTBOX 0
382 #define wxUSE_FILECTRL 0
383 #define wxUSE_FILEPICKERCTRL 0
384 #define wxUSE_FONTPICKERCTRL 0
385 #define wxUSE_GAUGE 0
386 #define wxUSE_HEADERCTRL 0
387 #define wxUSE_HYPERLINKCTRL 0
388 #define wxUSE_LISTBOX 0
389 #define wxUSE_LISTCTRL 0
390 #define wxUSE_RADIOBOX 0
391 #define wxUSE_RADIOBTN 0
392 #define wxUSE_RICHMSGDLG 0
393 #define wxUSE_SCROLLBAR 0
394 #define wxUSE_SEARCHCTRL 0
395 #define wxUSE_SLIDER 0
396 #define wxUSE_SPINBTN 0
397 #define wxUSE_SPINCTRL 0
398 #define wxUSE_STATBOX 0
399 #define wxUSE_STATLINE 0
400 #define wxUSE_STATTEXT 0
401 #define wxUSE_STATBMP 0
402 #define wxUSE_TEXTCTRL 0
403 #define wxUSE_TOGGLEBTN 0
404 #define wxUSE_TREECTRL 0
405
406 #define wxUSE_STATUSBAR 0
407
408 #define wxUSE_NATIVE_STATUSBAR 0
409
410 #define wxUSE_TOOLBAR 0
411 #define wxUSE_TOOLBAR_NATIVE 0
412
413 #define wxUSE_NOTEBOOK 0
414
415 #define wxUSE_LISTBOOK 0
416
417 #define wxUSE_CHOICEBOOK 0
418
419 #define wxUSE_TREEBOOK 0
420
421 #define wxUSE_TOOLBOOK 0
422
423 #define wxUSE_TASKBARICON 0
424
425 #define wxUSE_GRID 0
426
427 #define wxUSE_MINIFRAME 0
428
429 #define wxUSE_COMBOCTRL 0
430
431 #define wxUSE_ODCOMBOBOX 0
432
433 #define wxUSE_BITMAPCOMBOBOX 0
434
435 #define wxUSE_REARRANGECTRL 0
436
437
438 #define wxUSE_ACCEL 0
439
440 #define wxUSE_ARTPROVIDER_STD 0
441
442 #define wxUSE_ARTPROVIDER_TANGO 0
443
444 #define wxUSE_HOTKEY 0
445
446 #define wxUSE_CARET 0
447
448 #define wxUSE_DISPLAY 0
449
450 #define wxUSE_GEOMETRY 0
451
452 #define wxUSE_IMAGLIST 0
453
454 #define wxUSE_INFOBAR 0
455
456 #define wxUSE_MENUS 0
457
458 #define wxUSE_NOTIFICATION_MESSAGE 0
459
460 #define wxUSE_SASH 0
461
462 #define wxUSE_SPLITTER 0
463
464 #define wxUSE_TOOLTIPS 0
465
466 #define wxUSE_VALIDATORS 0
467
468 #ifdef __WXMSW__
469 #define wxUSE_AUTOID_MANAGEMENT 0
470 #else
471 #define wxUSE_AUTOID_MANAGEMENT 0
472 #endif
473
474
475 #define wxUSE_COMMON_DIALOGS 0
476
477 #define wxUSE_BUSYINFO 0
478
479 #define wxUSE_CHOICEDLG 0
480
481 #define wxUSE_COLOURDLG 0
482
483 #define wxUSE_DIRDLG 0
484
485
486 #define wxUSE_FILEDLG 0
487
488 #define wxUSE_FINDREPLDLG 0
489
490 #define wxUSE_FONTDLG 0
491
492 #define wxUSE_MSGDLG 0
493
494 #define wxUSE_PROGRESSDLG 0
495
496 #define wxUSE_STARTUP_TIPS 0
497
498 #define wxUSE_TEXTDLG 0
499
500 #define wxUSE_NUMBERDLG 0
501
502 #define wxUSE_SPLASH 0
503
504 #define wxUSE_WIZARDDLG 0
505
506 #define wxUSE_ABOUTDLG 0
507
508 #define wxUSE_FILE_HISTORY 0
509
510
511 #define wxUSE_METAFILE 0
512 #define wxUSE_ENH_METAFILE 0
513 #define wxUSE_WIN_METAFILES_ALWAYS 0
514
515
516 #define wxUSE_MDI 0
517
518 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
519
520 #define wxUSE_MDI_ARCHITECTURE 0
521
522 #define wxUSE_PRINTING_ARCHITECTURE 0
523
524 #define wxUSE_HTML 0
525
526 #define wxUSE_GLCANVAS 0
527
528 #define wxUSE_RICHTEXT 0
529
530
531 #define wxUSE_CLIPBOARD 0
532
533 #define wxUSE_DATAOBJ 0
534
535 #define wxUSE_DRAG_AND_DROP 0
536
537 #define wxUSE_ACCESSIBILITY 0
538
539
540 #define wxUSE_SNGLINST_CHECKER 0
541
542 #define wxUSE_DRAGIMAGE 0
543
544 #define wxUSE_IPC 0
545
546 #define wxUSE_HELP 0
547
548
549 #define wxUSE_MS_HTML_HELP 0
550
551
552 #define wxUSE_WXHTML_HELP 0
553
554 #define wxUSE_CONSTRAINTS 0
555
556
557 #define wxUSE_SPLINES 0
558
559
560 #define wxUSE_MOUSEWHEEL 0
561
562
563 #define wxUSE_UIACTIONSIMULATOR 0
564
565
566 #define wxUSE_POSTSCRIPT 0
567
568 #define wxUSE_AFM_FOR_POSTSCRIPT 0
569
570 #define wxUSE_SVG 0
571
572 #define wxUSE_DC_TRANSFORM_MATRIX 0
573
574
575
576 #define wxUSE_IMAGE 0
577
578 #define wxUSE_LIBPNG 0
579
580 #define wxUSE_LIBJPEG 0
581
582 #define wxUSE_LIBTIFF 0
583
584 #define wxUSE_TGA 0
585
586 #define wxUSE_GIF 0
587
588 #define wxUSE_PNM 0
589
590 #define wxUSE_PCX 0
591
592 #define wxUSE_IFF 0
593
594 #define wxUSE_XPM 0
595
596 #define wxUSE_ICO_CUR 0
597
598 #define wxUSE_PALETTE 0
599
600
601 #define wxUSE_ALL_THEMES 0
602
603 #define wxUSE_THEME_GTK 0
604 #define wxUSE_THEME_METAL 0
605 #define wxUSE_THEME_MONO 0
606 #define wxUSE_THEME_WIN32 0
607
608
609 /* --- end common options --- */
610
611 /*
612 * Unix-specific options
613 */
614 #define wxUSE_SELECT_DISPATCHER 0
615 #define wxUSE_EPOLL_DISPATCHER 0
616
617 #define wxUSE_UNICODE_UTF8 0
618 #define wxUSE_UTF8_LOCALE_ONLY 0
619
620 /*
621 Use GStreamer for Unix.
622
623 Default is 0 as this requires a lot of dependencies which might not be
624 available.
625
626 Recommended setting: 1 (wxMediaCtrl won't work by default without it).
627 */
628 #define wxUSE_GSTREAMER 0
629
630 /* --- start MSW options --- */
631
632 #ifndef wxUSE_UNICODE_MSLU
633 #define wxUSE_UNICODE_MSLU 0
634 #endif
635
636 #define wxUSE_MFC 0
637
638 #define wxUSE_OLE 0
639
640 #define wxUSE_OLE_AUTOMATION 0
641
642 #define wxUSE_ACTIVEX 0
643
644 #define wxUSE_DC_CACHEING 0
645
646 #define wxUSE_WXDIB 0
647
648 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
649
650 #define wxUSE_REGKEY 0
651
652 #define wxUSE_RICHEDIT 0
653
654 #define wxUSE_RICHEDIT2 0
655
656 #define wxUSE_OWNER_DRAWN 0
657
658 #define wxUSE_TASKBARICON_BALLOONS 0
659
660 #define wxUSE_UXTHEME 0
661
662 #define wxUSE_INKEDIT 0
663
664 #define wxUSE_INICONF 0
665
666
667 #define wxUSE_DATEPICKCTRL_GENERIC 0
668
669
670 #define wxUSE_CRASHREPORT 0
671 /* --- end MSW options --- */
672
673 /*
674 * Define if your compiler supports the explicit keyword
675 */
676 #undef HAVE_EXPLICIT
677
678 /*
679 * Define if your compiler has C99 va_copy
680 */
681 #undef HAVE_VA_COPY
682
683 /*
684 * Define if va_list type is an array
685 */
686 #undef VA_LIST_IS_ARRAY
687
688 /*
689 * Define if the compiler supports variadic macros
690 */
691 #undef HAVE_VARIADIC_MACROS
692
693 /*
694 * Define if your compiler has std::wstring
695 */
696 #undef HAVE_STD_WSTRING
697 /*
698 * Define if your compiler has compliant std::string::compare
699 */
700 #undef HAVE_STD_STRING_COMPARE
701 /*
702 * Define if your compiler has <hash_map>
703 */
704 #undef HAVE_HASH_MAP
705 /*
706 * Define if your compiler has <ext/hash_map>
707 */
708 #undef HAVE_EXT_HASH_MAP
709 /*
710 * Define if your compiler has std::hash_map/hash_set
711 */
712 #undef HAVE_STD_HASH_MAP
713 /*
714 * Define if your compiler has __gnu_cxx::hash_map/hash_set
715 */
716 #undef HAVE_GNU_CXX_HASH_MAP
717
718 /*
719 * Define if your compiler has std::unordered_map
720 */
721 #undef HAVE_STD_UNORDERED_MAP
722
723 /*
724 * Define if your compiler has std::unordered_set
725 */
726 #undef HAVE_STD_UNORDERED_SET
727
728 /*
729 * Define if your compiler has std::tr1::unordered_map
730 */
731 #undef HAVE_TR1_UNORDERED_MAP
732
733 /*
734 * Define if your compiler has std::tr1::unordered_set
735 */
736 #undef HAVE_TR1_UNORDERED_SET
737
738 /*
739 * Define if your compiler has <tr1/type_traits>
740 */
741 #undef HAVE_TR1_TYPE_TRAITS
742
743 /*
744 * Define if your compiler has <type_traits>
745 */
746 #undef HAVE_TYPE_TRAITS
747
748 /*
749 * Define if the compiler supports simple visibility declarations.
750 */
751 #undef HAVE_VISIBILITY
752
753 /*
754 * Define if the compiler supports GCC's atomic memory access builtins
755 */
756 #undef HAVE_GCC_ATOMIC_BUILTINS
757
758 /*
759 * Define if compiler's visibility support in libstdc++ is broken
760 */
761 #undef HAVE_BROKEN_LIBSTDCXX_VISIBILITY
762
763 /*
764 * The built-in regex supports advanced REs in additional to POSIX's basic
765 * and extended. Your system regex probably won't support this, and in this
766 * case WX_NO_REGEX_ADVANCED should be defined.
767 */
768 #undef WX_NO_REGEX_ADVANCED
769 /*
770 * On GNU systems use re_search instead of regexec, since the latter does a
771 * strlen on the search text affecting the performance of some operations.
772 */
773 #undef HAVE_RE_SEARCH
774 /*
775 * Use SDL for audio (Unix)
776 */
777 #define wxUSE_LIBSDL 0
778
779 /*
780 * Compile sound backends as plugins
781 */
782 #define wxUSE_PLUGINS 0
783
784 /*
785 * Use GTK print for printing under GTK+ 2.0
786 */
787 #define wxUSE_GTKPRINT 0
788 /*
789 * Use GNOME print for printing under GTK+ 2.0
790 */
791 #define wxUSE_LIBGNOMEPRINT 0
792 /*
793 * Use GNOME VFS for MIME types
794 */
795 #define wxUSE_LIBGNOMEVFS 0
796 /*
797 * Use the Hildon framework
798 */
799 #define wxUSE_LIBHILDON 0
800 /*
801 * Use the Hildon 2.0 framework
802 */
803 #define wxUSE_LIBHILDON2 0
804 /*
805 * Have glibc2
806 */
807 #define wxHAVE_GLIBC2 0
808 /*
809 * Use libXpm
810 */
811 #define wxHAVE_LIB_XPM 0
812 /*
813 * Define if you have pthread_cleanup_push/pop()
814 */
815 #undef wxHAVE_PTHREAD_CLEANUP
816 /*
817 * Define if compiler has __thread keyword.
818 */
819 #undef HAVE___THREAD_KEYWORD
820 /*
821 * Define if large (64 bit file offsets) files are supported.
822 */
823 #undef HAVE_LARGEFILE_SUPPORT
824
825 /*
826 * Use OpenGL
827 */
828 #define wxUSE_OPENGL 0
829
830 /*
831 * Use MS HTML Help via libmspack (Unix)
832 */
833 #define wxUSE_LIBMSPACK 0
834
835 /*
836 * Matthews garbage collection (used for MrEd?)
837 */
838 #define WXGARBAGE_COLLECTION_ON 0
839
840 /*
841 * wxWebKitCtrl
842 */
843 #define wxUSE_WEBKIT 0
844
845 /*
846 * Objective-C class name uniquifying
847 */
848 #define wxUSE_OBJC_UNIQUIFYING 0
849
850 /*
851 * The const keyword is being introduced more in wxWindows.
852 * You can use this setting to maintain backward compatibility.
853 * If 0: will use const wherever possible.
854 * If 1: will use const only where necessary
855 * for precompiled headers to work.
856 * If 2: will be totally backward compatible, but precompiled
857 * headers may not work and program size will be larger.
858 */
859 #define CONST_COMPATIBILITY 0
860
861 /*
862 * use the session manager to detect KDE/GNOME
863 */
864 #define wxUSE_DETECT_SM 0
865
866
867 /* define with the name of timezone variable */
868 #undef WX_TIMEZONE
869
870 /* The type of 3rd argument to getsockname() - usually size_t or int */
871 #undef WX_SOCKLEN_T
872
873 /* The type of 5th argument to getsockopt() - usually size_t or int */
874 #undef SOCKOPTLEN_T
875
876 /* The type of statvfs(2) argument */
877 #undef WX_STATFS_T
878
879 /* The signal handler prototype */
880 #undef wxTYPE_SA_HANDLER
881
882 /* gettimeofday() usually takes 2 arguments, but some really old systems might
883 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
884 #undef WX_GETTIMEOFDAY_NO_TZ
885
886 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
887 #undef WX_GMTOFF_IN_TM
888
889 /* Define if you have poll(2) function */
890 #undef HAVE_POLL
891
892 /* Define if you have pw_gecos field in struct passwd */
893 #undef HAVE_PW_GECOS
894
895 /* Define if you have __cxa_demangle() in <cxxabi.h> */
896 #undef HAVE_CXA_DEMANGLE
897
898 /* Define if you have dlopen() */
899 #undef HAVE_DLOPEN
900
901 /* Define if you have gettimeofday() */
902 #undef HAVE_GETTIMEOFDAY
903
904 /* Define if fsync() is available */
905 #undef HAVE_FSYNC
906
907 /* Define if round() is available */
908 #undef HAVE_ROUND
909
910 /* Define if you have ftime() */
911 #undef HAVE_FTIME
912
913 /* Define if you have nanosleep() */
914 #undef HAVE_NANOSLEEP
915
916 /* Define if you have sched_yield */
917 #undef HAVE_SCHED_YIELD
918
919 /* Define if you have pthread_mutexattr_t and functions to work with it */
920 #undef HAVE_PTHREAD_MUTEXATTR_T
921
922 /* Define if you have pthread_mutexattr_settype() declaration */
923 #undef HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL
924
925 /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
926 #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
927
928 /* Define if you have pthread_cancel */
929 #undef HAVE_PTHREAD_CANCEL
930
931 /* Define if you have pthread_mutex_timedlock */
932 #undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
933
934 /* Define if you have pthread_attr_setstacksize */
935 #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
936
937 /* Define if you have shl_load() */
938 #undef HAVE_SHL_LOAD
939
940 /* Define if you have snprintf() */
941 #undef HAVE_SNPRINTF
942
943 /* Define if you have snprintf() declaration in the header */
944 #undef HAVE_SNPRINTF_DECL
945
946 /* Define if you have a snprintf() which supports positional arguments
947 (defined in the unix98 standard) */
948 #undef HAVE_UNIX98_PRINTF
949
950 /* define if you have statfs function */
951 #undef HAVE_STATFS
952
953 /* define if you have statfs prototype */
954 #undef HAVE_STATFS_DECL
955
956 /* define if you have statvfs function */
957 #undef HAVE_STATVFS
958
959 /* Define if you have strtoull() and strtoll() */
960 #undef HAVE_STRTOULL
961
962 /* Define if you have all functions to set thread priority */
963 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
964
965 /* Define if you have vsnprintf() */
966 #undef HAVE_VSNPRINTF
967
968 /* Define if you have vsnprintf() declaration in the header */
969 #undef HAVE_VSNPRINTF_DECL
970
971 /* Define if you have a _broken_ vsnprintf() declaration in the header,
972 * with 'char*' for the 3rd parameter instead of 'const char*' */
973 #undef HAVE_BROKEN_VSNPRINTF_DECL
974
975 /* Define if you have vsscanf() */
976 #undef HAVE_VSSCANF
977
978 /* Define if you have vsscanf() declaration in the header */
979 #undef HAVE_VSSCANF_DECL
980
981 /* Define if you have usleep() */
982 #undef HAVE_USLEEP
983
984 /* Define if you have wcscasecmp() function */
985 #undef HAVE_WCSCASECMP
986
987 /* Define if you have wcsncasecmp() function */
988 #undef HAVE_WCSNCASECMP
989
990 /* Define if you have wcslen function */
991 #undef HAVE_WCSLEN
992
993 /* Define if you have wcsdup function */
994 #undef HAVE_WCSDUP
995
996 /* Define if you have wcsftime() function */
997 #undef HAVE_WCSFTIME
998
999 /* Define if you have strnlen() function */
1000 #undef HAVE_STRNLEN
1001
1002 /* Define if you have wcsnlen() function */
1003 #undef HAVE_WCSNLEN
1004
1005 /* Define if you have wcstoull() and wcstoll() */
1006 #undef HAVE_WCSTOULL
1007
1008 /* The number of bytes in a wchar_t. */
1009 #undef SIZEOF_WCHAR_T
1010
1011 /* The number of bytes in a int. */
1012 #undef SIZEOF_INT
1013
1014 /* The number of bytes in a pointer. */
1015 #undef SIZEOF_VOID_P
1016
1017 /* The number of bytes in a long. */
1018 #undef SIZEOF_LONG
1019
1020 /* The number of bytes in a long long. */
1021 #undef SIZEOF_LONG_LONG
1022
1023 /* The number of bytes in a short. */
1024 #undef SIZEOF_SHORT
1025
1026 /* The number of bytes in a size_t. */
1027 #undef SIZEOF_SIZE_T
1028
1029 /* Define if size_t on your machine is the same type as unsigned int. */
1030 #undef wxSIZE_T_IS_UINT
1031
1032 /* Define if size_t on your machine is the same type as unsigned long. */
1033 #undef wxSIZE_T_IS_ULONG
1034
1035 /* Define if wchar_t is distinct type in your compiler. */
1036 #undef wxWCHAR_T_IS_REAL_TYPE
1037
1038 /* Define if you have the dlerror function. */
1039 #undef HAVE_DLERROR
1040
1041 /* Define if you have Posix fnctl() function. */
1042 #undef HAVE_FCNTL
1043
1044 /* Define if you have BSD flock() function. */
1045 #undef HAVE_FLOCK
1046
1047 /* Define if you have getaddrinfo function. */
1048 #undef HAVE_GETADDRINFO
1049
1050 /* Define if you have a gethostbyname_r function taking 6 arguments. */
1051 #undef HAVE_FUNC_GETHOSTBYNAME_R_6
1052
1053 /* Define if you have a gethostbyname_r function taking 5 arguments. */
1054 #undef HAVE_FUNC_GETHOSTBYNAME_R_5
1055
1056 /* Define if you have a gethostbyname_r function taking 3 arguments. */
1057 #undef HAVE_FUNC_GETHOSTBYNAME_R_3
1058
1059 /* Define if you only have a gethostbyname function */
1060 #undef HAVE_GETHOSTBYNAME
1061
1062 /* Define if you have the gethostname function. */
1063 #undef HAVE_GETHOSTNAME
1064
1065 /* Define if you have a getservbyname_r function taking 6 arguments. */
1066 #undef HAVE_FUNC_GETSERVBYNAME_R_6
1067
1068 /* Define if you have a getservbyname_r function taking 5 arguments. */
1069 #undef HAVE_FUNC_GETSERVBYNAME_R_5
1070
1071 /* Define if you have a getservbyname_r function taking 4 arguments. */
1072 #undef HAVE_FUNC_GETSERVBYNAME_R_4
1073
1074 /* Define if you only have a getservbyname function */
1075 #undef HAVE_GETSERVBYNAME
1076
1077 /* Define if you have the gmtime_r function. */
1078 #undef HAVE_GMTIME_R
1079
1080 /* Define if you have the inet_addr function. */
1081 #undef HAVE_INET_ADDR
1082
1083 /* Define if you have the inet_aton function. */
1084 #undef HAVE_INET_ATON
1085
1086 /* Define if you have the localtime_r function. */
1087 #undef HAVE_LOCALTIME_R
1088
1089 /* Define if you have the mktemp function. */
1090 #undef HAVE_MKTEMP
1091
1092 /* Define if you have the mkstemp function. */
1093 #undef HAVE_MKSTEMP
1094
1095 /* Define if you have the putenv function. */
1096 #undef HAVE_PUTENV
1097
1098 /* Define if you have the setenv function. */
1099 #undef HAVE_SETENV
1100
1101 /* Define if you have strtok_r function. */
1102 #undef HAVE_STRTOK_R
1103
1104 /* Define if you have thr_setconcurrency function */
1105 #undef HAVE_THR_SETCONCURRENCY
1106
1107 /* Define if you have the uname function. */
1108 #undef HAVE_UNAME
1109
1110 /* Define if you have the unsetenv function. */
1111 #undef HAVE_UNSETENV
1112
1113 /* Define if you have the <X11/XKBlib.h> header file. */
1114 #undef HAVE_X11_XKBLIB_H
1115
1116 /* Define if you have the <X11/extensions/xf86vmode.h> header file. */
1117 #undef HAVE_X11_EXTENSIONS_XF86VMODE_H
1118
1119 /* Define if you have the <sched.h> header file. */
1120 #undef HAVE_SCHED_H
1121
1122 /* Define if you have the <unistd.h> header file. */
1123 #undef HAVE_UNISTD_H
1124
1125 /* Define if you have the <fcntl.h> header file. */
1126 #undef HAVE_FCNTL_H
1127
1128 /* Define if you have the <wchar.h> header file. */
1129 #undef HAVE_WCHAR_H
1130
1131 /* Define if you have the <wcstr.h> header file. */
1132 #undef HAVE_WCSTR_H
1133
1134 /* Define if you have <widec.h> (Solaris only) */
1135 #undef HAVE_WIDEC_H
1136
1137 /* Define if you have the <iconv.h> header file and iconv() symbol. */
1138 #undef HAVE_ICONV
1139
1140 /* Define as "const" if the declaration of iconv() needs const. */
1141 #undef ICONV_CONST
1142
1143 /* Define if you have the <langinfo.h> header file. */
1144 #undef HAVE_LANGINFO_H
1145
1146 /* Define if you have the <w32api.h> header file (mingw,cygwin). */
1147 #undef HAVE_W32API_H
1148
1149 /* Define if you have the <sys/soundcard.h> header file. */
1150 #undef HAVE_SYS_SOUNDCARD_H
1151
1152 /* Define if you have wcsrtombs() function */
1153 #undef HAVE_WCSRTOMBS
1154
1155 /* Define this if you have putws() */
1156 #undef HAVE_PUTWS
1157
1158 /* Define this if you have fputws() */
1159 #undef HAVE_FPUTWS
1160
1161 /* Define this if you have strcasecmp() function in <string.h> */
1162 #undef HAVE_STRCASECMP_IN_STRING_H
1163
1164 /* Define this if you have strcasecmp() function in <strings.h> */
1165 #undef HAVE_STRCASECMP_IN_STRINGS_H
1166
1167 /* Define this if you have wprintf() and related functions */
1168 #undef HAVE_WPRINTF
1169
1170 /* Define this if you have vswprintf() and related functions */
1171 #undef HAVE_VSWPRINTF
1172
1173 /* Define this if you have _vsnwprintf */
1174 #undef HAVE__VSNWPRINTF
1175
1176 /* vswscanf() */
1177 #undef HAVE_VSWSCANF
1178
1179 /* Define if fseeko and ftello are available. */
1180 #undef HAVE_FSEEKO
1181
1182 /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
1183 #undef HAVE_XIM
1184
1185 /* Define this if you have X11/extensions/shape.h */
1186 #undef HAVE_XSHAPE
1187
1188 /* Define this if you have type SPBCDATA */
1189 #undef HAVE_SPBCDATA
1190
1191 /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
1192 #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
1193
1194 /* Define if you have Pango xft support */
1195 #undef HAVE_PANGO_XFT
1196
1197 /* Define if you have the <sys/select.h> header file. */
1198 #undef HAVE_SYS_SELECT_H
1199
1200 /* Define if fdopen is available. */
1201 #undef HAVE_FDOPEN
1202
1203 /* Define if sysconf is available. */
1204 #undef HAVE_SYSCONF
1205
1206 /* Define if getpwuid_r is available. */
1207 #undef HAVE_GETPWUID_R
1208
1209 /* Define if getgrgid_r is available. */
1210 #undef HAVE_GETGRGID_R
1211
1212 /* Define if locale_t is available */
1213 #undef HAVE_LOCALE_T
1214
1215 /* Define if you have inotify_xxx() functions. */
1216 #undef wxHAS_INOTIFY
1217
1218 /* Define if you have kqueu_xxx() functions. */
1219 #undef wxHAS_KQUEUE
1220
1221 /* -------------------------------------------------------------------------
1222 Win32 adjustments section
1223 ------------------------------------------------------------------------- */
1224
1225 #ifdef __WIN32__
1226
1227 /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility
1228 with wx/msw/setup.h */
1229 #define wxUSE_XPM_IN_MSW wxUSE_XPM
1230
1231 /* When using an external jpeg library and the Windows headers already define
1232 * boolean, define to the type used by the jpeg library for boolean. */
1233 #undef wxHACK_BOOLEAN
1234
1235 /* Define if the header pbt.h is missing. */
1236 #undef NEED_PBT_H
1237
1238 #endif /* __WIN32__ */
1239
1240 /* --------------------------------------------------------*
1241 * This stuff is static, it doesn't get modified directly
1242 * by configure.
1243 */
1244
1245 /*
1246 define some constants identifying wxWindows version in more details than
1247 just the version number
1248 */
1249
1250 /* wxLogChain class available */
1251 #define wxHAS_LOG_CHAIN
1252
1253 /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1254 #undef wxHAS_WORKING_GTK_DC_BLIT
1255
1256 #endif /* __WX_SETUP_H__ */
1257