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