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