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