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