]> git.saurik.com Git - wxWidgets.git/blame - setup.h.in
Some wxOS2 compilation fixes after wxDC changes
[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
adaa20ad 6/* never undefine inline or const keywords for C++ compilation */
458ed37d 7#ifndef __cplusplus
adaa20ad 8
75ef19df
RR
9/* Define to empty if the keyword does not work. */
10#undef const
adaa20ad
VZ
11
12/* Define as __inline if that's what the C compiler calls it. */
13#undef inline
14
15#endif /* __cplusplus */
75ef19df 16
bdc72a22
VZ
17/* fill in with the string wxGetOsDescription() will return */
18#undef WXWIN_OS_DESCRIPTION
19
7e67ed0d
VZ
20/* the installation location prefix from configure */
21#undef wxINSTALL_PREFIX
22
75ef19df
RR
23/* Define to `int' if <sys/types.h> doesn't define. */
24#undef gid_t
25
75ef19df
RR
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
d51253e8
RL
38/* Define if ssize_t type is available. */
39#undef HAVE_SSIZE_T
40
75ef19df
RR
41/* Define if you have the ANSI C header files. */
42#undef STDC_HEADERS
43
5c0a20c3 44/* Define this to get extra features from GNU libc. */
eab489c8 45#ifndef _GNU_SOURCE
5c0a20c3 46#undef _GNU_SOURCE
eab489c8 47#endif
5c0a20c3 48
75ef19df
RR
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
13111b2a 56/* Define this if your version of GTK+ is greater than 1.2 */
75ef19df
RR
57#undef __WXGTK12__
58
f6bcfd97
BP
59/* Define this if your version of GTK+ is greater than 1.2.7 */
60#undef __WXGTK127__
61
9755e73b 62/* Define this if your version of GTK+ is greater than 2.0 */
6f72b082 63#undef __WXGTK20__
13111b2a 64
ec376c8f
VZ
65/* Define this if your version of GTK+ is greater than 2.6 */
66#undef __WXGTK26__
67
a48b6595
VZ
68/* Define this if your version of GTK+ is greater than 2.10 */
69#undef __WXGTK210__
70
16bd311d
RR
71/* Define this if you want to use GPE features */
72#undef __WXGPE__
73
da494b40
MB
74/* Define this if your version of Motif is greater than 2.0 */
75#undef __WXMOTIF20__
76
9c8e9fb6
MB
77/* Define this if you are using Lesstif */
78#undef __WXLESSTIF__
79
75ef19df
RR
80/*
81 * Define to 1 for Unix[-like] system
82 */
83#define wxUSE_UNIX 0
84
85#undef __UNIX__
4a8900f2 86
75ef19df 87#undef __AIX__
75ef19df 88#undef __BSD__
8eee0251 89#undef __DARWIN__
4a8900f2
VZ
90#undef __EMX__
91#undef __FREEBSD__
92#undef __HPUX__
93#undef __LINUX__
f6bcfd97 94#undef __NETBSD__
2b5f62a0 95#undef __OPENBSD__
4a8900f2
VZ
96#undef __OSF__
97#undef __SGI__
98#undef __SOLARIS__
99#undef __SUN__
100#undef __SUNOS__
101#undef __SVR4__
102#undef __SYSV__
75ef19df 103#undef __ULTRIX__
4a8900f2
VZ
104#undef __UNIXWARE__
105#undef __VMS__
106
107#undef __IA64__
108#undef __ALPHA__
75ef19df 109
c79a329d
JS
110/* NanoX (with wxX11) */
111#define wxUSE_NANOX 0
112
8eee0251
GD
113/* PowerPC Darwin & Mac OS X */
114#undef __POWERPC__
82d43113 115#undef TARGET_CARBON
8eee0251 116
1d1af5ea
DE
117/* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
118#undef __Point__
119
f9bc1684
VS
120/* MS-DOS with DJGPP */
121#undef __DOS__
122
80d895cd
HH
123/* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
124#ifndef __WINDOWS__
75ef19df 125#undef __WINDOWS__
80d895cd
HH
126#endif
127
0e448231 128#ifndef __WIN32__
75ef19df 129#undef __WIN32__
0e448231 130#endif
ab82ab07 131#ifndef __GNUWIN32__
75ef19df 132#undef __GNUWIN32__
ab82ab07
MB
133#endif
134#ifndef STRICT
1db46618 135#undef STRICT
ab82ab07
MB
136#endif
137#ifndef WINVER
75ef19df 138#undef WINVER
ab82ab07 139#endif
75ef19df 140
ff398597
SN
141/* OS/2 with EMX */
142#undef __OS2__
143
2fddf893
VZ
144/* --- start common options --- */
145
2fddf893 146#ifndef wxUSE_GUI
f50f0a48 147 #define wxUSE_GUI 0
2fddf893
VZ
148#endif
149
150
dee1a63f
MB
151#define WXWIN_COMPATIBILITY_2_6 0
152
abb6edd1
VS
153#define WXWIN_COMPATIBILITY_2_8 0
154
f50f0a48 155#define wxDIALOG_UNIT_COMPATIBILITY 0
2fddf893
VZ
156
157
158
159#define wxUSE_DEBUG_CONTEXT 0
160
161#define wxUSE_MEMORY_TRACING 0
162
163#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
164
165#define wxUSE_DEBUG_NEW_ALWAYS 0
166
e6bdaaad 167#define wxUSE_ON_FATAL_EXCEPTION 0
2fddf893 168
eaff0f0d
VZ
169#define wxUSE_STACKWALKER 0
170
36b6448c
VZ
171#define wxUSE_DEBUGREPORT 0
172
2fddf893
VZ
173
174#ifndef wxUSE_UNICODE
175 #define wxUSE_UNICODE 0
176#endif
177
f50f0a48 178#define wxUSE_WCHAR_T 0
2fddf893
VZ
179
180
f50f0a48 181#define wxUSE_EXCEPTIONS 0
2fddf893
VZ
182
183#define wxUSE_EXTENDED_RTTI 0
184
2fddf893
VZ
185#define wxUSE_STL 0
186
f50f0a48 187#define wxUSE_LOG 0
2fddf893 188
f50f0a48 189#define wxUSE_LOGWINDOW 0
2fddf893 190
f50f0a48 191#define wxUSE_LOGGUI 0
2fddf893 192
f50f0a48 193#define wxUSE_LOG_DIALOG 0
2fddf893 194
f50f0a48 195#define wxUSE_CMDLINE_PARSER 0
2fddf893 196
f50f0a48 197#define wxUSE_THREADS 0
2fddf893 198
f50f0a48 199#define wxUSE_STREAMS 0
2fddf893
VZ
200
201#define wxUSE_STD_IOSTREAM 0
202
8bb9d852
MW
203#if defined(__DMC__) || defined(__WATCOMC__) \
204 || (defined(_MSC_VER) && _MSC_VER < 1200)
205 #define wxUSE_STD_STRING 0
206#else
207 #define wxUSE_STD_STRING 0
208#endif
668d55c9 209
7a828c7f
VZ
210#define wxUSE_PRINTF_POS_PARAMS 0
211
2fddf893 212
f50f0a48 213#define wxUSE_LONGLONG 0
2fddf893 214
4db03d26
VZ
215#define wxUSE_BASE64 0
216
a1873279
VZ
217#define wxUSE_CONSOLE_EVENTLOOP 0
218
f50f0a48
VZ
219#define wxUSE_FILE 0
220#define wxUSE_FFILE 0
2fddf893 221
f50f0a48 222#define wxUSE_FSVOLUME 0
07158944
VZ
223
224#define wxUSE_STDPATHS 0
2fddf893 225
f50f0a48 226#define wxUSE_TEXTBUFFER 0
2fddf893 227
f50f0a48 228#define wxUSE_TEXTFILE 0
2fddf893 229
f50f0a48 230#define wxUSE_INTL 0
2fddf893 231
f50f0a48 232#define wxUSE_DATETIME 0
2fddf893 233
f50f0a48 234#define wxUSE_TIMER 0
2fddf893 235
f50f0a48 236#define wxUSE_STOPWATCH 0
2fddf893 237
f50f0a48 238#define wxUSE_CONFIG 0
2fddf893 239
f50f0a48 240#define wxUSE_CONFIG_NATIVE 0
2fddf893 241
f50f0a48 242#define wxUSE_DIALUP_MANAGER 0
2fddf893 243
f50f0a48 244#define wxUSE_DYNLIB_CLASS 0
2fddf893 245
f50f0a48 246#define wxUSE_DYNAMIC_LOADER 0
2fddf893 247
f50f0a48 248#define wxUSE_SOCKETS 0
2fddf893 249
8575ff50
VZ
250#define wxUSE_IPV6 0
251
f50f0a48 252#define wxUSE_FILESYSTEM 0
2fddf893 253
f50f0a48 254#define wxUSE_FS_ZIP 0
2fddf893 255
26e422a9
MW
256#define wxUSE_FS_ARCHIVE 0
257
f50f0a48 258#define wxUSE_FS_INET 0
2fddf893 259
9e8e867f 260#define wxUSE_ARCHIVE_STREAMS 0
81f90336 261
f50f0a48 262#define wxUSE_ZIPSTREAM 0
2fddf893 263
26e422a9
MW
264#define wxUSE_TARSTREAM 0
265
f50f0a48 266#define wxUSE_ZLIB 0
2fddf893 267
f50f0a48 268#define wxUSE_APPLE_IEEE 0
2fddf893 269
f50f0a48 270#define wxUSE_JOYSTICK 0
2fddf893 271
ff427585
VZ
272#define wxUSE_FONTENUM 0
273
f50f0a48 274#define wxUSE_FONTMAP 0
2fddf893 275
f50f0a48 276#define wxUSE_MIMETYPE 0
2fddf893 277
f50f0a48 278#define wxUSE_PROTOCOL 0
2fddf893 279
f50f0a48
VZ
280#define wxUSE_PROTOCOL_FILE 0
281#define wxUSE_PROTOCOL_FTP 0
282#define wxUSE_PROTOCOL_HTTP 0
2fddf893 283
f50f0a48 284#define wxUSE_URL 0
2fddf893
VZ
285
286#define wxUSE_URL_NATIVE 0
287
ca5c6ac3
VZ
288#define wxUSE_VARIANT 0
289
f50f0a48 290#define wxUSE_REGEX 0
2fddf893 291
f50f0a48 292#define wxUSE_SYSTEM_OPTIONS 0
2fddf893 293
f50f0a48 294#define wxUSE_SOUND 0
2fddf893 295
f50f0a48 296#define wxUSE_MEDIACTRL 0
2fddf893 297
dccd9b0c
RN
298#define wxUSE_GSTREAMER 0
299
f50f0a48 300#define wxUSE_XRC 0
2fddf893 301
a0680daf 302#define wxUSE_XML wxUSE_XRC
2fddf893 303
50acee04 304#define wxUSE_AUI 0
2fddf893 305
29825f5f
PC
306#define wxUSE_STC 0
307
7b4eedf6 308
e88f6524 309#ifndef wxUSE_GRAPHICS_CONTEXT
f43426c1 310#define wxUSE_GRAPHICS_CONTEXT 0
e88f6524 311#endif
f43426c1
RD
312
313
f50f0a48
VZ
314#define wxUSE_CONTROLS 0
315
316#define wxUSE_POPUPWIN 0
317
318#define wxUSE_TIPWINDOW 0
319
72045d57 320#define wxUSE_ANIMATIONCTRL 0
17e91437
VZ
321#define wxUSE_BUTTON 0
322#define wxUSE_BMPBUTTON 0
323#define wxUSE_CALENDARCTRL 0
324#define wxUSE_CHECKBOX 0
325#define wxUSE_CHECKLISTBOX 0
326#define wxUSE_CHOICE 0
912c3932 327#define wxUSE_COLLPANE 0
ec376c8f 328#define wxUSE_COLOURPICKERCTRL 0
17e91437
VZ
329#define wxUSE_COMBOBOX 0
330#define wxUSE_DATAVIEWCTRL 0
331#define wxUSE_DATEPICKCTRL 0
ec376c8f 332#define wxUSE_DIRPICKERCTRL 0
56eeb973 333#define wxUSE_EDITABLELISTBOX 0
0cf3e587 334#define wxUSE_FILECTRL 0
ec376c8f
VZ
335#define wxUSE_FILEPICKERCTRL 0
336#define wxUSE_FONTPICKERCTRL 0
17e91437
VZ
337#define wxUSE_GAUGE 0
338#define wxUSE_HYPERLINKCTRL 0
339#define wxUSE_LISTBOX 0
340#define wxUSE_LISTCTRL 0
341#define wxUSE_RADIOBOX 0
342#define wxUSE_RADIOBTN 0
343#define wxUSE_SCROLLBAR 0
3f7f284d 344#define wxUSE_SEARCHCTRL 0
17e91437
VZ
345#define wxUSE_SLIDER 0
346#define wxUSE_SPINBTN 0
347#define wxUSE_SPINCTRL 0
348#define wxUSE_STATBOX 0
349#define wxUSE_STATLINE 0
350#define wxUSE_STATTEXT 0
351#define wxUSE_STATBMP 0
352#define wxUSE_TEXTCTRL 0
353#define wxUSE_TOGGLEBTN 0
354#define wxUSE_TREECTRL 0
f50f0a48
VZ
355
356#define wxUSE_STATUSBAR 0
2fddf893 357
c67b4daf 358#define wxUSE_NATIVE_STATUSBAR 0
2fddf893 359
f50f0a48
VZ
360#define wxUSE_TOOLBAR 0
361#define wxUSE_TOOLBAR_NATIVE 0
2fddf893 362
f50f0a48 363#define wxUSE_NOTEBOOK 0
2fddf893 364
f50f0a48 365#define wxUSE_LISTBOOK 0
2fddf893 366
f50f0a48 367#define wxUSE_CHOICEBOOK 0
2fddf893 368
eca15c0d
VZ
369#define wxUSE_TREEBOOK 0
370
59fbed90
JS
371#define wxUSE_TOOLBOOK 0
372
2fddf893
VZ
373#define wxUSE_TAB_DIALOG 0
374
4f167b46
VZ
375#define wxUSE_TASKBARICON 0
376
f50f0a48 377#define wxUSE_GRID 0
2fddf893 378
f50f0a48 379#define wxUSE_MINIFRAME 0
c67b4daf 380
a57d600f 381#define wxUSE_COMBOCTRL 0
21849f3a 382
a57d600f 383#define wxUSE_ODCOMBOBOX 0
21849f3a 384
95a46303
RR
385#define wxUSE_BITMAPCOMBOBOX 0
386
2fddf893 387
f50f0a48 388#define wxUSE_ACCEL 0
2fddf893 389
f50f0a48 390#define wxUSE_HOTKEY 0
2fddf893 391
f50f0a48 392#define wxUSE_CARET 0
2fddf893
VZ
393
394#define wxUSE_DISPLAY 0
395
f50f0a48 396#define wxUSE_GEOMETRY 0
2fddf893 397
f50f0a48 398#define wxUSE_IMAGLIST 0
2fddf893 399
f50f0a48 400#define wxUSE_MENUS 0
2fddf893 401
e36a1739
VZ
402#define wxUSE_NOTIFICATION_MESSAGE 0
403
f50f0a48 404#define wxUSE_SASH 0
2fddf893 405
f50f0a48 406#define wxUSE_SPLITTER 0
2fddf893 407
f50f0a48 408#define wxUSE_TOOLTIPS 0
2fddf893 409
f50f0a48 410#define wxUSE_VALIDATORS 0
2fddf893 411
75a29ef1
VZ
412#ifdef __WXMSW__
413#define wxUSE_AUTOID_MANAGEMENT 0
414#else
415#define wxUSE_AUTOID_MANAGEMENT 0
416#endif
cf2810aa 417
2fddf893 418
f50f0a48 419#define wxUSE_COMMON_DIALOGS 0
2fddf893 420
f50f0a48 421#define wxUSE_BUSYINFO 0
2fddf893 422
f50f0a48 423#define wxUSE_CHOICEDLG 0
2fddf893 424
f50f0a48 425#define wxUSE_COLOURDLG 0
2fddf893 426
f50f0a48 427#define wxUSE_DIRDLG 0
2fddf893
VZ
428
429
f50f0a48 430#define wxUSE_FILEDLG 0
2fddf893 431
f50f0a48 432#define wxUSE_FINDREPLDLG 0
2fddf893 433
f50f0a48 434#define wxUSE_FONTDLG 0
2fddf893 435
f50f0a48 436#define wxUSE_MSGDLG 0
2fddf893 437
f50f0a48 438#define wxUSE_PROGRESSDLG 0
2fddf893 439
f50f0a48 440#define wxUSE_STARTUP_TIPS 0
2fddf893 441
f50f0a48 442#define wxUSE_TEXTDLG 0
2fddf893 443
f50f0a48 444#define wxUSE_NUMBERDLG 0
2fddf893 445
f50f0a48 446#define wxUSE_SPLASH 0
2fddf893 447
f50f0a48 448#define wxUSE_WIZARDDLG 0
2fddf893 449
d2176181
VZ
450#define wxUSE_ABOUTDLG 0
451
2fddf893 452
f50f0a48
VZ
453#define wxUSE_METAFILE 0
454#define wxUSE_ENH_METAFILE 0
2fddf893
VZ
455#define wxUSE_WIN_METAFILES_ALWAYS 0
456
457
f50f0a48 458#define wxUSE_MDI 0
2fddf893 459
f50f0a48 460#define wxUSE_DOC_VIEW_ARCHITECTURE 0
2fddf893 461
f50f0a48 462#define wxUSE_MDI_ARCHITECTURE 0
2fddf893 463
f50f0a48 464#define wxUSE_PRINTING_ARCHITECTURE 0
2fddf893 465
f50f0a48 466#define wxUSE_HTML 0
2fddf893
VZ
467
468#define wxUSE_GLCANVAS 0
469
5d7836c4
JS
470#define wxUSE_RICHTEXT 0
471
2fddf893 472
f50f0a48 473#define wxUSE_CLIPBOARD 0
2fddf893 474
f50f0a48 475#define wxUSE_DATAOBJ 0
2fddf893 476
f50f0a48 477#define wxUSE_DRAG_AND_DROP 0
2fddf893
VZ
478
479#define wxUSE_ACCESSIBILITY 0
480
481
f50f0a48 482#define wxUSE_SNGLINST_CHECKER 0
2fddf893 483
f50f0a48 484#define wxUSE_DRAGIMAGE 0
2fddf893 485
f50f0a48 486#define wxUSE_IPC 0
2fddf893 487
f50f0a48 488#define wxUSE_HELP 0
2fddf893 489
f05b5b77 490
982a44cc 491#define wxUSE_MS_HTML_HELP 0
2fddf893 492
f05b5b77 493
f50f0a48 494#define wxUSE_WXHTML_HELP 0
2fddf893 495
f50f0a48 496#define wxUSE_CONSTRAINTS 0
2fddf893
VZ
497
498
f50f0a48 499#define wxUSE_SPLINES 0
2fddf893
VZ
500
501
f50f0a48 502#define wxUSE_MOUSEWHEEL 0
2fddf893
VZ
503
504
505
506#define wxUSE_POSTSCRIPT 0
507
f50f0a48 508#define wxUSE_AFM_FOR_POSTSCRIPT 0
2fddf893 509
b0fc907f
VZ
510#define wxUSE_SVG 0
511
2fddf893 512
f50f0a48 513#define REMOVE_UNUSED_ARG 0
2fddf893 514
f50f0a48 515#define wxUSE_IOSTREAMH 0
2fddf893
VZ
516
517
518
f50f0a48 519#define wxUSE_IMAGE 0
2fddf893 520
f50f0a48 521#define wxUSE_LIBPNG 0
2fddf893 522
f50f0a48 523#define wxUSE_LIBJPEG 0
2fddf893 524
f50f0a48 525#define wxUSE_LIBTIFF 0
2fddf893 526
3af706cc
VZ
527#define wxUSE_TGA 0
528
f50f0a48 529#define wxUSE_GIF 0
2fddf893 530
f50f0a48 531#define wxUSE_PNM 0
2fddf893 532
f50f0a48 533#define wxUSE_PCX 0
2fddf893
VZ
534
535#define wxUSE_IFF 0
536
f50f0a48 537#define wxUSE_XPM 0
2fddf893 538
f50f0a48 539#define wxUSE_ICO_CUR 0
2fddf893 540
f50f0a48 541#define wxUSE_PALETTE 0
2fddf893 542
ac61a0a1
VZ
543
544#define wxUSE_ALL_THEMES 0
545
546#define wxUSE_THEME_GTK 0
547#define wxUSE_THEME_METAL 0
548#define wxUSE_THEME_MONO 0
549#define wxUSE_THEME_WIN32 0
550
551
2fddf893
VZ
552/* --- end common options --- */
553
a1873279
VZ
554/*
555 * Unix-specific options
556 */
557#define wxUSE_SELECT_DISPATCHER 0
558#define wxUSE_EPOLL_DISPATCHER 0
559
ba0c92a6
VZ
560#define wxUSE_UNICODE_UTF8 0
561#define wxUSE_UTF8_LOCALE_ONLY 0
7ee20d36 562
ba0c92a6
VZ
563/* --- start MSW options --- */
564
565#ifndef wxUSE_UNICODE_MSLU
566 #define wxUSE_UNICODE_MSLU 0
e959aee2
VZ
567#endif
568
ba0c92a6 569#define wxUSE_MFC 0
99e60663 570
ba0c92a6 571#define wxUSE_OLE 0
2bb06220 572
ba0c92a6 573#define wxUSE_OLE_AUTOMATION 0
81727065 574
ba0c92a6 575#define wxUSE_ACTIVEX 0
111d9948 576
38b4a946 577#define wxUSE_DC_CACHEING 0
ba0c92a6
VZ
578
579#define wxUSE_WXDIB 0
580
581#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
582
f77c0fe3
VZ
583#define wxUSE_REGKEY 0
584
ba0c92a6
VZ
585#define wxUSE_RICHEDIT 0
586
587#define wxUSE_RICHEDIT2 0
588
589#define wxUSE_OWNER_DRAWN 0
590
60e92dd5
VZ
591#define wxUSE_TASKBARICON_BALLOONS 0
592
ba0c92a6
VZ
593#define wxUSE_UXTHEME 0
594
ba0c92a6
VZ
595#define wxUSE_INKEDIT 0
596
61873536
VZ
597#define wxUSE_INICONF 0
598
ba0c92a6
VZ
599
600#define wxUSE_DATEPICKCTRL_GENERIC 0
601
602
07b1232d 603#define wxUSE_CRASHREPORT 0
ba0c92a6 604/* --- end MSW options --- */
8c624a14 605
75ef19df
RR
606/*
607 * Supports bool type
608 */
609#undef HAVE_BOOL
610
986ecc86
VZ
611/*
612 * Define if your compiler supports the explicit keyword
613 */
614#undef HAVE_EXPLICIT
615
521196a2
MB
616/*
617 * Define if your compiler supports const_cast<>()
618 */
619#undef HAVE_CONST_CAST
620
4ebb542f
VZ
621/*
622 * Define if your compiler supports reinterpret_cast<>()
623 */
624#undef HAVE_REINTERPRET_CAST
625
ecfd48ca
VZ
626/*
627 * Define if your compiler supports static_cast<>()
628 */
629#undef HAVE_STATIC_CAST
630
8fa53e0e
VZ
631/*
632 * Define if your compiler has C99 va_copy
633 */
634#undef HAVE_VA_COPY
635
636/*
637 * Define if va_list type is an array
638 */
639#undef VA_LIST_IS_ARRAY
640
ca766534
VS
641/*
642 * Define if the compiler supports variadic macros
643 */
644#undef HAVE_VARIADIC_MACROS
645
e87b7833
MB
646/*
647 * Define if your compiler has std::wstring
648 */
649#undef HAVE_STD_WSTRING
650/*
bdcade0a 651 * Define if your compiler has compliant std::string::compare
e87b7833
MB
652 */
653#undef HAVE_STD_STRING_COMPARE
bdcade0a
MB
654/*
655 * Define if your compiler has <hash_map>
656 */
657#undef HAVE_HASH_MAP
658/*
659 * Define if your compiler has <ext/hash_map>
660 */
661#undef HAVE_EXT_HASH_MAP
662/*
663 * Define if your compiler has std::hash_map/hash_set
664 */
665#undef HAVE_STD_HASH_MAP
666/*
667 * Define if your compiler has __gnu_cxx::hash_map/hash_set
668 */
669#undef HAVE_GNU_CXX_HASH_MAP
e87b7833 670
0ff20b9f
VS
671/*
672 * Define if the compiler supports simple visibility declarations.
673 */
674#undef HAVE_VISIBILITY
675
47964710
VS
676/*
677 * Define if the compiler supports GCC's atomic memory access builtins
678 */
679#undef HAVE_GCC_ATOMIC_BUILTINS
680
d6f513f8
VS
681/*
682 * Define if compiler's visibility support in libstdc++ is broken
683 */
684#undef HAVE_BROKEN_LIBSTDCXX_VISIBILITY
685
0aa7fa9a
VS
686/*
687 * The built-in regex supports advanced REs in additional to POSIX's basic
688 * and extended. Your system regex probably won't support this, and in this
689 * case WX_NO_REGEX_ADVANCED should be defined.
690 */
691#undef WX_NO_REGEX_ADVANCED
ab0f0edd
MW
692/*
693 * On GNU systems use re_search instead of regexec, since the latter does a
694 * strlen on the search text affecting the performance of some operations.
695 */
696#undef HAVE_RE_SEARCH
f93ca9fd
VS
697/*
698 * Use SDL for audio (Unix)
699 */
700#define wxUSE_LIBSDL 0
a0767761
VS
701
702/*
703 * Compile sound backends as plugins
704 */
705#define wxUSE_PLUGINS 0
706
bd8a7646
RR
707/*
708 * Use GTK print for printing under GTK+ 2.0
709 */
710#define wxUSE_GTKPRINT 0
7c72311f
RR
711/*
712 * Use GNOME print for printing under GTK+ 2.0
713 */
714#define wxUSE_LIBGNOMEPRINT 0
2b850ae1
RR
715/*
716 * Use GNOME VFS for MIME types
717 */
718#define wxUSE_LIBGNOMEVFS 0
3565d135
RR
719/*
720 * Use the Hildon framework
721 */
722#define wxUSE_LIBHILDON 0
75ef19df
RR
723/*
724 * Have glibc2
725 */
726#define wxHAVE_GLIBC2 0
727/*
728 * Use libXpm
729 */
730#define wxHAVE_LIB_XPM 0
9894cc01
VZ
731/*
732 * Define if you have pthread_cleanup_push/pop()
733 */
734#undef wxHAVE_PTHREAD_CLEANUP
eb4efbdc 735
2fddf893 736/* compatibility */
75ef19df 737/*
2fddf893 738 * Use OpenGL
75ef19df 739 */
2fddf893 740#define wxUSE_OPENGL 0
75ef19df 741
1e6feb95 742/*
2fddf893 743 * Use MS HTML Help via libmspack (Unix)
1e6feb95 744 */
2fddf893 745#define wxUSE_LIBMSPACK 0
1e6feb95 746
04eb894b 747/*
2fddf893 748 * Matthews garbage collection (used for MrEd?)
04eb894b 749 */
2fddf893 750#define WXGARBAGE_COLLECTION_ON 0
04eb894b 751
1e6feb95 752/*
2fddf893 753 * wxWebKitCtrl
1e6feb95 754 */
2fddf893 755#define wxUSE_WEBKIT 0
1e6feb95 756
931d7698
DE
757/*
758 * Objective-C class name uniquifying
759 */
760#define wxUSE_OBJC_UNIQUIFYING 0
761
75ef19df
RR
762/*
763 * The const keyword is being introduced more in wxWindows.
764 * You can use this setting to maintain backward compatibility.
765 * If 0: will use const wherever possible.
766 * If 1: will use const only where necessary
767 * for precompiled headers to work.
768 * If 2: will be totally backward compatible, but precompiled
769 * headers may not work and program size will be larger.
770 */
771#define CONST_COMPATIBILITY 0
772
37e54843
RD
773/*
774 * use the session manager to detect KDE/GNOME
775 */
776#define wxUSE_DETECT_SM 0
777
778
360d6699
VZ
779/* define with the name of timezone variable */
780#undef WX_TIMEZONE
781
75ef19df 782/* The type of 3rd argument to getsockname() - usually size_t or int */
9e03e02d 783#undef WX_SOCKLEN_T
75ef19df 784
6bbbf0ad
DE
785/* The type of 5th argument to getsockopt() - usually size_t or int */
786#undef SOCKOPTLEN_T
787
54ab82b3
VZ
788/* The type of statvfs(2) argument */
789#undef WX_STATFS_T
790
f6bcfd97
BP
791/* The signal handler prototype */
792#undef wxTYPE_SA_HANDLER
793
afc31813
VZ
794/* gettimeofday() usually takes 2 arguments, but some really old systems might
795 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
796#undef WX_GETTIMEOFDAY_NO_TZ
797
0470b1e6
VZ
798/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
799#undef WX_GMTOFF_IN_TM
800
2b5f62a0
VZ
801/* Define if you have poll(2) function */
802#undef HAVE_POLL
803
bd3277fe
VZ
804/* Define if you have pw_gecos field in struct passwd */
805#undef HAVE_PW_GECOS
806
eaff0f0d
VZ
807/* Define if you have __cxa_demangle() in <cxxabi.h> */
808#undef HAVE_CXA_DEMANGLE
809
75ef19df
RR
810/* Define if you have dlopen() */
811#undef HAVE_DLOPEN
812
afc31813
VZ
813/* Define if you have gettimeofday() */
814#undef HAVE_GETTIMEOFDAY
815
9894cc01
VZ
816/* Define if fsync() is available */
817#undef HAVE_FSYNC
818
df08c3b5
PC
819/* Define if round() is available */
820#undef HAVE_ROUND
821
afc31813
VZ
822/* Define if you have ftime() */
823#undef HAVE_FTIME
824
75ef19df
RR
825/* Define if you have nanosleep() */
826#undef HAVE_NANOSLEEP
827
828/* Define if you have sched_yield */
829#undef HAVE_SCHED_YIELD
830
d9b9876f
VZ
831/* Define if you have pthread_mutexattr_t and functions to work with it */
832#undef HAVE_PTHREAD_MUTEXATTR_T
833
123dca7d
VZ
834/* Define if you have pthread_mutexattr_settype() declaration */
835#undef HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL
836
d9b9876f
VZ
837/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
838#undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
839
75ef19df
RR
840/* Define if you have pthread_cancel */
841#undef HAVE_PTHREAD_CANCEL
842
e55a667c
VZ
843/* Define if you have pthread_mutex_timedlock */
844#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
845
9e03e02d
SN
846/* Define if you have pthread_attr_setstacksize */
847#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
848
270a909e
VZ
849/* Define if you have shl_load() */
850#undef HAVE_SHL_LOAD
851
4a767dd5
VZ
852/* Define if you have snprintf() */
853#undef HAVE_SNPRINTF
854
855/* Define if you have snprintf() declaration in the header */
856#undef HAVE_SNPRINTF_DECL
857
7b4eedf6
VZ
858/* Define if you have a snprintf() which supports positional arguments
859 (defined in the unix98 standard) */
860#undef HAVE_UNIX98_PRINTF
861
52e8b690
VZ
862/* define if you have statfs function */
863#undef HAVE_STATFS
864
84ae7ca4
VZ
865/* define if you have statfs prototype */
866#undef HAVE_STATFS_DECL
867
9952adac
VZ
868/* define if you have statvfs function */
869#undef HAVE_STATVFS
870
83307f33
VZ
871/* Define if you have strptime() */
872#undef HAVE_STRPTIME
873
fdda7199
VZ
874/* Define if strptime() is declared in headers */
875#undef HAVE_STRPTIME_DECL
876
ec3edcc9
VZ
877/* Define if you have strtoull() and strtoll() */
878#undef HAVE_STRTOULL
879
75ef19df
RR
880/* Define if you have all functions to set thread priority */
881#undef HAVE_THREAD_PRIORITY_FUNCTIONS
882
75ef19df
RR
883/* Define if you have vsnprintf() */
884#undef HAVE_VSNPRINTF
885
ec0d6da3
VZ
886/* Define if you have vsnprintf() declaration in the header */
887#undef HAVE_VSNPRINTF_DECL
888
62fa8b3a
MW
889/* Define if you have a _broken_ vsnprintf() declaration in the header,
890 * with 'char*' for the 3rd parameter instead of 'const char*' */
891#undef HAVE_BROKEN_VSNPRINTF_DECL
892
75ef19df
RR
893/* Define if you have usleep() */
894#undef HAVE_USLEEP
895
896/* Define if you have wcslen function */
897#undef HAVE_WCSLEN
898
8a02058a
VS
899/* Define if you have wcsdup function */
900#undef HAVE_WCSDUP
901
ec3edcc9
VZ
902/* Define if you have wcstoull() and wcstoll() */
903#undef HAVE_WCSTOULL
904
6f72b082
OK
905/* The number of bytes in a wchar_t. */
906#undef SIZEOF_WCHAR_T
907
75ef19df
RR
908/* The number of bytes in a int. */
909#undef SIZEOF_INT
910
a369f7c8
VZ
911/* The number of bytes in a pointer. */
912#undef SIZEOF_VOID_P
75ef19df
RR
913
914/* The number of bytes in a long. */
915#undef SIZEOF_LONG
916
917/* The number of bytes in a long long. */
918#undef SIZEOF_LONG_LONG
919
920/* The number of bytes in a short. */
921#undef SIZEOF_SHORT
922
a369f7c8
VZ
923/* The number of bytes in a size_t. */
924#undef SIZEOF_SIZE_T
925
d836ee96
VZ
926/* Define if size_t on your machine is the same type as unsigned int. */
927#undef wxSIZE_T_IS_UINT
928
929/* Define if size_t on your machine is the same type as unsigned long. */
930#undef wxSIZE_T_IS_ULONG
931
21f0762a 932/* Define if wchar_t is distinct type in your compiler. */
c5cf8663 933#undef wxWCHAR_T_IS_REAL_TYPE
21f0762a 934
f6bcfd97
BP
935/* Define if you have the dlerror function. */
936#undef HAVE_DLERROR
937
4f3c5f06
VZ
938/* Define if you have Posix fnctl() function. */
939#undef HAVE_FCNTL
940
941/* Define if you have BSD flock() function. */
942#undef HAVE_FLOCK
943
8a064d5c
SN
944/* Define if you have getaddrinfo function. */
945#undef HAVE_GETADDRINFO
946
bebf40d5
SN
947/* Define if you have a gethostbyname_r function taking 6 arguments. */
948#undef HAVE_FUNC_GETHOSTBYNAME_R_6
949
950/* Define if you have a gethostbyname_r function taking 5 arguments. */
951#undef HAVE_FUNC_GETHOSTBYNAME_R_5
952
953/* Define if you have a gethostbyname_r function taking 3 arguments. */
954#undef HAVE_FUNC_GETHOSTBYNAME_R_3
955
956/* Define if you only have a gethostbyname function */
957#undef HAVE_GETHOSTBYNAME
958
75ef19df
RR
959/* Define if you have the gethostname function. */
960#undef HAVE_GETHOSTNAME
961
bebf40d5
SN
962/* Define if you have a getservbyname_r function taking 6 arguments. */
963#undef HAVE_FUNC_GETSERVBYNAME_R_6
964
965/* Define if you have a getservbyname_r function taking 5 arguments. */
966#undef HAVE_FUNC_GETSERVBYNAME_R_5
967
968/* Define if you have a getservbyname_r function taking 4 arguments. */
969#undef HAVE_FUNC_GETSERVBYNAME_R_4
970
971/* Define if you only have a getservbyname function */
972#undef HAVE_GETSERVBYNAME
973
974/* Define if you have the gmtime_r function. */
975#undef HAVE_GMTIME_R
976
75ef19df
RR
977/* Define if you have the inet_addr function. */
978#undef HAVE_INET_ADDR
979
980/* Define if you have the inet_aton function. */
981#undef HAVE_INET_ATON
982
bebf40d5
SN
983/* Define if you have the localtime_r function. */
984#undef HAVE_LOCALTIME_R
985
ade35f11
VZ
986/* Define if you have the mktemp function. */
987#undef HAVE_MKTEMP
988
989/* Define if you have the mkstemp function. */
990#undef HAVE_MKSTEMP
991
8fd0d89b
VZ
992/* Define if you have the putenv function. */
993#undef HAVE_PUTENV
994
995/* Define if you have the setenv function. */
996#undef HAVE_SETENV
997
e90c1d2a
VZ
998/* Define if you have strtok_r function. */
999#undef HAVE_STRTOK_R
1000
9ec64fa7 1001/* Define if you have thr_setconcurrency function */
eb4efbdc 1002#undef HAVE_THR_SETCONCURRENCY
9ec64fa7 1003
75ef19df
RR
1004/* Define if you have the uname function. */
1005#undef HAVE_UNAME
1006
a1353ea4
VZ
1007/* Define if you have the unsetenv function. */
1008#undef HAVE_UNSETENV
1009
75ef19df
RR
1010/* Define if you have the <X11/XKBlib.h> header file. */
1011#undef HAVE_X11_XKBLIB_H
1012
505c8ccd
VS
1013/* Define if you have the <X11/extensions/xf86vmode.h> header file. */
1014#undef HAVE_X11_EXTENSIONS_XF86VMODE_H
1015
75ef19df
RR
1016/* Define if you have the <sched.h> header file. */
1017#undef HAVE_SCHED_H
1018
75ef19df
RR
1019/* Define if you have the <unistd.h> header file. */
1020#undef HAVE_UNISTD_H
1021
0fb0dd83
RR
1022/* Define if you have the <fcntl.h> header file. */
1023#undef HAVE_FCNTL_H
1024
75ef19df
RR
1025/* Define if you have the <wchar.h> header file. */
1026#undef HAVE_WCHAR_H
1027
1028/* Define if you have the <wcstr.h> header file. */
1029#undef HAVE_WCSTR_H
1030
a49ffb32
VZ
1031/* Define if you have <widec.h> (Solaris only) */
1032#undef HAVE_WIDEC_H
1033
b040e242
VS
1034/* Define if you have the <iconv.h> header file and iconv() symbol. */
1035#undef HAVE_ICONV
6f72b082 1036
b040e242
VS
1037/* Define as "const" if the declaration of iconv() needs const. */
1038#undef ICONV_CONST
29f45f85 1039
6f72b082
OK
1040/* Define if you have the <langinfo.h> header file. */
1041#undef HAVE_LANGINFO_H
1042
d4158b5d
VS
1043/* Define if you have the <w32api.h> header file (mingw,cygwin). */
1044#undef HAVE_W32API_H
1045
f93ca9fd
VS
1046/* Define if you have the <sys/soundcard.h> header file. */
1047#undef HAVE_SYS_SOUNDCARD_H
1048
b3e8d00a
VZ
1049/* Define if you have wcsrtombs() function */
1050#undef HAVE_WCSRTOMBS
1051
fbe47c7b
VS
1052/* Define this if you have putws() */
1053#undef HAVE_PUTWS
1054
1055/* Define this if you have fputws() */
1056#undef HAVE_FPUTWS
d74f4b5a 1057
1c2d1459
VZ
1058/* Define this if you have strcasecmp() function in <string.h> */
1059#undef HAVE_STRCASECMP_IN_STRING_H
1060
1061/* Define this if you have strcasecmp() function in <strings.h> */
1062#undef HAVE_STRCASECMP_IN_STRINGS_H
1063
d74f4b5a
VZ
1064/* Define this if you have wprintf() and related functions */
1065#undef HAVE_WPRINTF
1066
6a5c9b3f 1067/* Define this if you have vswprintf() and related functions */
5c6fa7d2
RR
1068#undef HAVE_VSWPRINTF
1069
79668cae
MB
1070/* Define this if you have _vsnwprintf */
1071#undef HAVE__VSNWPRINTF
1072
70a7bd90
VZ
1073/* Define if fseeko and ftello are available. */
1074#undef HAVE_FSEEKO
1075
7799a2d7 1076/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
d84b26a7 1077#undef HAVE_XIM
7799a2d7 1078
0ed330b4 1079/* Define this if you have X11/extensions/shape.h */
f7f78039 1080#undef HAVE_XSHAPE
3a922bb4 1081
0ed330b4
SN
1082/* Define this if you have type SPBCDATA */
1083#undef HAVE_SPBCDATA
1084
304205f1
VS
1085/* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
1086#undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
1087
4ae1af05
MB
1088/* Define if you have Pango xft support */
1089#undef HAVE_PANGO_XFT
1090
bc023abb
MW
1091/* Define if you have the <sys/select.h> header file. */
1092#undef HAVE_SYS_SELECT_H
1093
c06469f6
MW
1094/* Define if fdopen is available. */
1095#undef HAVE_FDOPEN
1096
f2e582dd
MW
1097/* Define if sysconf is available. */
1098#undef HAVE_SYSCONF
1099
1100/* Define if getpwuid_r is available. */
1101#undef HAVE_GETPWUID_R
1102
1103/* Define if getgrgid_r is available. */
1104#undef HAVE_GETGRGID_R
1105
1d65a68f
VZ
1106/* -------------------------------------------------------------------------
1107 Win32 adjustments section
1108 ------------------------------------------------------------------------- */
1109
1110#ifdef __WIN32__
1111
1112/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility
1113 with wx/msw/setup.h */
1114#define wxUSE_XPM_IN_MSW wxUSE_XPM
1115
90eaf433
MW
1116/* When using an external jpeg library and the Windows headers already define
1117 * boolean, define to the type used by the jpeg library for boolean. */
1118#undef wxHACK_BOOLEAN
1119
746b24a0 1120/* Define if the header pbt.h is missing. */
3cf417cb
MW
1121#undef NEED_PBT_H
1122
1d65a68f
VZ
1123#endif /* __WIN32__ */
1124
3a922bb4
RL
1125/* --------------------------------------------------------*
1126 * This stuff is static, it doesn't get modified directly
1127 * by configure.
1128*/
1129
3a922bb4
RL
1130/*
1131 define some constants identifying wxWindows version in more details than
1132 just the version number
1133 */
1134
1135/* wxLogChain class available */
1136#define wxHAS_LOG_CHAIN
1137
1138/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1139#undef wxHAS_WORKING_GTK_DC_BLIT
1140
75ef19df 1141#endif /* __WX_SETUP_H__ */
3a922bb4 1142