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