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