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