]> git.saurik.com Git - wxWidgets.git/blame - setup.h_vms
Allow wxWidgets to be built hosted on any architecture of Darwin.
[wxWidgets.git] / setup.h_vms
CommitLineData
0db9d8d2
JJ
1/*****************************************************************************
2 * *
3 * Template for the set.h file for VMS *
4 * Created from setup.h_in *
5 * Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
eaa6f9ad 6 * Date : 15 March 2005 *
0db9d8d2
JJ
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#ifdef __GNUG__
16#pragma interface
17#endif
18
4dff3400
JJ
19#include <wx/vms_x_fix.h>
20
0db9d8d2
JJ
21/* never undefine inline or const keywords for C++ compilation */
22#ifndef __cplusplus
23
24/* Define to empty if the keyword does not work. */
25#undef const
26
27/* Define as __inline if that's what the C compiler calls it. */
28#undef inline
29
30#endif /* __cplusplus */
31
68874acf
JJ
32/* fill in with the string wxGetOsDescription() will return */
33#define WXWIN_OS_DESCRIPTION "OpenVMS"
34
33381c82
JJ
35/* the installation location prefix from configure */
36#undef wxINSTALL_PREFIX
37
b2ddee86
JJ
38/* Define this to get extra features from GNU libc. */
39#undef _GNU_SOURCE
40
0db9d8d2
JJ
41/* Define to `int' if <sys/types.h> doesn't define. */
42#undef gid_t
43
0db9d8d2
JJ
44/* Define to `int' if <sys/types.h> doesn't define. */
45#undef mode_t
46
47/* Define to `long' if <sys/types.h> doesn't define. */
48#undef off_t
49
50/* Define to `int' if <sys/types.h> doesn't define. */
51#undef pid_t
52
53/* Define to `unsigned' if <sys/types.h> doesn't define. */
54#undef size_t
55
d51253e8 56/* Define if ssize_t type is available. */
44f3342e 57#define HAVE_SSIZE_T 1
d51253e8 58
0db9d8d2
JJ
59/* Define if you have the ANSI C header files. */
60#define STDC_HEADERS
61
62/* Define to `int' if <sys/types.h> doesn't define. */
63#undef uid_t
64
65/* Define if your processor stores words with the most significant
66 byte first (like Motorola and SPARC, unlike Intel and VAX). */
67#undef WORDS_BIGENDIAN
68
57b4050c
JJ
69/* Define this if you want to use GPE features */
70/* #undef __WXGPE__ */
71
6804a3f7
JJ
72/* Define this if your version of Motif is greater than 2.0 */
73/* #undef __WXMOTIF20__ */
74
9c8e9fb6
MB
75/* Define this if you are using Lesstif */
76/* #undef __WXLESSTIF__ */
77
09f8c2a0 78#ifdef __WXGTK__
1696c178 79/* Define this if your version of GTK+ is greater than 1.2 */
3fa056ab 80#define __WXGTK12__ 1
0db9d8d2 81
f6bcfd97
BP
82/* Define this if your version of GTK+ is greater than 1.2.7 */
83#define __WXGTK127__ 1
84
9755e73b 85/* Define this if your version of GTK+ is greater than 2.0 */
6804a3f7 86/* #undef __WXGTK20__ */
9755e73b
VS
87
88/* Define this if your version of GTK+ is greater than 2.4 */
89/* #undef __WXGTK24__ */
09f8c2a0 90#endif
1696c178 91
0db9d8d2
JJ
92/*
93 * Define to 1 for Unix[-like] system
94 */
95#define wxUSE_UNIX 1
96
97#define __UNIX__
6804a3f7 98
0db9d8d2 99#undef __AIX__
0db9d8d2 100#undef __BSD__
6804a3f7
JJ
101#undef __DARWIN__
102#undef __EMX__
0db9d8d2 103#undef __FREEBSD__
6804a3f7
JJ
104#undef __HPUX__
105#undef __LINUX__
106#undef __NETBSD__
2b5f62a0 107#undef __OPENBSD__
6804a3f7
JJ
108#undef __OSF__
109#undef __SGI__
110#undef __SOLARIS__
111#undef __SUN__
112#undef __SUNOS__
113#undef __SVR4__
114#undef __SYSV__
0db9d8d2 115#undef __ULTRIX__
6804a3f7
JJ
116#undef __UNIXWARE__
117#define __VMS__
118
119#undef __IA64__
120#define __ALPHA__
4b37e99a
JJ
121
122/* NanoX (with wxX11) */
123#define wxUSE_NANOX 0
0db9d8d2 124
283e4f28
JJ
125/* PowerPC Darwin & Mac OS X */
126#undef __POWERPC__
127
eaa6f9ad
JJ
128/* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
129#undef __Point__
130
955b1191
JJ
131/* MS-DOS with DJGPP */
132#undef __DOS__
133
0db9d8d2
JJ
134/* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
135#ifndef __WINDOWS__
136#undef __WINDOWS__
137#endif
138
e004299a 139#ifndef __WIN95__
0db9d8d2 140#undef __WIN95__
e004299a 141#endif
abfcca57 142#ifndef __WIN32__
0db9d8d2 143#undef __WIN32__
abfcca57 144#endif
e004299a 145#ifndef __GNUWIN32__
0db9d8d2 146#undef __GNUWIN32__
e004299a
JJ
147#endif
148#ifndef STRICT
0db9d8d2 149#undef STRICT
e004299a
JJ
150#endif
151#ifndef WINVER
0db9d8d2 152#undef WINVER
e004299a 153#endif
0db9d8d2 154
9bea227d 155/* --- start common options --- */
181cbcf4 156
9bea227d
JJ
157
158#ifndef wxUSE_GUI
159 #define wxUSE_GUI 1
35e92fbf
JJ
160#endif
161
9bea227d
JJ
162
163#define WXWIN_COMPATIBILITY_2_2 1
164
165#define WXWIN_COMPATIBILITY_2_4 1
166
167#define wxDIALOG_UNIT_COMPATIBILITY 1
168
169
170
171#define wxUSE_DEBUG_CONTEXT 0
172
a98ce49a
JJ
173#define wxUSE_DEBUGREPORT 0
174
9bea227d
JJ
175#define wxUSE_MEMORY_TRACING 0
176
177#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
178
179#define wxUSE_DEBUG_NEW_ALWAYS 0
180
dbbd41ae 181#define wxUSE_ON_FATAL_EXCEPTION 0
68874acf 182
9bea227d 183#define wxUSE_STACKWALKER 0
0db9d8d2 184
ef0ed19e 185
9bea227d
JJ
186#ifndef wxUSE_UNICODE
187 #define wxUSE_UNICODE 0
188#endif
6804a3f7 189
9bea227d 190#define wxUSE_UNICODE_MSLU 0
4ebb542f 191
9bea227d 192#define wxUSE_WCHAR_T 1
ecfd48ca 193
8fa53e0e 194
9bea227d 195#define wxUSE_EXCEPTIONS 0
8fa53e0e 196
9bea227d 197#define wxUSE_EXTENDED_RTTI 0
f3858bf5 198
8f5a042b 199#define wxUSE_STL 0
9bea227d
JJ
200
201#define wxUSE_LOG 1
202
203#define wxUSE_LOGWINDOW 1
204
205#define wxUSE_LOGGUI 1
206
207#define wxUSE_LOG_DIALOG 0
208
209#define wxUSE_CMDLINE_PARSER 1
210
fb10f04c 211#define wxUSE_THREADS 1
0db9d8d2 212
9bea227d 213#define wxUSE_STREAMS 1
04272d58 214
9bea227d 215#define wxUSE_STD_IOSTREAM 0
181cbcf4 216
d43e302b 217#define wxUSE_STD_STRING 0
4b37e99a 218
9bea227d 219#define wxUSE_LONGLONG 1
0db9d8d2 220
9bea227d
JJ
221#define wxUSE_FILE 1
222#define wxUSE_FFILE 1
0db9d8d2 223
9bea227d
JJ
224#define wxUSE_FSVOLUME 1
225
a98ce49a
JJ
226#define wxUSE_STDPATHS 1
227
9bea227d
JJ
228#define wxUSE_TEXTBUFFER 1
229
230#define wxUSE_TEXTFILE 1
231
232#define wxUSE_INTL 1
233
234#define wxUSE_DATETIME 1
235
236#define wxUSE_TIMER 1
237
238#define wxUSE_STOPWATCH 1
239
240#define wxUSE_CONFIG 1
241
242#define wxUSE_CONFIG_NATIVE 0
243
244#define wxUSE_DIALUP_MANAGER 1
245
246#define wxUSE_DYNLIB_CLASS 1
247
248#define wxUSE_DYNAMIC_LOADER 0
249
250#define wxUSE_SOCKETS 1
251
252#define wxUSE_FILESYSTEM 1
253
254#define wxUSE_FS_ZIP 1
255
256#define wxUSE_FS_INET 1
257
9e8e867f 258#define wxUSE_ARCHIVE_STREAMS 1
81f90336 259
9bea227d
JJ
260#define wxUSE_ZIPSTREAM 1
261
262#define wxUSE_ZLIB 1
263
264#define wxUSE_APPLE_IEEE 0
265
266#define wxUSE_JOYSTICK 0
267
268#define wxUSE_FONTMAP 1
269
270#define wxUSE_MIMETYPE 1
271
272#define wxUSE_PROTOCOL 1
273
274#define wxUSE_PROTOCOL_FILE 1
275#define wxUSE_PROTOCOL_FTP 1
276#define wxUSE_PROTOCOL_HTTP 1
277
278#define wxUSE_URL 1
279
280#define wxUSE_URL_NATIVE 0
281
282#define wxUSE_REGEX 0
283
284#define wxUSE_SYSTEM_OPTIONS 1
285
286#define wxUSE_SOUND 1
287
288#define wxUSE_MEDIACTRL 1
289
290#define wxUSE_QUICKTIME 1
291
292#define wxUSE_DIRECTSHOW 1
293
62af4df1
JJ
294#define wxUSE_GSTREAMER 0
295
9bea227d
JJ
296#define wxUSE_XRC 1
297
298#if wxUSE_XRC
299#define wxUSE_XML 1
300#else
301# define wxUSE_XML 1
302#endif
303
304
305#define wxUSE_CONTROLS 1
1a0d517e 306
dae752d4
JJ
307#ifdef __WXMOTIF__
308#define wxUSE_POPUPWIN 0
309#else
1a0d517e 310#define wxUSE_POPUPWIN 1
dae752d4 311#endif
1a0d517e 312
9bea227d
JJ
313#define wxUSE_TIPWINDOW 1
314
315#define wxUSE_BUTTON 1
316#define wxUSE_BMPBUTTON 1
317#define wxUSE_CALENDARCTRL 1
318#define wxUSE_CHECKBOX 1
319#define wxUSE_CHECKLISTBOX 1
320#define wxUSE_CHOICE 1
321#define wxUSE_COMBOBOX 1
322#define wxUSE_DATEPICKCTRL 1
323#define wxUSE_GAUGE 1
324#define wxUSE_LISTBOX 1
325#define wxUSE_LISTCTRL 1
326#define wxUSE_RADIOBOX 1
327#define wxUSE_RADIOBTN 1
328#define wxUSE_SCROLLBAR 1
329#define wxUSE_SLIDER 1
330#define wxUSE_SPINBTN 1
331#define wxUSE_SPINCTRL 1
332#define wxUSE_STATBOX 1
333#define wxUSE_STATLINE 1
334#define wxUSE_STATTEXT 1
335#define wxUSE_STATBMP 1
336#define wxUSE_TEXTCTRL 1
7712a6a5 337#if defined (__WXMOTIF__) || defined( __WXGTK__ )
9bea227d 338#define wxUSE_TOGGLEBTN 1
7712a6a5
JJ
339#else
340#define wxUSE_TOGGLEBTN 0
341#endif
9bea227d
JJ
342#define wxUSE_TREECTRL 1
343
344#define wxUSE_STATUSBAR 1
345
9bea227d 346#define wxUSE_NATIVE_STATUSBAR 0
9bea227d
JJ
347
348#define wxUSE_TOOLBAR 1
349#define wxUSE_TOOLBAR_NATIVE 1
350
351#define wxUSE_NOTEBOOK 1
352
353#define wxUSE_LISTBOOK 1
354
355#define wxUSE_CHOICEBOOK 1
356
357#define wxUSE_TAB_DIALOG 1
358
359#define wxUSE_GRID 1
360
361#define wxUSE_MINIFRAME 1
362
508e0acb 363
0db9d8d2
JJ
364#define wxUSE_ACCEL 1
365
9bea227d 366#define wxUSE_HOTKEY 1
1a0d517e 367
9bea227d 368#define wxUSE_CARET 1
1a0d517e 369
9bea227d 370#define wxUSE_DISPLAY 1
33381c82 371
9bea227d 372#define wxUSE_GEOMETRY 1
1a0d517e 373
9bea227d 374#define wxUSE_IMAGLIST 1
1a0d517e 375
9bea227d 376#define wxUSE_MENUS 1
508e0acb 377
9bea227d 378#define wxUSE_SASH 1
1a0d517e 379
9bea227d 380#define wxUSE_SPLITTER 1
1a0d517e 381
9bea227d
JJ
382#if defined (__WXMOTIF__) || defined( __WXX11__ )
383#define wxUSE_TOOLTIPS 0
384#else
385#define wxUSE_TOOLTIPS 1
386#endif
0db9d8d2 387
9bea227d 388#define wxUSE_VALIDATORS 1
0db9d8d2 389
0db9d8d2 390
9bea227d 391#define wxUSE_COMMON_DIALOGS 1
1a0d517e 392
9bea227d
JJ
393#define wxUSE_BUSYINFO 1
394
395#define wxUSE_CHOICEDLG 1
396
397#define wxUSE_COLOURDLG 1
1a0d517e 398
0db9d8d2
JJ
399#define wxUSE_DIRDLG 1
400
1a0d517e 401
9bea227d 402#define wxUSE_FILEDLG 1
1a0d517e 403
9bea227d
JJ
404#define wxUSE_FINDREPLDLG 1
405
406#define wxUSE_FONTDLG 1
407
408#define wxUSE_MSGDLG 1
409
410#define wxUSE_PROGRESSDLG 1
411
412#define wxUSE_STARTUP_TIPS 1
413
414#define wxUSE_TEXTDLG 1
415
416#define wxUSE_NUMBERDLG 1
1a0d517e 417
1a0d517e
JJ
418#define wxUSE_SPLASH 1
419
9bea227d 420#define wxUSE_WIZARDDLG 1
0db9d8d2 421
6804a3f7 422
9bea227d
JJ
423#define wxUSE_METAFILE 1
424#define wxUSE_ENH_METAFILE 1
425#define wxUSE_WIN_METAFILES_ALWAYS 1
426
427
428#define wxUSE_MDI 1
429
430#define wxUSE_DOC_VIEW_ARCHITECTURE 1
431
432#define wxUSE_MDI_ARCHITECTURE 1
433
434#define wxUSE_PRINTING_ARCHITECTURE 1
435
436#define wxUSE_HTML 1
437
438#define wxUSE_GLCANVAS 1
439
440
441#define wxUSE_CLIPBOARD 1
442
443#define wxUSE_DATAOBJ 1
444
445#ifdef __WXGTK__
446#define wxUSE_DRAG_AND_DROP 1
5f81e1e9 447#else
9bea227d 448#define wxUSE_DRAG_AND_DROP 0
5f81e1e9
JJ
449#endif
450
9bea227d
JJ
451#define wxUSE_ACCESSIBILITY 0
452
453
454#define wxUSE_SNGLINST_CHECKER 1
455
456#define wxUSE_DRAGIMAGE 1
457
458#define wxUSE_IPC 1
459
460#define wxUSE_HELP 1
461
462#define wxUSE_MS_HTML_HELP 0
463
464
465#define wxUSE_WXHTML_HELP 1
466
467#define wxUSE_RESOURCES 1
468
469/*
470 * Use Prolog IO
471 */
472#define wxUSE_PROLOGIO 1
473
474#define wxUSE_CONSTRAINTS 1
475
476
477#define wxUSE_SPLINES 1
478
479
480#define wxUSE_MOUSEWHEEL 1
481
482
483
484#define wxUSE_POSTSCRIPT 1
485
486#define wxUSE_AFM_FOR_POSTSCRIPT 1
487
9bea227d
JJ
488#define wxUSE_ODBC 1
489
490#define wxODBC_FWD_ONLY_CURSORS 1
491
492#define wxODBC_BACKWARD_COMPATABILITY 0
493
494
495#define REMOVE_UNUSED_ARG 1
496
497#define wxUSE_IOSTREAMH 1
498
1a0d517e 499
0db9d8d2 500
9bea227d 501#define wxUSE_IMAGE 1
fb10f04c 502
9bea227d 503#define wxUSE_LIBPNG 1
33381c82 504
9bea227d 505#define wxUSE_LIBJPEG 1
0db9d8d2 506
9bea227d 507#define wxUSE_LIBTIFF 1
0db9d8d2 508
9bea227d 509#define wxUSE_GIF 1
97b305b7 510
9bea227d 511#define wxUSE_PNM 1
4b37e99a 512
9bea227d
JJ
513#define wxUSE_PCX 1
514
515#define wxUSE_IFF 1
516
517#define wxUSE_XPM 1
518
519#define wxUSE_ICO_CUR 1
520
521#define wxUSE_PALETTE 1
522
523/* --- end common options --- */
524
525/* for some features we don't have dedicated configure switches, so just choose
526 * the common values automatically */
527#if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__)
528#define wxUSE_OWNER_DRAWN 1
529#endif
530
531#if defined(__WXPM__)
532#define wxUSE_OWNER_DRAWN 1
533#endif
4199367e 534
9bea227d
JJ
535/* enable rich edit under Win32 */
536#if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
537#define wxUSE_RICHEDIT 1
215599ce 538#define wxUSE_RICHEDIT2 1
9bea227d
JJ
539#else
540#define wxUSE_RICHEDIT 0
215599ce 541#define wxUSE_RICHEDIT2 0
9bea227d 542#endif
4199367e 543
0db9d8d2 544/*
9bea227d 545 * Supports bool type
0db9d8d2 546 */
9bea227d
JJ
547#define HAVE_BOOL
548
1a0d517e 549/*
9bea227d 550 * Define if your compiler supports the explicit keyword
1a0d517e 551 */
9bea227d
JJ
552#define HAVE_EXPLICIT 1
553
1a0d517e 554/*
9bea227d 555 * Define if your compiler supports const_cast<>()
1a0d517e 556 */
9bea227d
JJ
557#define HAVE_CONST_CAST 1
558
0f02d3d0 559/*
9bea227d 560 * Define if your compiler supports reinterpret_cast<>()
0f02d3d0 561 */
9bea227d
JJ
562#define HAVE_REINTERPRET_CAST 1
563
1a0d517e 564/*
9bea227d 565 * Define if your compiler supports const_cast<>()
1a0d517e 566 */
9bea227d
JJ
567#define HAVE_STATIC_CAST 1
568
0db9d8d2 569/*
9bea227d 570 * Define if your compiler has C99 va_copy
0db9d8d2 571 */
9bea227d
JJ
572#undef HAVE_VA_COPY
573
0db9d8d2 574/*
9bea227d 575 * Define if va_list type is an array
0db9d8d2 576 */
9bea227d
JJ
577#undef VA_LIST_IS_ARRAY
578
d2dfcfab 579/*
9bea227d 580 * Define if your compiler has std::wstring
d2dfcfab 581 */
9bea227d 582/* #unfine HAVE_STD_WSTRING */
44f3342e 583/*
9bea227d 584 * Define if your compiler has compliant std::string::compare
44f3342e 585 */
9bea227d 586#undef HAVE_STD_STRING_COMPARE
0db9d8d2 587/*
9bea227d 588 * Define if your compiler has <hash_map>
0db9d8d2 589 */
9bea227d 590#undef HAVE_HASH_MAP
1a0d517e 591/*
9bea227d 592 * Define if your compiler has <ext/hash_map>
1a0d517e 593 */
9bea227d 594#undef HAVE_EXT_HASH_MAP
0db9d8d2 595/*
9bea227d 596 * Define if your compiler has std::hash_map/hash_set
0db9d8d2 597 */
9bea227d 598#undef HAVE_STD_HASH_MAP
0db9d8d2 599/*
9bea227d 600 * Define if your compiler has __gnu_cxx::hash_map/hash_set
0db9d8d2 601 */
9bea227d
JJ
602#undef HAVE_GNU_CXX_HASH_MAP
603
0db9d8d2 604/*
9bea227d
JJ
605 * The built-in regex supports advanced REs in additional to POSIX's basic
606 * and extended. Your system regex probably won't support this, and in this
607 * case WX_NO_REGEX_ADVANCED should be defined.
0db9d8d2 608 */
9bea227d 609#undef WX_NO_REGEX_ADVANCED
0db9d8d2 610/*
9bea227d 611 * Use SDL for audio (Unix)
0db9d8d2 612 */
9bea227d 613#define wxUSE_LIBSDL 0
0db9d8d2 614/*
9bea227d 615 * Use GNOME print for printing under GTK+ 2.0
0db9d8d2 616 */
9bea227d 617#define wxUSE_LIBGNOMEPRINT 0
0db9d8d2 618/*
9bea227d 619 * Use iODBC
0db9d8d2 620 */
9bea227d 621#define wxUSE_BUILTIN_IODBC 0
0db9d8d2 622/*
9bea227d 623 * Use freetype
0db9d8d2 624 */
9bea227d 625#define wxUSE_FREETYPE 1
8f52ea33 626/*
9bea227d 627 * Have glibc2
8f52ea33 628 */
9bea227d 629#define wxHAVE_GLIBC2 0
1a0d517e 630/*
9bea227d 631 * Use libXpm
1a0d517e 632 */
9bea227d 633#define wxHAVE_LIB_XPM 1
0db9d8d2 634/*
0db9d8d2
JJ
635 * Use consistent PostScript fonts for AFM and printing (!)
636 */
0db9d8d2
JJ
637#define wxUSE_NORMALIZED_PS_FONTS 1
638
639/* compatibility */
640#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
641
642/*
9bea227d 643 * Use OpenGL
955b1191 644 */
9bea227d 645#define wxUSE_OPENGL 1
955b1191 646
f3858bf5
JJ
647/*
648 * Set to 1 to compile MS Windows XP theme engine support
649 */
650/* #define wxUSE_UXTHEME 1 */
651
652/*
653 * Set to 1 to auto-adapt to MS Windows XP themes where possible
654 * (notably, wxNotebook pages)
655 */
656/* #define wxUSE_UXTHEME_AUTO 1*/
657
0db9d8d2
JJ
658/*
659 * Work around a bug in GNU libc 5.x wcstombs() implementation.
660 *
661 * Note that you must link your programs with libc.a if you enable this and you
662 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
663 * thread-safe version of wcstombs()).
664 */
665#define wxUSE_WCSRTOMBS 0
666
667/*
668 * Use the new experimental implementation of wxString::Printf()?
669 *
670 * Warning: enabling this may cause internal compiler errors with gcc!
671 */
672#define wxUSE_EXPERIMENTAL_PRINTF 0
673
0db9d8d2
JJ
674/*
675 * Use wxGetResource & wxWriteResource (change .Xdefaults)
676 */
677#define wxUSE_X_RESOURCES 1
0f02d3d0
JJ
678/*
679 * Use OLE (MSW only)
a73ce5bf 680 */
9bea227d 681#define wxUSE_OLE 0
0db9d8d2
JJ
682
683/* for compatibility */
684#define wxUSE_WX_RESOURCES wxUSE_RESOURCES
685
686/*
4b37e99a 687 * Use wxWindows help facility
0db9d8d2
JJ
688 */
689#define wxUSE_HELP 1
1a0d517e
JJ
690/*
691 * Use built-in HTML-based help controller
692 */
693#define wxUSE_WXHTML_HELP 1
4b37e99a
JJ
694/*
695 * Use MS HTML Help controller (win32)
696 */
697#define wxUSE_MS_HTML_HELP 0
2b5b100a
JJ
698/*
699 * Use MS HTML Help via libmspack (Unix)
700 */
701#define wxUSE_LIBMSPACK 1
1a0d517e 702
0db9d8d2
JJ
703/*
704 * Matthews garbage collection (used for MrEd?)
705 */
706#define WXGARBAGE_COLLECTION_ON 1
9a8f0513 707
dac5a9c9
JJ
708/*
709 * wxWebKitCtrl
710 */
711#define wxUSE_WEBKIT 1
712
0db9d8d2
JJ
713/*
714 * The const keyword is being introduced more in wxWindows.
715 * You can use this setting to maintain backward compatibility.
716 * If 0: will use const wherever possible.
717 * If 1: will use const only where necessary
718 * for precompiled headers to work.
719 * If 2: will be totally backward compatible, but precompiled
720 * headers may not work and program size will be larger.
721 */
722#define CONST_COMPATIBILITY 0
723
fb10f04c
JJ
724/* define with the name of timezone variable */
725#undef WX_TIMEZONE
726
0db9d8d2 727/* The type of 3rd argument to getsockname() - usually size_t or int */
fb10f04c 728#define SOCKLEN_T size_t
0db9d8d2 729
13973396
JJ
730/* The type of 5th argument to getsockopt() - usually size_t or int */
731#define SOCKOPTLEN_T size_t
732
e004299a
JJ
733/* The type of statvfs(2) argument */
734#undef WX_STATFS_T
735
4b37e99a
JJ
736/* The signal handler prototype */
737#undef wxTYPE_SA_HANDLER
738
0db9d8d2
JJ
739/* gettimeofday() usually takes 2 arguments, but some really old systems might
740 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
741#undef WX_GETTIMEOFDAY_NO_TZ
742
4b37e99a 743/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
b8ad9f18
JJ
744#define WX_GMTOFF_IN_TM
745
2b5f62a0
VZ
746/* Define if you have poll(2) function */
747#define HAVE_POLL 1
748
181cbcf4
JJ
749/* Define if you have pw_gecos field in struct passwd */
750#undef HAVE_PW_GECOS
751
9bea227d
JJ
752/* Define if you have __cxa_demangle() in <cxxabi.h> */
753#undef HAVE_CXA_DEMANGLE
754
0db9d8d2 755/* Define if you have dlopen() */
181cbcf4 756#define HAVE_DLOPEN 1
0db9d8d2
JJ
757
758/* Define if you have gettimeofday() */
759#define HAVE_GETTIMEOFDAY
760
761/* Define if you have ftime() */
762#define HAVE_FTIME
763
d38b5757
JJ
764/* Define if you have support for large (64 bit size) files */
765#undef HAVE_LARGEFILE_SUPPORT
766
0db9d8d2
JJ
767/* Define if you have localtime() */
768#define HAVE_LOCALTIME
769
770/* Define if you have nanosleep() */
771#undef HAVE_NANOSLEEP
772
773/* Define if you have sched_yield */
774#undef HAVE_SCHED_YIELD
775
4b37e99a
JJ
776/* Define if you have pthread_mutexattr_t and functions to work with it */
777#undef HAVE_PTHREAD_MUTEXATTR_T
778
779/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
780#undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
781
0db9d8d2 782/* Define if you have pthread_cancel */
fb10f04c 783#define HAVE_PTHREAD_CANCEL 1
0db9d8d2 784
181cbcf4
JJ
785/* Define if you have sigaction() */
786#define HAVE_SIGACTION 1
787
788/* Define if you have sigemptyset() */
789#define HAVE_SIGEMPTYSET 1
790
97b305b7
JJ
791/* Define if you have the putenv function. */
792#define HAVE_PUTENV 1
793
794/* Define if you have the setenv function. */
795#undef HAVE_SETENV
796
68874acf
JJ
797/* Define if you have shl_load() */
798#undef HAVE_SHL_LOAD
799
33381c82
JJ
800/* define if you have statfs function */
801#undef HAVE_STATFS
802
4b37e99a
JJ
803/* define if you have statvfs function */
804#undef HAVE_STATVFS
805
fb10f04c
JJ
806/* Define if you have strptime() */
807#define HAVE_STRPTIME 1
808
0db9d8d2 809/* Define if you have all functions to set thread priority */
fb10f04c 810#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
0db9d8d2
JJ
811
812/* Define if you can specify exit functions to a thread */
fb10f04c 813#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
0db9d8d2 814
68874acf
JJ
815/* Define if you have timegm() function */
816#undef HAVE_TIMEGM
0db9d8d2
JJ
817
818/* Define if you have vsnprintf() */
819#undef HAVE_VSNPRINTF
820
ec0d6da3
VZ
821/* Define if you have vsnprintf() declaration in the header */
822#undef HAVE_VSNPRINTF_DECL
823
0db9d8d2 824/* Define if you have usleep() */
508e0acb 825#define HAVE_USLEEP 1
0db9d8d2
JJ
826
827/* Define if you have wcslen function */
508e0acb 828#define HAVE_WCSLEN 1
0db9d8d2
JJ
829
830/* define if you have vsscanf function */
831#undef HAVE_VSSCANF
832
833/* The number of bytes in a char. */
834#define SIZEOF_CHAR 1
835
181cbcf4
JJ
836/* The number of bytes in a wchar_t. */
837#define SIZEOF_WCHAR_T 4
838
0db9d8d2
JJ
839/* The number of bytes in a int. */
840#define SIZEOF_INT 4
841
a369f7c8
VZ
842/* The number of bytes in a pointer. */
843#define SIZEOF_VOID_P 4
0db9d8d2
JJ
844
845/* The number of bytes in a long. */
846#define SIZEOF_LONG 4
847
848/* The number of bytes in a long long. */
849#define SIZEOF_LONG_LONG 8
850
851/* The number of bytes in a short. */
852#define SIZEOF_SHORT 2
853
a369f7c8
VZ
854/* The number of bytes in a size_t. */
855#define SIZEOF_SIZE_T 4
856
1a0d517e
JJ
857/* Define if size_t on your machine is the same type as unsigned int. */
858#define wxSIZE_T_IS_UINT 1
859
860/* Define if size_t on your machine is the same type as unsigned long. */
861#undef wxSIZE_T_IS_ULONG
862
0db9d8d2 863/* Define if you have the dlopen function. */
181cbcf4
JJ
864#define HAVE_DLOPEN 1
865
866/* Define if you have the dlerror function. */
867#define HAVE_DLERROR 1
0db9d8d2 868
4b37e99a
JJ
869/* Define if you have Posix fnctl() function. */
870#define HAVE_FCNTL 1
871
872/* Define if you have BSD flock() function. */
873#undef HAVE_FLOCK
874
0db9d8d2 875/* Define if you have the gethostname function. */
508e0acb 876#define HAVE_GETHOSTNAME 1
0db9d8d2
JJ
877
878/* Define if you have the inet_addr function. */
508e0acb 879#define HAVE_INET_ADDR 1
0db9d8d2
JJ
880
881/* Define if you have the inet_aton function. */
882#undef HAVE_INET_ATON
883
4b37e99a
JJ
884/* Define if you have the mktemp function. */
885#define HAVE_MKTEMP 1
886
887/* Define if you have the mkstemp function. */
888#define HAVE_MKSTEMP 1
889
0db9d8d2
JJ
890/* Define if you have the nanosleep function. */
891#undef HAVE_NANOSLEEP
892
4b37e99a
JJ
893/* Define if you have the putenv function. */
894#define HAVE_PUTENV 1
895
896/* Define if you have the setenv function. */
897#undef HAVE_SETENV
898
0db9d8d2
JJ
899/* Define if you have the shl_load function. */
900#undef HAVE_SHL_LOAD
901
902/* Define if you have strtok_r function. */
903#undef HAVE_STRTOK_R
904
68874acf 905/* Define if you have thr_setconcurrency function */
181cbcf4 906#undef HAVE_THR_SETCONCURRENCY
68874acf 907
0db9d8d2 908/* Define if you have the uname function. */
508e0acb 909#define HAVE_UNAME 1
0db9d8d2
JJ
910
911/* Define if you have the usleep function. */
508e0acb 912#define HAVE_USLEEP 1
0db9d8d2 913
0db9d8d2
JJ
914/* Define if you have the <X11/XKBlib.h> header file. */
915#undef HAVE_X11_XKBLIB_H
916
9988e82e
JJ
917/* Define if you have the fnmatch() function */
918#undef HAVE_FNMATCH
919
0db9d8d2
JJ
920/* Define if you have the <fnmatch.h> header file. */
921#undef HAVE_FNMATCH_H
922
923/* Define if you have the <iostream> header file. */
924#undef HAVE_IOSTREAM
925
926/* Define if you have the <linux/joystick.h> header file. */
927#undef HAVE_LINUX_JOYSTICK_H
928
929/* Define if you have the <sched.h> header file. */
930#undef HAVE_SCHED_H
931
0db9d8d2 932/* Define if you have the <unistd.h> header file. */
508e0acb 933#define HAVE_UNISTD_H 1
0db9d8d2 934
4b37e99a
JJ
935/* Define if you have the <fcntl.h> header file. */
936#define HAVE_FCNTL_H 1
937
0db9d8d2 938/* Define if you have the <wchar.h> header file. */
508e0acb 939#define HAVE_WCHAR_H 1
0db9d8d2
JJ
940
941/* Define if you have the <wcstr.h> header file. */
942#undef HAVE_WCSTR_H
943
4b37e99a
JJ
944/* Define if you have the <wctype.h> header file. */
945#undef HAVE_WCTYPE_H
946
35e92fbf 947/* Define if you have the <iconv.h> header file and iconv() symbol. */
181cbcf4
JJ
948#define HAVE_ICONV_H 1
949
35e92fbf
JJ
950/* Define as "const" if the declaration of iconv() needs const. */
951#undef ICONV_CONST
952
181cbcf4
JJ
953/* Define if you have the <langinfo.h> header file. */
954#define HAVE_LANGINFO_H 1
955
0f02d3d0
JJ
956/* Define if you have the <w32api.h> header file (mingw,cygwin). */
957#undef HAVE_W32API_H
958
f3858bf5
JJ
959/* Define if you have the <esd.h> header file. */
960/* #undef HAVE_ESD_H */
961
9cc454c0
JJ
962/* Define if you have the <sys/soundcard.h> header file. */
963/* #undef HAVE_SYS_SOUNDCARD_H */
964
9e4e191a
JJ
965/* Define if you have wcsrtombs() function */
966#define HAVE_WCSRTOMBS 1
967
fbe47c7b
VS
968/* Define this if you have wputc() */
969#define HAVE_WPUTC 1
970
971/* Define this if you have wputchar() */
972#define HAVE_WPUTCHAR 1
973
974/* Define this if you have putws() */
975#define HAVE_PUTWS 1
976
977/* Define this if you have fputws() */
978#define HAVE_FPUTWS 1
b2ddee86 979
1c2d1459
VZ
980/* Define this if you have strcasecmp() function in <string.h> */
981#define HAVE_STRCASECMP_IN_STRING_H 1
982
983/* Define this if you have strcasecmp() function in <strings.h> */
984#undef HAVE_STRCASECMP_IN_STRINGS_H
985
b2ddee86
JJ
986/* Define this if you have wprintf() and related functions */
987#define HAVE_WPRINTF 1
988
989/* Define this if you have vswprintf() and related functions */
990#define HAVE_VSWPRINTF 1
991
1507adbb
JJ
992/* Define this if you have _vsnwprintf */
993#undef HAVE__VSNWPRINTF
994
68874acf
JJ
995/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
996#undef HAVE_XIM
997
70a7bd90 998/* Define if fseeko and ftello are available. */
f2ba3822
JJ
999#define HAVE_FSEEKO 1
1000
1001/* Define this is you have X11/extensions/shape.h */
1002#define HAVE_XSHAPE 1
1003
1004/* Define this if you have type SPBCDATA */
1005#undef HAVE_SPBCDATA
1006
1007/* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
1008#undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
1009
8be6d81d
JJ
1010/* Define if gtk_icon_size_lookup is missing from the GTK+ headers */
1011#undef NEED_GTK_ICON_SIZE_LOOKUP
1012
f2ba3822
JJ
1013/* Define if you have Pango xft support */
1014#undef HAVE_PANGO_XFT
70a7bd90 1015
b2ddee86
JJ
1016/* ---------------------------------------------------------------------
1017 Win32 adjustments section
1018 ---------------------------------------------------------------------
1019 */
1020
1021#ifdef __WIN32__
1022
1023/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil
1024 with wx/msw/setup.h */
1025#define wxUSE_XPM_IN_MSW wxUSE_XPM
1026
dbbd41ae
JJ
1027#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
1028
b2ddee86
JJ
1029#endif /* __WIN32__ */
1030
9e4e191a
JJ
1031/* --------------------------------------------------------*
1032 * This stuff is static, it doesn't get modified directly
1033 * by configure.
1034 */
1035
1036#include "wx/chkconf.h"
1037
1038/*
1039 define some constants identifying wxWindows version in more details t
1040 just the version number
1041*/
1042
1043/* wxLogChain class available */
1044#define wxHAS_LOG_CHAIN 1
1045
1046/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1047#define wxHAS_WORKING_GTK_DC_BLIT 1
1048
0db9d8d2 1049#endif /* __WX_SETUP_H__ */