]> git.saurik.com Git - wxWidgets.git/blame - setup.h.in
Keep setup0.h in sync with more ports.
[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
301#define wxUSE_DATEPICKCTRL 0
302#define wxUSE_GAUGE 0
303#define wxUSE_LISTBOX 0
304#define wxUSE_LISTCTRL 0
305#define wxUSE_RADIOBOX 0
306#define wxUSE_RADIOBTN 0
307#define wxUSE_SCROLLBAR 0
308#define wxUSE_SLIDER 0
309#define wxUSE_SPINBTN 0
310#define wxUSE_SPINCTRL 0
311#define wxUSE_STATBOX 0
312#define wxUSE_STATLINE 0
313#define wxUSE_STATTEXT 0
314#define wxUSE_STATBMP 0
315#define wxUSE_TEXTCTRL 0
316#define wxUSE_TOGGLEBTN 0
317#define wxUSE_TREECTRL 0
318
319#define wxUSE_STATUSBAR 0
2fddf893 320
c67b4daf 321#define wxUSE_NATIVE_STATUSBAR 0
2fddf893 322
f50f0a48
VZ
323#define wxUSE_TOOLBAR 0
324#define wxUSE_TOOLBAR_NATIVE 0
2fddf893 325
f50f0a48 326#define wxUSE_NOTEBOOK 0
2fddf893 327
f50f0a48 328#define wxUSE_LISTBOOK 0
2fddf893 329
f50f0a48 330#define wxUSE_CHOICEBOOK 0
2fddf893 331
eca15c0d
VZ
332#define wxUSE_TREEBOOK 0
333
2fddf893
VZ
334#define wxUSE_TAB_DIALOG 0
335
f50f0a48 336#define wxUSE_GRID 0
2fddf893 337
f50f0a48 338#define wxUSE_MINIFRAME 0
c67b4daf 339
2fddf893 340
f50f0a48 341#define wxUSE_ACCEL 0
2fddf893 342
f50f0a48 343#define wxUSE_HOTKEY 0
2fddf893 344
f50f0a48 345#define wxUSE_CARET 0
2fddf893
VZ
346
347#define wxUSE_DISPLAY 0
348
f50f0a48 349#define wxUSE_GEOMETRY 0
2fddf893 350
f50f0a48 351#define wxUSE_IMAGLIST 0
2fddf893 352
f50f0a48 353#define wxUSE_MENUS 0
2fddf893 354
f50f0a48 355#define wxUSE_SASH 0
2fddf893 356
f50f0a48 357#define wxUSE_SPLITTER 0
2fddf893 358
f50f0a48 359#define wxUSE_TOOLTIPS 0
2fddf893 360
f50f0a48 361#define wxUSE_VALIDATORS 0
2fddf893
VZ
362
363
f50f0a48 364#define wxUSE_COMMON_DIALOGS 0
2fddf893 365
f50f0a48 366#define wxUSE_BUSYINFO 0
2fddf893 367
f50f0a48 368#define wxUSE_CHOICEDLG 0
2fddf893 369
f50f0a48 370#define wxUSE_COLOURDLG 0
2fddf893 371
f50f0a48 372#define wxUSE_DIRDLG 0
2fddf893
VZ
373
374
f50f0a48 375#define wxUSE_FILEDLG 0
2fddf893 376
f50f0a48 377#define wxUSE_FINDREPLDLG 0
2fddf893 378
f50f0a48 379#define wxUSE_FONTDLG 0
2fddf893 380
f50f0a48 381#define wxUSE_MSGDLG 0
2fddf893 382
f50f0a48 383#define wxUSE_PROGRESSDLG 0
2fddf893 384
f50f0a48 385#define wxUSE_STARTUP_TIPS 0
2fddf893 386
f50f0a48 387#define wxUSE_TEXTDLG 0
2fddf893 388
f50f0a48 389#define wxUSE_NUMBERDLG 0
2fddf893 390
f50f0a48 391#define wxUSE_SPLASH 0
2fddf893 392
f50f0a48 393#define wxUSE_WIZARDDLG 0
2fddf893
VZ
394
395
f50f0a48
VZ
396#define wxUSE_METAFILE 0
397#define wxUSE_ENH_METAFILE 0
2fddf893
VZ
398#define wxUSE_WIN_METAFILES_ALWAYS 0
399
400
f50f0a48 401#define wxUSE_MDI 0
2fddf893 402
f50f0a48 403#define wxUSE_DOC_VIEW_ARCHITECTURE 0
2fddf893 404
f50f0a48 405#define wxUSE_MDI_ARCHITECTURE 0
2fddf893 406
f50f0a48 407#define wxUSE_PRINTING_ARCHITECTURE 0
2fddf893 408
f50f0a48 409#define wxUSE_HTML 0
2fddf893
VZ
410
411#define wxUSE_GLCANVAS 0
412
413
f50f0a48 414#define wxUSE_CLIPBOARD 0
2fddf893 415
f50f0a48 416#define wxUSE_DATAOBJ 0
2fddf893 417
f50f0a48 418#define wxUSE_DRAG_AND_DROP 0
2fddf893
VZ
419
420#define wxUSE_ACCESSIBILITY 0
421
422
f50f0a48 423#define wxUSE_SNGLINST_CHECKER 0
2fddf893 424
f50f0a48 425#define wxUSE_DRAGIMAGE 0
2fddf893 426
f50f0a48 427#define wxUSE_IPC 0
2fddf893 428
f50f0a48 429#define wxUSE_HELP 0
2fddf893 430
f50f0a48 431#define wxUSE_MS_HTML_HELP 0
2fddf893
VZ
432
433
f50f0a48 434#define wxUSE_WXHTML_HELP 0
2fddf893
VZ
435
436#define wxUSE_RESOURCES 0
437
f50f0a48 438#define wxUSE_CONSTRAINTS 0
2fddf893
VZ
439
440
f50f0a48 441#define wxUSE_SPLINES 0
2fddf893
VZ
442
443
f50f0a48 444#define wxUSE_MOUSEWHEEL 0
2fddf893
VZ
445
446
447
448#define wxUSE_POSTSCRIPT 0
449
f50f0a48 450#define wxUSE_AFM_FOR_POSTSCRIPT 0
2fddf893 451
2fddf893
VZ
452
453#define wxUSE_ODBC 0
454
f50f0a48 455#define wxODBC_FWD_ONLY_CURSORS 0
2fddf893
VZ
456
457#define wxODBC_BACKWARD_COMPATABILITY 0
458
459
f50f0a48 460#define REMOVE_UNUSED_ARG 0
2fddf893 461
f50f0a48 462#define wxUSE_IOSTREAMH 0
2fddf893
VZ
463
464
465
f50f0a48 466#define wxUSE_IMAGE 0
2fddf893 467
f50f0a48 468#define wxUSE_LIBPNG 0
2fddf893 469
f50f0a48 470#define wxUSE_LIBJPEG 0
2fddf893 471
f50f0a48 472#define wxUSE_LIBTIFF 0
2fddf893 473
f50f0a48 474#define wxUSE_GIF 0
2fddf893 475
f50f0a48 476#define wxUSE_PNM 0
2fddf893 477
f50f0a48 478#define wxUSE_PCX 0
2fddf893
VZ
479
480#define wxUSE_IFF 0
481
f50f0a48 482#define wxUSE_XPM 0
2fddf893 483
f50f0a48 484#define wxUSE_ICO_CUR 0
2fddf893 485
f50f0a48 486#define wxUSE_PALETTE 0
2fddf893
VZ
487
488/* --- end common options --- */
489
c67b4daf
VZ
490/* for some features we don't have dedicated configure switches, so just choose
491 * the common values automatically */
492#if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__)
7ee20d36
SN
493#define wxUSE_OWNER_DRAWN 1
494#endif
495
b39dbf34 496#if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
e959aee2 497#define wxUSE_RICHEDIT 1
3f694ff5 498#define wxUSE_RICHEDIT2 1
e959aee2
VZ
499#else
500#define wxUSE_RICHEDIT 0
3f694ff5 501#define wxUSE_RICHEDIT2 0
e959aee2
VZ
502#endif
503
2bb06220
VZ
504#define wxUSE_UNICODE_MSLU 0
505
38b4a946
VZ
506#define wxUSE_DC_CACHEING 0
507
8c624a14
MB
508#define wxUSE_GADGETS 0
509
75ef19df
RR
510/*
511 * Supports bool type
512 */
513#undef HAVE_BOOL
514
986ecc86
VZ
515/*
516 * Define if your compiler supports the explicit keyword
517 */
518#undef HAVE_EXPLICIT
519
521196a2
MB
520/*
521 * Define if your compiler supports const_cast<>()
522 */
523#undef HAVE_CONST_CAST
524
4ebb542f
VZ
525/*
526 * Define if your compiler supports reinterpret_cast<>()
527 */
528#undef HAVE_REINTERPRET_CAST
529
ecfd48ca
VZ
530/*
531 * Define if your compiler supports static_cast<>()
532 */
533#undef HAVE_STATIC_CAST
534
8fa53e0e
VZ
535/*
536 * Define if your compiler has C99 va_copy
537 */
538#undef HAVE_VA_COPY
539
540/*
541 * Define if va_list type is an array
542 */
543#undef VA_LIST_IS_ARRAY
544
e87b7833
MB
545/*
546 * Define if your compiler has std::wstring
547 */
548#undef HAVE_STD_WSTRING
549/*
bdcade0a 550 * Define if your compiler has compliant std::string::compare
e87b7833
MB
551 */
552#undef HAVE_STD_STRING_COMPARE
bdcade0a
MB
553/*
554 * Define if your compiler has <hash_map>
555 */
556#undef HAVE_HASH_MAP
557/*
558 * Define if your compiler has <ext/hash_map>
559 */
560#undef HAVE_EXT_HASH_MAP
561/*
562 * Define if your compiler has std::hash_map/hash_set
563 */
564#undef HAVE_STD_HASH_MAP
565/*
566 * Define if your compiler has __gnu_cxx::hash_map/hash_set
567 */
568#undef HAVE_GNU_CXX_HASH_MAP
e87b7833 569
0aa7fa9a
VS
570/*
571 * The built-in regex supports advanced REs in additional to POSIX's basic
572 * and extended. Your system regex probably won't support this, and in this
573 * case WX_NO_REGEX_ADVANCED should be defined.
574 */
575#undef WX_NO_REGEX_ADVANCED
f93ca9fd
VS
576/*
577 * Use SDL for audio (Unix)
578 */
579#define wxUSE_LIBSDL 0
a0767761
VS
580
581/*
582 * Compile sound backends as plugins
583 */
584#define wxUSE_PLUGINS 0
585
7c72311f
RR
586/*
587 * Use GNOME print for printing under GTK+ 2.0
588 */
589#define wxUSE_LIBGNOMEPRINT 0
75ef19df
RR
590/*
591 * Use iODBC
592 */
0bdb08e7 593#define wxUSE_BUILTIN_IODBC 0
3fed1840
RR
594/*
595 * Use freetype
596 */
597#define wxUSE_FREETYPE 0
75ef19df
RR
598/*
599 * Have glibc2
600 */
601#define wxHAVE_GLIBC2 0
602/*
603 * Use libXpm
604 */
605#define wxHAVE_LIB_XPM 0
9894cc01
VZ
606/*
607 * Define if you have pthread_cleanup_push/pop()
608 */
609#undef wxHAVE_PTHREAD_CLEANUP
75ef19df 610/*
2fddf893 611 * Use consistent PostScript fonts for AFM and printing (!)
eb4efbdc 612 */
2fddf893 613#define wxUSE_NORMALIZED_PS_FONTS 0
eb4efbdc 614
2fddf893
VZ
615/* compatibility */
616#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
4f3c5f06 617
75ef19df 618/*
2fddf893 619 * Use OpenGL
75ef19df 620 */
2fddf893 621#define wxUSE_OPENGL 0
75ef19df 622
1e6feb95 623/*
2fddf893 624 * Set to 1 to compile MS Windows XP theme engine support
1e6feb95 625 */
2fddf893 626#define wxUSE_UXTHEME 1
1e6feb95 627
0b01706f 628/*
2fddf893
VZ
629 * Set to 1 to auto-adapt to MS Windows XP themes where possible
630 * (notably, wxNotebook pages)
0b01706f 631 */
2fddf893 632#define wxUSE_UXTHEME_AUTO 1
0b01706f 633
75ef19df 634/*
2fddf893
VZ
635 * Work around a bug in GNU libc 5.x wcstombs() implementation.
636 *
637 * Note that you must link your programs with libc.a if you enable this and you
638 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
639 * thread-safe version of wcstombs()).
75ef19df 640 */
2fddf893 641#define wxUSE_WCSRTOMBS 0
75ef19df 642
1e6feb95 643/*
2fddf893
VZ
644 * Use the new experimental implementation of wxString::Printf()?
645 *
646 * Warning: enabling this may cause internal compiler errors with gcc!
1e6feb95 647 */
2fddf893 648#define wxUSE_EXPERIMENTAL_PRINTF 0
1e6feb95
VZ
649
650/*
2fddf893 651 * Use wxGetResource & wxWriteResource (change .Xdefaults)
1e6feb95 652 */
2fddf893 653#define wxUSE_X_RESOURCES 0
8db37e06 654/*
2fddf893 655 * Use OLE (MSW only)
8db37e06 656 */
2fddf893 657#define wxUSE_OLE 0
8db37e06 658
2fddf893
VZ
659/* for compatibility */
660#define wxUSE_WX_RESOURCES wxUSE_RESOURCES
1e6feb95
VZ
661
662/*
2fddf893 663 * Use MS HTML Help via libmspack (Unix)
1e6feb95 664 */
2fddf893 665#define wxUSE_LIBMSPACK 0
1e6feb95 666
04eb894b 667/*
2fddf893 668 * Matthews garbage collection (used for MrEd?)
04eb894b 669 */
2fddf893 670#define WXGARBAGE_COLLECTION_ON 0
04eb894b 671
1e6feb95 672/*
2fddf893 673 * wxWebKitCtrl
1e6feb95 674 */
2fddf893 675#define wxUSE_WEBKIT 0
1e6feb95 676
75ef19df
RR
677/*
678 * The const keyword is being introduced more in wxWindows.
679 * You can use this setting to maintain backward compatibility.
680 * If 0: will use const wherever possible.
681 * If 1: will use const only where necessary
682 * for precompiled headers to work.
683 * If 2: will be totally backward compatible, but precompiled
684 * headers may not work and program size will be larger.
685 */
686#define CONST_COMPATIBILITY 0
687
360d6699
VZ
688/* define with the name of timezone variable */
689#undef WX_TIMEZONE
690
75ef19df 691/* The type of 3rd argument to getsockname() - usually size_t or int */
9e03e02d 692#undef WX_SOCKLEN_T
75ef19df 693
6bbbf0ad
DE
694/* The type of 5th argument to getsockopt() - usually size_t or int */
695#undef SOCKOPTLEN_T
696
54ab82b3
VZ
697/* The type of statvfs(2) argument */
698#undef WX_STATFS_T
699
f6bcfd97
BP
700/* The signal handler prototype */
701#undef wxTYPE_SA_HANDLER
702
afc31813
VZ
703/* gettimeofday() usually takes 2 arguments, but some really old systems might
704 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
705#undef WX_GETTIMEOFDAY_NO_TZ
706
0470b1e6
VZ
707/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
708#undef WX_GMTOFF_IN_TM
709
2b5f62a0
VZ
710/* Define if you have poll(2) function */
711#undef HAVE_POLL
712
bd3277fe
VZ
713/* Define if you have pw_gecos field in struct passwd */
714#undef HAVE_PW_GECOS
715
eaff0f0d
VZ
716/* Define if you have __cxa_demangle() in <cxxabi.h> */
717#undef HAVE_CXA_DEMANGLE
718
75ef19df
RR
719/* Define if you have dlopen() */
720#undef HAVE_DLOPEN
721
afc31813
VZ
722/* Define if you have gettimeofday() */
723#undef HAVE_GETTIMEOFDAY
724
9894cc01
VZ
725/* Define if fsync() is available */
726#undef HAVE_FSYNC
727
afc31813
VZ
728/* Define if you have ftime() */
729#undef HAVE_FTIME
730
90dd450c
VZ
731/* Define if you have support for large (64 bit size) files */
732#undef HAVE_LARGEFILE_SUPPORT
733
afc31813
VZ
734/* Define if you have localtime() */
735#undef HAVE_LOCALTIME
736
75ef19df
RR
737/* Define if you have nanosleep() */
738#undef HAVE_NANOSLEEP
739
740/* Define if you have sched_yield */
741#undef HAVE_SCHED_YIELD
742
d9b9876f
VZ
743/* Define if you have pthread_mutexattr_t and functions to work with it */
744#undef HAVE_PTHREAD_MUTEXATTR_T
745
123dca7d
VZ
746/* Define if you have pthread_mutexattr_settype() declaration */
747#undef HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL
748
d9b9876f
VZ
749/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
750#undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
751
75ef19df
RR
752/* Define if you have pthread_cancel */
753#undef HAVE_PTHREAD_CANCEL
754
9e03e02d
SN
755/* Define if you have pthread_attr_setstacksize */
756#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
757
eb4efbdc
VZ
758/* Define if you have sigaction() */
759#undef HAVE_SIGACTION
760
761/* Define if you have sigemptyset() */
762#undef HAVE_SIGEMPTYSET
763
270a909e
VZ
764/* Define if you have shl_load() */
765#undef HAVE_SHL_LOAD
766
4a767dd5
VZ
767/* Define if you have snprintf() */
768#undef HAVE_SNPRINTF
769
770/* Define if you have snprintf() declaration in the header */
771#undef HAVE_SNPRINTF_DECL
772
62fa8b3a
MW
773/* Define if you have a _broken_ snprintf() declaration in the header,
774 * with 'char*' for the 3rd parameter instead of 'const char*' */
775#undef HAVE_BROKEN_SNPRINTF_DECL
776
52e8b690
VZ
777/* define if you have statfs function */
778#undef HAVE_STATFS
779
84ae7ca4
VZ
780/* define if you have statfs prototype */
781#undef HAVE_STATFS_DECL
782
9952adac
VZ
783/* define if you have statvfs function */
784#undef HAVE_STATVFS
785
83307f33
VZ
786/* Define if you have strptime() */
787#undef HAVE_STRPTIME
788
fdda7199
VZ
789/* Define if strptime() is declared in headers */
790#undef HAVE_STRPTIME_DECL
791
75ef19df
RR
792/* Define if you have all functions to set thread priority */
793#undef HAVE_THREAD_PRIORITY_FUNCTIONS
794
270a909e
VZ
795/* Define if you have timegm() function */
796#undef HAVE_TIMEGM
75ef19df
RR
797
798/* Define if you have vsnprintf() */
799#undef HAVE_VSNPRINTF
800
ec0d6da3
VZ
801/* Define if you have vsnprintf() declaration in the header */
802#undef HAVE_VSNPRINTF_DECL
803
62fa8b3a
MW
804/* Define if you have a _broken_ vsnprintf() declaration in the header,
805 * with 'char*' for the 3rd parameter instead of 'const char*' */
806#undef HAVE_BROKEN_VSNPRINTF_DECL
807
75ef19df
RR
808/* Define if you have usleep() */
809#undef HAVE_USLEEP
810
811/* Define if you have wcslen function */
812#undef HAVE_WCSLEN
813
814/* define if you have vsscanf function */
815#undef HAVE_VSSCANF
816
817/* The number of bytes in a char. */
818#undef SIZEOF_CHAR
819
6f72b082
OK
820/* The number of bytes in a wchar_t. */
821#undef SIZEOF_WCHAR_T
822
75ef19df
RR
823/* The number of bytes in a int. */
824#undef SIZEOF_INT
825
a369f7c8
VZ
826/* The number of bytes in a pointer. */
827#undef SIZEOF_VOID_P
75ef19df
RR
828
829/* The number of bytes in a long. */
830#undef SIZEOF_LONG
831
832/* The number of bytes in a long long. */
833#undef SIZEOF_LONG_LONG
834
835/* The number of bytes in a short. */
836#undef SIZEOF_SHORT
837
a369f7c8
VZ
838/* The number of bytes in a size_t. */
839#undef SIZEOF_SIZE_T
840
d836ee96
VZ
841/* Define if size_t on your machine is the same type as unsigned int. */
842#undef wxSIZE_T_IS_UINT
843
844/* Define if size_t on your machine is the same type as unsigned long. */
845#undef wxSIZE_T_IS_ULONG
846
75ef19df
RR
847/* Define if you have the dlopen function. */
848#undef HAVE_DLOPEN
849
f6bcfd97
BP
850/* Define if you have the dlerror function. */
851#undef HAVE_DLERROR
852
4f3c5f06
VZ
853/* Define if you have Posix fnctl() function. */
854#undef HAVE_FCNTL
855
856/* Define if you have BSD flock() function. */
857#undef HAVE_FLOCK
858
75ef19df
RR
859/* Define if you have the gethostname function. */
860#undef HAVE_GETHOSTNAME
861
862/* Define if you have the inet_addr function. */
863#undef HAVE_INET_ADDR
864
865/* Define if you have the inet_aton function. */
866#undef HAVE_INET_ATON
867
ade35f11
VZ
868/* Define if you have the mktemp function. */
869#undef HAVE_MKTEMP
870
871/* Define if you have the mkstemp function. */
872#undef HAVE_MKSTEMP
873
75ef19df
RR
874/* Define if you have the nanosleep function. */
875#undef HAVE_NANOSLEEP
876
8fd0d89b
VZ
877/* Define if you have the putenv function. */
878#undef HAVE_PUTENV
879
880/* Define if you have the setenv function. */
881#undef HAVE_SETENV
882
75ef19df
RR
883/* Define if you have the shl_load function. */
884#undef HAVE_SHL_LOAD
885
e90c1d2a
VZ
886/* Define if you have strtok_r function. */
887#undef HAVE_STRTOK_R
888
9ec64fa7 889/* Define if you have thr_setconcurrency function */
eb4efbdc 890#undef HAVE_THR_SETCONCURRENCY
9ec64fa7 891
75ef19df
RR
892/* Define if you have the uname function. */
893#undef HAVE_UNAME
894
895/* Define if you have the usleep function. */
896#undef HAVE_USLEEP
897
75ef19df
RR
898/* Define if you have the <X11/XKBlib.h> header file. */
899#undef HAVE_X11_XKBLIB_H
900
505c8ccd
VS
901/* Define if you have the <X11/extensions/xf86vmode.h> header file. */
902#undef HAVE_X11_EXTENSIONS_XF86VMODE_H
903
f530f862
VZ
904/* Define if you have the fnmatch() function */
905#undef HAVE_FNMATCH
906
75ef19df
RR
907/* Define if you have the <fnmatch.h> header file. */
908#undef HAVE_FNMATCH_H
909
910/* Define if you have the <iostream> header file. */
911#undef HAVE_IOSTREAM
912
913/* Define if you have the <linux/joystick.h> header file. */
914#undef HAVE_LINUX_JOYSTICK_H
915
916/* Define if you have the <sched.h> header file. */
917#undef HAVE_SCHED_H
918
75ef19df
RR
919/* Define if you have the <unistd.h> header file. */
920#undef HAVE_UNISTD_H
921
0fb0dd83
RR
922/* Define if you have the <fcntl.h> header file. */
923#undef HAVE_FCNTL_H
924
75ef19df
RR
925/* Define if you have the <wchar.h> header file. */
926#undef HAVE_WCHAR_H
927
928/* Define if you have the <wcstr.h> header file. */
929#undef HAVE_WCSTR_H
930
0fbb762e
MB
931/* Define if you have the <wctype.h> header file. */
932#undef HAVE_WCTYPE_H
933
b040e242
VS
934/* Define if you have the <iconv.h> header file and iconv() symbol. */
935#undef HAVE_ICONV
6f72b082 936
b040e242
VS
937/* Define as "const" if the declaration of iconv() needs const. */
938#undef ICONV_CONST
29f45f85 939
6f72b082
OK
940/* Define if you have the <langinfo.h> header file. */
941#undef HAVE_LANGINFO_H
942
d4158b5d
VS
943/* Define if you have the <w32api.h> header file (mingw,cygwin). */
944#undef HAVE_W32API_H
945
38d85c64
VS
946/* Define if you have the <esd.h> header file. */
947#undef HAVE_ESD_H
948
f93ca9fd
VS
949/* Define if you have the <sys/soundcard.h> header file. */
950#undef HAVE_SYS_SOUNDCARD_H
951
d19d1899
MB
952/* Define if you have a CD-ROM interface known to mmedia. */
953#undef HAVE_KNOWN_CDROM_INTERFACE
954
b3e8d00a
VZ
955/* Define if you have wcsrtombs() function */
956#undef HAVE_WCSRTOMBS
957
fbe47c7b
VS
958/* Define this if you have wputc() */
959#undef HAVE_WPUTC
960
961/* Define this if you have wputchar() */
962#undef HAVE_WPUTCHAR
963
964/* Define this if you have putws() */
965#undef HAVE_PUTWS
966
967/* Define this if you have fputws() */
968#undef HAVE_FPUTWS
d74f4b5a 969
1c2d1459
VZ
970/* Define this if you have strcasecmp() function in <string.h> */
971#undef HAVE_STRCASECMP_IN_STRING_H
972
973/* Define this if you have strcasecmp() function in <strings.h> */
974#undef HAVE_STRCASECMP_IN_STRINGS_H
975
d74f4b5a
VZ
976/* Define this if you have wprintf() and related functions */
977#undef HAVE_WPRINTF
978
5c6fa7d2
RR
979/* Define this if you have wprintf() and related functions */
980#undef HAVE_VSWPRINTF
981
79668cae
MB
982/* Define this if you have _vsnwprintf */
983#undef HAVE__VSNWPRINTF
984
70a7bd90
VZ
985/* Define if fseeko and ftello are available. */
986#undef HAVE_FSEEKO
987
7799a2d7 988/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
d84b26a7 989#undef HAVE_XIM
7799a2d7 990
0ed330b4 991/* Define this if you have X11/extensions/shape.h */
f7f78039 992#undef HAVE_XSHAPE
3a922bb4 993
0ed330b4
SN
994/* Define this if you have type SPBCDATA */
995#undef HAVE_SPBCDATA
996
304205f1
VS
997/* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
998#undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
999
abc736fd
MW
1000/* Define if gtk_icon_size_lookup is missing from the GTK+ headers */
1001#undef NEED_GTK_ICON_SIZE_LOOKUP
1002
4ae1af05
MB
1003/* Define if you have Pango xft support */
1004#undef HAVE_PANGO_XFT
1005
1d65a68f
VZ
1006/* -------------------------------------------------------------------------
1007 Win32 adjustments section
1008 ------------------------------------------------------------------------- */
1009
1010#ifdef __WIN32__
1011
1012/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility
1013 with wx/msw/setup.h */
1014#define wxUSE_XPM_IN_MSW wxUSE_XPM
1015
e6bdaaad
MW
1016// Set to 0 to disable PostScript print/preview architecture code under Windows
1017// (just use Windows printing).
1018#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
1019
1d65a68f
VZ
1020#endif /* __WIN32__ */
1021
3a922bb4
RL
1022/* --------------------------------------------------------*
1023 * This stuff is static, it doesn't get modified directly
1024 * by configure.
1025*/
1026
1027#include "wx/chkconf.h"
1028
1029/*
1030 define some constants identifying wxWindows version in more details than
1031 just the version number
1032 */
1033
1034/* wxLogChain class available */
1035#define wxHAS_LOG_CHAIN
1036
1037/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1038#undef wxHAS_WORKING_GTK_DC_BLIT
1039
1040
75ef19df 1041#endif /* __WX_SETUP_H__ */
3a922bb4 1042