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