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