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