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