]>
Commit | Line | Data |
---|---|---|
1 | /////////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/setup_gccxml.h | |
3 | // Purpose: setup.h settings for gccxml | |
4 | // Author: Francesco Montorsi | |
5 | // Modified by: | |
6 | // RCS-ID: $Id$ | |
7 | // Copyright: (c) Francesco Montorsi | |
8 | // Licence: wxWindows licence | |
9 | /////////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | ||
12 | /* This define (__WX_SETUP_H__) is used both to ensure setup.h is included | |
13 | * only once and to indicate that we are building using configure. */ | |
14 | #ifndef __WX_SETUP_H__ | |
15 | #define __WX_SETUP_H__ | |
16 | ||
17 | /* fill in with the string wxGetOsDescription() will return */ | |
18 | #define WXWIN_OS_DESCRIPTION "Linux 2.6.24-12-386 i686" | |
19 | ||
20 | /* the installation location prefix from configure */ | |
21 | #define wxINSTALL_PREFIX "/usr/local" | |
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 | #define HAVE_SSIZE_T 1 | |
40 | ||
41 | /* Define if you have the ANSI C header files. */ | |
42 | #define STDC_HEADERS 1 | |
43 | ||
44 | /* Define this to get extra features from GNU libc. */ | |
45 | #ifndef _GNU_SOURCE | |
46 | #define _GNU_SOURCE 1 | |
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 | #define __WXGTK12__ 1 | |
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 | #define __WXGTK20__ 1 | |
64 | ||
65 | /* Define this if your version of GTK+ is greater than 2.6 */ | |
66 | #define __WXGTK26__ 1 | |
67 | ||
68 | /* Define this if your version of GTK+ is greater than 2.10 */ | |
69 | #define __WXGTK210__ 1 | |
70 | ||
71 | /* Define this if you want to use GPE features */ | |
72 | /* #undef __WXGPE__ */ | |
73 | ||
74 | /* Define this if your version of Motif is greater than 2.0 */ | |
75 | /* #undef __WXMOTIF20__ */ | |
76 | ||
77 | /* Define this if you are using Lesstif */ | |
78 | /* #undef __WXLESSTIF__ */ | |
79 | ||
80 | /* | |
81 | * Define to 1 for Unix[-like] system | |
82 | */ | |
83 | #define wxUSE_UNIX 1 | |
84 | ||
85 | #define __UNIX__ 1 | |
86 | ||
87 | /* #undef __AIX__ */ | |
88 | /* #undef __BSD__ */ | |
89 | /* #undef __DARWIN__ */ | |
90 | /* #undef __EMX__ */ | |
91 | /* #undef __FREEBSD__ */ | |
92 | /* #undef __HPUX__ */ | |
93 | #define __LINUX__ 1 | |
94 | /* #undef __NETBSD__ */ | |
95 | /* #undef __OPENBSD__ */ | |
96 | /* #undef __OSF__ */ | |
97 | /* #undef __SGI__ */ | |
98 | /* #undef __SOLARIS__ */ | |
99 | /* #undef __SUN__ */ | |
100 | /* #undef __SUNOS__ */ | |
101 | /* #undef __SVR4__ */ | |
102 | /* #undef __SYSV__ */ | |
103 | /* #undef __ULTRIX__ */ | |
104 | /* #undef __UNIXWARE__ */ | |
105 | /* #undef __VMS__ */ | |
106 | ||
107 | /* #undef __IA64__ */ | |
108 | /* #undef __ALPHA__ */ | |
109 | ||
110 | /* NanoX (with wxX11) */ | |
111 | #define wxUSE_NANOX 0 | |
112 | ||
113 | /* PowerPC Darwin & Mac OS X */ | |
114 | /* #undef __POWERPC__ */ | |
115 | /* #undef TARGET_CARBON */ | |
116 | ||
117 | /* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */ | |
118 | /* #undef __Point__ */ | |
119 | ||
120 | /* MS-DOS with DJGPP */ | |
121 | /* #undef __DOS__ */ | |
122 | ||
123 | /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ | |
124 | #ifndef __WINDOWS__ | |
125 | /* #undef __WINDOWS__ */ | |
126 | #endif | |
127 | ||
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 1 | |
148 | #endif | |
149 | ||
150 | ||
151 | #define WXWIN_COMPATIBILITY_2_6 0 | |
152 | ||
153 | #define WXWIN_COMPATIBILITY_2_8 1 | |
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 1 | |
168 | ||
169 | #define wxUSE_STACKWALKER 1 | |
170 | ||
171 | #define wxUSE_DEBUGREPORT 1 | |
172 | ||
173 | ||
174 | #ifndef wxUSE_UNICODE | |
175 | #define wxUSE_UNICODE 1 | |
176 | #endif | |
177 | ||
178 | #define wxUSE_WCHAR_T 1 | |
179 | ||
180 | ||
181 | #define wxUSE_EXCEPTIONS 1 | |
182 | ||
183 | #define wxUSE_EXTENDED_RTTI 0 | |
184 | ||
185 | #define wxUSE_STL 0 | |
186 | ||
187 | #define wxUSE_LOG 1 | |
188 | ||
189 | #define wxUSE_LOGWINDOW 1 | |
190 | ||
191 | #define wxUSE_LOGGUI 1 | |
192 | ||
193 | #define wxUSE_LOG_DIALOG 1 | |
194 | ||
195 | #define wxUSE_CMDLINE_PARSER 1 | |
196 | ||
197 | #define wxUSE_THREADS 1 | |
198 | ||
199 | #define wxUSE_WEAKREF 1 | |
200 | ||
201 | #define wxUSE_STREAMS 1 | |
202 | ||
203 | #if defined(__DMC__) || defined(__WATCOMC__) \ | |
204 | || (defined(_MSC_VER) && _MSC_VER < 1200) | |
205 | #define wxUSE_STD_DEFAULT 0 | |
206 | #else | |
207 | #define wxUSE_STD_DEFAULT 0 | |
208 | #endif | |
209 | ||
210 | #define wxUSE_STD_IOSTREAM 1 | |
211 | ||
212 | #define wxUSE_STD_STRING 1 | |
213 | ||
214 | #define wxUSE_PRINTF_POS_PARAMS 1 | |
215 | ||
216 | ||
217 | #define wxUSE_LONGLONG 1 | |
218 | ||
219 | #define wxUSE_BASE64 1 | |
220 | ||
221 | #define wxUSE_CONSOLE_EVENTLOOP 1 | |
222 | ||
223 | #define wxUSE_FILE 1 | |
224 | #define wxUSE_FFILE 1 | |
225 | ||
226 | #define wxUSE_FSVOLUME 0 | |
227 | ||
228 | #define wxUSE_STDPATHS 1 | |
229 | ||
230 | #define wxUSE_TEXTBUFFER 1 | |
231 | ||
232 | #define wxUSE_TEXTFILE 1 | |
233 | ||
234 | #define wxUSE_INTL 1 | |
235 | ||
236 | #define wxUSE_XLOCALE 1 | |
237 | ||
238 | #define wxUSE_DATETIME 1 | |
239 | ||
240 | #define wxUSE_TIMER 1 | |
241 | ||
242 | #define wxUSE_STOPWATCH 1 | |
243 | ||
244 | #define wxUSE_CONFIG 1 | |
245 | ||
246 | #define wxUSE_CONFIG_NATIVE 1 | |
247 | ||
248 | #define wxUSE_DIALUP_MANAGER 1 | |
249 | ||
250 | #define wxUSE_DYNLIB_CLASS 1 | |
251 | ||
252 | #define wxUSE_DYNAMIC_LOADER 1 | |
253 | ||
254 | #define wxUSE_SOCKETS 1 | |
255 | ||
256 | #define wxUSE_IPV6 0 | |
257 | ||
258 | #define wxUSE_FILESYSTEM 1 | |
259 | ||
260 | #define wxUSE_FS_ZIP 1 | |
261 | ||
262 | #define wxUSE_FS_ARCHIVE 1 | |
263 | ||
264 | #define wxUSE_FS_INET 1 | |
265 | ||
266 | #define wxUSE_ARCHIVE_STREAMS 1 | |
267 | ||
268 | #define wxUSE_ZIPSTREAM 1 | |
269 | ||
270 | #define wxUSE_TARSTREAM 1 | |
271 | ||
272 | #define wxUSE_ZLIB 1 | |
273 | ||
274 | #define wxUSE_APPLE_IEEE 1 | |
275 | ||
276 | #define wxUSE_JOYSTICK 1 | |
277 | ||
278 | #define wxUSE_FONTENUM 1 | |
279 | ||
280 | #define wxUSE_FONTMAP 1 | |
281 | ||
282 | #define wxUSE_MIMETYPE 1 | |
283 | ||
284 | #define wxUSE_PROTOCOL 1 | |
285 | ||
286 | #define wxUSE_PROTOCOL_FILE 1 | |
287 | #define wxUSE_PROTOCOL_FTP 1 | |
288 | #define wxUSE_PROTOCOL_HTTP 1 | |
289 | ||
290 | #define wxUSE_URL 1 | |
291 | ||
292 | #define wxUSE_URL_NATIVE 0 | |
293 | ||
294 | #define wxUSE_VARIANT 1 | |
295 | ||
296 | #define wxUSE_REGEX 1 | |
297 | ||
298 | #define wxUSE_SYSTEM_OPTIONS 1 | |
299 | ||
300 | #define wxUSE_SOUND 1 | |
301 | ||
302 | #define wxUSE_MEDIACTRL 0 | |
303 | ||
304 | #define wxUSE_GSTREAMER 0 | |
305 | ||
306 | #define wxUSE_XRC 1 | |
307 | ||
308 | #define wxUSE_XML 1 | |
309 | ||
310 | #define wxUSE_AUI 1 | |
311 | ||
312 | #define wxUSE_STC 1 | |
313 | ||
314 | ||
315 | #ifndef wxUSE_GRAPHICS_CONTEXT | |
316 | #define wxUSE_GRAPHICS_CONTEXT 0 | |
317 | #endif | |
318 | ||
319 | ||
320 | #define wxUSE_CONTROLS 1 | |
321 | ||
322 | #define wxUSE_POPUPWIN 1 | |
323 | ||
324 | #define wxUSE_TIPWINDOW 1 | |
325 | ||
326 | #define wxUSE_ANIMATIONCTRL 1 | |
327 | #define wxUSE_BUTTON 1 | |
328 | #define wxUSE_BMPBUTTON 1 | |
329 | #define wxUSE_CALENDARCTRL 1 | |
330 | #define wxUSE_CHECKBOX 1 | |
331 | #define wxUSE_CHECKLISTBOX 1 | |
332 | #define wxUSE_CHOICE 1 | |
333 | #define wxUSE_COLLPANE 1 | |
334 | #define wxUSE_COLOURPICKERCTRL 1 | |
335 | #define wxUSE_COMBOBOX 1 | |
336 | #define wxUSE_DATAVIEWCTRL 1 | |
337 | #define wxUSE_DATEPICKCTRL 1 | |
338 | #define wxUSE_DIRPICKERCTRL 1 | |
339 | #define wxUSE_EDITABLELISTBOX 1 | |
340 | #define wxUSE_FILECTRL 1 | |
341 | #define wxUSE_FILEPICKERCTRL 1 | |
342 | #define wxUSE_FONTPICKERCTRL 1 | |
343 | #define wxUSE_GAUGE 1 | |
344 | #define wxUSE_HYPERLINKCTRL 1 | |
345 | #define wxUSE_LISTBOX 1 | |
346 | #define wxUSE_LISTCTRL 1 | |
347 | #define wxUSE_RADIOBOX 1 | |
348 | #define wxUSE_RADIOBTN 1 | |
349 | #define wxUSE_SCROLLBAR 1 | |
350 | #define wxUSE_SEARCHCTRL 1 | |
351 | #define wxUSE_SLIDER 1 | |
352 | #define wxUSE_SPINBTN 1 | |
353 | #define wxUSE_SPINCTRL 1 | |
354 | #define wxUSE_STATBOX 1 | |
355 | #define wxUSE_STATLINE 1 | |
356 | #define wxUSE_STATTEXT 1 | |
357 | #define wxUSE_STATBMP 1 | |
358 | #define wxUSE_TEXTCTRL 1 | |
359 | #define wxUSE_TOGGLEBTN 1 | |
360 | #define wxUSE_TREECTRL 1 | |
361 | ||
362 | #define wxUSE_STATUSBAR 1 | |
363 | ||
364 | #define wxUSE_NATIVE_STATUSBAR 1 | |
365 | ||
366 | #define wxUSE_TOOLBAR 1 | |
367 | #define wxUSE_TOOLBAR_NATIVE 1 | |
368 | ||
369 | #define wxUSE_NOTEBOOK 1 | |
370 | ||
371 | #define wxUSE_LISTBOOK 1 | |
372 | ||
373 | #define wxUSE_CHOICEBOOK 1 | |
374 | ||
375 | #define wxUSE_TREEBOOK 1 | |
376 | ||
377 | #define wxUSE_TOOLBOOK 1 | |
378 | ||
379 | #define wxUSE_TAB_DIALOG 0 | |
380 | ||
381 | #define wxUSE_TASKBARICON 1 | |
382 | ||
383 | #define wxUSE_GRID 1 | |
384 | ||
385 | #define wxUSE_MINIFRAME 1 | |
386 | ||
387 | #define wxUSE_COMBOCTRL 1 | |
388 | ||
389 | #define wxUSE_ODCOMBOBOX 1 | |
390 | ||
391 | #define wxUSE_BITMAPCOMBOBOX 1 | |
392 | ||
393 | ||
394 | #define wxUSE_ACCEL 1 | |
395 | ||
396 | #define wxUSE_HOTKEY 0 | |
397 | ||
398 | #define wxUSE_CARET 1 | |
399 | ||
400 | #define wxUSE_DISPLAY 1 | |
401 | ||
402 | #define wxUSE_GEOMETRY 1 | |
403 | ||
404 | #define wxUSE_IMAGLIST 1 | |
405 | ||
406 | #define wxUSE_MENUS 1 | |
407 | ||
408 | #define wxUSE_NOTIFICATION_MESSAGE 1 | |
409 | ||
410 | #define wxUSE_SASH 1 | |
411 | ||
412 | #define wxUSE_SPLITTER 1 | |
413 | ||
414 | #define wxUSE_TOOLTIPS 1 | |
415 | ||
416 | #define wxUSE_VALIDATORS 1 | |
417 | ||
418 | #ifdef __WXMSW__ | |
419 | #define wxUSE_AUTOID_MANAGEMENT 0 | |
420 | #else | |
421 | #define wxUSE_AUTOID_MANAGEMENT 0 | |
422 | #endif | |
423 | ||
424 | ||
425 | #define wxUSE_COMMON_DIALOGS 0 | |
426 | ||
427 | #define wxUSE_BUSYINFO 1 | |
428 | ||
429 | #define wxUSE_CHOICEDLG 1 | |
430 | ||
431 | #define wxUSE_COLOURDLG 1 | |
432 | ||
433 | #define wxUSE_DIRDLG 1 | |
434 | ||
435 | ||
436 | #define wxUSE_FILEDLG 1 | |
437 | ||
438 | #define wxUSE_FINDREPLDLG 1 | |
439 | ||
440 | #define wxUSE_FONTDLG 1 | |
441 | ||
442 | #define wxUSE_MSGDLG 1 | |
443 | ||
444 | #define wxUSE_PROGRESSDLG 1 | |
445 | ||
446 | #define wxUSE_STARTUP_TIPS 1 | |
447 | ||
448 | #define wxUSE_TEXTDLG 1 | |
449 | ||
450 | #define wxUSE_NUMBERDLG 1 | |
451 | ||
452 | #define wxUSE_SPLASH 1 | |
453 | ||
454 | #define wxUSE_WIZARDDLG 1 | |
455 | ||
456 | #define wxUSE_ABOUTDLG 1 | |
457 | ||
458 | ||
459 | #define wxUSE_METAFILE 0 | |
460 | #define wxUSE_ENH_METAFILE 0 | |
461 | #define wxUSE_WIN_METAFILES_ALWAYS 0 | |
462 | ||
463 | ||
464 | #define wxUSE_MDI 1 | |
465 | ||
466 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 | |
467 | ||
468 | #define wxUSE_MDI_ARCHITECTURE 1 | |
469 | ||
470 | #define wxUSE_PRINTING_ARCHITECTURE 1 | |
471 | ||
472 | #define wxUSE_HTML 1 | |
473 | ||
474 | #define wxUSE_GLCANVAS 0 | |
475 | ||
476 | #define wxUSE_RICHTEXT 1 | |
477 | ||
478 | ||
479 | #define wxUSE_CLIPBOARD 1 | |
480 | ||
481 | #define wxUSE_DATAOBJ 1 | |
482 | ||
483 | #define wxUSE_DRAG_AND_DROP 1 | |
484 | ||
485 | #define wxUSE_ACCESSIBILITY 0 | |
486 | ||
487 | ||
488 | #define wxUSE_SNGLINST_CHECKER 1 | |
489 | ||
490 | #define wxUSE_DRAGIMAGE 1 | |
491 | ||
492 | #define wxUSE_IPC 1 | |
493 | ||
494 | #define wxUSE_HELP 1 | |
495 | ||
496 | ||
497 | #define wxUSE_MS_HTML_HELP 0 | |
498 | ||
499 | ||
500 | #define wxUSE_WXHTML_HELP 1 | |
501 | ||
502 | #define wxUSE_CONSTRAINTS 1 | |
503 | ||
504 | ||
505 | #define wxUSE_SPLINES 1 | |
506 | ||
507 | ||
508 | #define wxUSE_MOUSEWHEEL 1 | |
509 | ||
510 | ||
511 | ||
512 | #define wxUSE_POSTSCRIPT 1 | |
513 | ||
514 | #define wxUSE_AFM_FOR_POSTSCRIPT 1 | |
515 | ||
516 | #define wxUSE_SVG 1 | |
517 | ||
518 | ||
519 | #define REMOVE_UNUSED_ARG 0 | |
520 | ||
521 | #define wxUSE_IOSTREAMH 0 | |
522 | ||
523 | ||
524 | ||
525 | #define wxUSE_IMAGE 1 | |
526 | ||
527 | #define wxUSE_LIBPNG 1 | |
528 | ||
529 | #define wxUSE_LIBJPEG 1 | |
530 | ||
531 | #define wxUSE_LIBTIFF 1 | |
532 | ||
533 | #define wxUSE_TGA 1 | |
534 | ||
535 | #define wxUSE_GIF 1 | |
536 | ||
537 | #define wxUSE_PNM 1 | |
538 | ||
539 | #define wxUSE_PCX 1 | |
540 | ||
541 | #define wxUSE_IFF 1 | |
542 | ||
543 | #define wxUSE_XPM 1 | |
544 | ||
545 | #define wxUSE_ICO_CUR 1 | |
546 | ||
547 | #define wxUSE_PALETTE 1 | |
548 | ||
549 | ||
550 | #define wxUSE_ALL_THEMES 0 | |
551 | ||
552 | #define wxUSE_THEME_GTK 0 | |
553 | #define wxUSE_THEME_METAL 0 | |
554 | #define wxUSE_THEME_MONO 0 | |
555 | #define wxUSE_THEME_WIN32 0 | |
556 | ||
557 | ||
558 | /* --- end common options --- */ | |
559 | ||
560 | /* | |
561 | * Unix-specific options | |
562 | */ | |
563 | #define wxUSE_SELECT_DISPATCHER 1 | |
564 | #define wxUSE_EPOLL_DISPATCHER 1 | |
565 | ||
566 | #define wxUSE_UNICODE_UTF8 1 | |
567 | #define wxUSE_UTF8_LOCALE_ONLY 0 | |
568 | ||
569 | /* --- start MSW options --- */ | |
570 | ||
571 | #ifndef wxUSE_UNICODE_MSLU | |
572 | #define wxUSE_UNICODE_MSLU 0 | |
573 | #endif | |
574 | ||
575 | #define wxUSE_MFC 0 | |
576 | ||
577 | #define wxUSE_OLE 0 | |
578 | ||
579 | #define wxUSE_OLE_AUTOMATION 0 | |
580 | ||
581 | #define wxUSE_ACTIVEX 0 | |
582 | ||
583 | #define wxUSE_DC_CACHEING 0 | |
584 | ||
585 | #define wxUSE_WXDIB 0 | |
586 | ||
587 | #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 | |
588 | ||
589 | #define wxUSE_REGKEY 0 | |
590 | ||
591 | #define wxUSE_RICHEDIT 0 | |
592 | ||
593 | #define wxUSE_RICHEDIT2 0 | |
594 | ||
595 | #define wxUSE_OWNER_DRAWN 0 | |
596 | ||
597 | #define wxUSE_TASKBARICON_BALLOONS 0 | |
598 | ||
599 | #define wxUSE_UXTHEME 0 | |
600 | ||
601 | #define wxUSE_INKEDIT 0 | |
602 | ||
603 | #define wxUSE_INICONF 0 | |
604 | ||
605 | ||
606 | #define wxUSE_DATEPICKCTRL_GENERIC 0 | |
607 | ||
608 | ||
609 | #define wxUSE_CRASHREPORT 0 | |
610 | /* --- end MSW options --- */ | |
611 | ||
612 | /* | |
613 | * Supports bool type | |
614 | */ | |
615 | #define HAVE_BOOL 1 | |
616 | ||
617 | /* | |
618 | * Define if your compiler supports the explicit keyword | |
619 | */ | |
620 | #define HAVE_EXPLICIT 1 | |
621 | ||
622 | /* | |
623 | * Define if your compiler supports const_cast<>() | |
624 | */ | |
625 | #define HAVE_CONST_CAST | |
626 | ||
627 | /* | |
628 | * Define if your compiler supports reinterpret_cast<>() | |
629 | */ | |
630 | #define HAVE_REINTERPRET_CAST | |
631 | ||
632 | /* | |
633 | * Define if your compiler supports static_cast<>() | |
634 | */ | |
635 | #define HAVE_STATIC_CAST | |
636 | ||
637 | /* | |
638 | * Define if your compiler has C99 va_copy | |
639 | */ | |
640 | #define HAVE_VA_COPY 1 | |
641 | ||
642 | /* | |
643 | * Define if va_list type is an array | |
644 | */ | |
645 | /* #undef VA_LIST_IS_ARRAY */ | |
646 | ||
647 | /* | |
648 | * Define if the compiler supports variadic macros | |
649 | */ | |
650 | #define HAVE_VARIADIC_MACROS 1 | |
651 | ||
652 | /* | |
653 | * Define if your compiler has std::wstring | |
654 | */ | |
655 | #define HAVE_STD_WSTRING 1 | |
656 | /* | |
657 | * Define if your compiler has compliant std::string::compare | |
658 | */ | |
659 | /* #undef HAVE_STD_STRING_COMPARE */ | |
660 | /* | |
661 | * Define if your compiler has <hash_map> | |
662 | */ | |
663 | /* #undef HAVE_HASH_MAP */ | |
664 | /* | |
665 | * Define if your compiler has <ext/hash_map> | |
666 | */ | |
667 | /* #undef HAVE_EXT_HASH_MAP */ | |
668 | /* | |
669 | * Define if your compiler has std::hash_map/hash_set | |
670 | */ | |
671 | /* #undef HAVE_STD_HASH_MAP */ | |
672 | /* | |
673 | * Define if your compiler has __gnu_cxx::hash_map/hash_set | |
674 | */ | |
675 | /* #undef HAVE_GNU_CXX_HASH_MAP */ | |
676 | ||
677 | /* | |
678 | * Define if the compiler supports simple visibility declarations. | |
679 | */ | |
680 | /* #undef HAVE_VISIBILITY */ | |
681 | ||
682 | /* | |
683 | * Define if the compiler supports GCC's atomic memory access builtins | |
684 | */ | |
685 | #define HAVE_GCC_ATOMIC_BUILTINS 1 | |
686 | ||
687 | /* | |
688 | * Define if compiler's visibility support in libstdc++ is broken | |
689 | */ | |
690 | /* #undef HAVE_BROKEN_LIBSTDCXX_VISIBILITY */ | |
691 | ||
692 | /* | |
693 | * The built-in regex supports advanced REs in additional to POSIX's basic | |
694 | * and extended. Your system regex probably won't support this, and in this | |
695 | * case WX_NO_REGEX_ADVANCED should be defined. | |
696 | */ | |
697 | /* #undef WX_NO_REGEX_ADVANCED */ | |
698 | /* | |
699 | * On GNU systems use re_search instead of regexec, since the latter does a | |
700 | * strlen on the search text affecting the performance of some operations. | |
701 | */ | |
702 | /* #undef HAVE_RE_SEARCH */ | |
703 | /* | |
704 | * Use SDL for audio (Unix) | |
705 | */ | |
706 | #define wxUSE_LIBSDL 0 | |
707 | ||
708 | /* | |
709 | * Compile sound backends as plugins | |
710 | */ | |
711 | #define wxUSE_PLUGINS 0 | |
712 | ||
713 | /* | |
714 | * Use GTK print for printing under GTK+ 2.0 | |
715 | */ | |
716 | #define wxUSE_GTKPRINT 1 | |
717 | /* | |
718 | * Use GNOME print for printing under GTK+ 2.0 | |
719 | */ | |
720 | #define wxUSE_LIBGNOMEPRINT 0 | |
721 | /* | |
722 | * Use GNOME VFS for MIME types | |
723 | */ | |
724 | #define wxUSE_LIBGNOMEVFS 0 | |
725 | /* | |
726 | * Use the Hildon framework | |
727 | */ | |
728 | #define wxUSE_LIBHILDON 0 | |
729 | /* | |
730 | * Have glibc2 | |
731 | */ | |
732 | #define wxHAVE_GLIBC2 1 | |
733 | /* | |
734 | * Use libXpm | |
735 | */ | |
736 | #define wxHAVE_LIB_XPM 0 | |
737 | /* | |
738 | * Define if you have pthread_cleanup_push/pop() | |
739 | */ | |
740 | #define wxHAVE_PTHREAD_CLEANUP 1 | |
741 | ||
742 | /* compatibility */ | |
743 | /* | |
744 | * Use OpenGL | |
745 | */ | |
746 | #define wxUSE_OPENGL 0 | |
747 | ||
748 | /* | |
749 | * Use MS HTML Help via libmspack (Unix) | |
750 | */ | |
751 | #define wxUSE_LIBMSPACK 0 | |
752 | ||
753 | /* | |
754 | * Matthews garbage collection (used for MrEd?) | |
755 | */ | |
756 | #define WXGARBAGE_COLLECTION_ON 0 | |
757 | ||
758 | /* | |
759 | * wxWebKitCtrl | |
760 | */ | |
761 | #define wxUSE_WEBKIT 0 | |
762 | ||
763 | /* | |
764 | * Objective-C class name uniquifying | |
765 | */ | |
766 | #define wxUSE_OBJC_UNIQUIFYING 0 | |
767 | ||
768 | /* | |
769 | * The const keyword is being introduced more in wxWindows. | |
770 | * You can use this setting to maintain backward compatibility. | |
771 | * If 0: will use const wherever possible. | |
772 | * If 1: will use const only where necessary | |
773 | * for precompiled headers to work. | |
774 | * If 2: will be totally backward compatible, but precompiled | |
775 | * headers may not work and program size will be larger. | |
776 | */ | |
777 | #define CONST_COMPATIBILITY 0 | |
778 | ||
779 | /* | |
780 | * use the session manager to detect KDE/GNOME | |
781 | */ | |
782 | #define wxUSE_DETECT_SM 1 | |
783 | ||
784 | ||
785 | /* define with the name of timezone variable */ | |
786 | #define WX_TIMEZONE timezone | |
787 | ||
788 | /* The type of 3rd argument to getsockname() - usually size_t or int */ | |
789 | #define WX_SOCKLEN_T socklen_t | |
790 | ||
791 | /* The type of 5th argument to getsockopt() - usually size_t or int */ | |
792 | #define SOCKOPTLEN_T socklen_t | |
793 | ||
794 | /* The type of statvfs(2) argument */ | |
795 | #define WX_STATFS_T struct statfs | |
796 | ||
797 | /* The signal handler prototype */ | |
798 | #define wxTYPE_SA_HANDLER int | |
799 | ||
800 | /* gettimeofday() usually takes 2 arguments, but some really old systems might | |
801 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ | |
802 | /* #undef WX_GETTIMEOFDAY_NO_TZ */ | |
803 | ||
804 | /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ | |
805 | #define WX_GMTOFF_IN_TM 1 | |
806 | ||
807 | /* Define if you have poll(2) function */ | |
808 | /* #undef HAVE_POLL */ | |
809 | ||
810 | /* Define if you have pw_gecos field in struct passwd */ | |
811 | #define HAVE_PW_GECOS 1 | |
812 | ||
813 | /* Define if you have __cxa_demangle() in <cxxabi.h> */ | |
814 | #define HAVE_CXA_DEMANGLE 1 | |
815 | ||
816 | /* Define if you have dlopen() */ | |
817 | #define HAVE_DLOPEN 1 | |
818 | ||
819 | /* Define if you have gettimeofday() */ | |
820 | #define HAVE_GETTIMEOFDAY 1 | |
821 | ||
822 | /* Define if fsync() is available */ | |
823 | #define HAVE_FSYNC 1 | |
824 | ||
825 | /* Define if round() is available */ | |
826 | #define HAVE_ROUND 1 | |
827 | ||
828 | /* Define if you have ftime() */ | |
829 | /* #undef HAVE_FTIME */ | |
830 | ||
831 | /* Define if you have nanosleep() */ | |
832 | #define HAVE_NANOSLEEP 1 | |
833 | ||
834 | /* Define if you have sched_yield */ | |
835 | #define HAVE_SCHED_YIELD 1 | |
836 | ||
837 | /* Define if you have pthread_mutexattr_t and functions to work with it */ | |
838 | #define HAVE_PTHREAD_MUTEXATTR_T 1 | |
839 | ||
840 | /* Define if you have pthread_mutexattr_settype() declaration */ | |
841 | #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1 | |
842 | ||
843 | /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ | |
844 | /* #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER */ | |
845 | ||
846 | /* Define if you have pthread_cancel */ | |
847 | #define HAVE_PTHREAD_CANCEL 1 | |
848 | ||
849 | /* Define if you have pthread_mutex_timedlock */ | |
850 | #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1 | |
851 | ||
852 | /* Define if you have pthread_attr_setstacksize */ | |
853 | #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 | |
854 | ||
855 | /* Define if you have shl_load() */ | |
856 | /* #undef HAVE_SHL_LOAD */ | |
857 | ||
858 | /* Define if you have snprintf() */ | |
859 | #define HAVE_SNPRINTF 1 | |
860 | ||
861 | /* Define if you have snprintf() declaration in the header */ | |
862 | #define HAVE_SNPRINTF_DECL 1 | |
863 | ||
864 | /* Define if you have a snprintf() which supports positional arguments | |
865 | (defined in the unix98 standard) */ | |
866 | #define HAVE_UNIX98_PRINTF 1 | |
867 | ||
868 | /* define if you have statfs function */ | |
869 | #define HAVE_STATFS 1 | |
870 | ||
871 | /* define if you have statfs prototype */ | |
872 | #define HAVE_STATFS_DECL 1 | |
873 | ||
874 | /* define if you have statvfs function */ | |
875 | /* #undef HAVE_STATVFS */ | |
876 | ||
877 | /* Define if you have strptime() */ | |
878 | #define HAVE_STRPTIME 1 | |
879 | ||
880 | /* Define if strptime() is declared in headers */ | |
881 | #define HAVE_STRPTIME_DECL 1 | |
882 | ||
883 | /* Define if you have strtoull() and strtoll() */ | |
884 | #define HAVE_STRTOULL 1 | |
885 | ||
886 | /* Define if you have all functions to set thread priority */ | |
887 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 | |
888 | ||
889 | /* Define if you have vsnprintf() */ | |
890 | #define HAVE_VSNPRINTF 1 | |
891 | ||
892 | /* Define if you have vsnprintf() declaration in the header */ | |
893 | #define HAVE_VSNPRINTF_DECL 1 | |
894 | ||
895 | /* Define if you have a _broken_ vsnprintf() declaration in the header, | |
896 | * with 'char*' for the 3rd parameter instead of 'const char*' */ | |
897 | /* #undef HAVE_BROKEN_VSNPRINTF_DECL */ | |
898 | ||
899 | /* Define if you have usleep() */ | |
900 | /* #undef HAVE_USLEEP */ | |
901 | ||
902 | /* Define if you have wcslen function */ | |
903 | #define HAVE_WCSLEN 1 | |
904 | ||
905 | /* Define if you have wcsdup function */ | |
906 | #define HAVE_WCSDUP 1 | |
907 | ||
908 | /* Define if you have wcstoull() and wcstoll() */ | |
909 | /* #undef HAVE_WCSTOULL */ | |
910 | ||
911 | /* The number of bytes in a wchar_t. */ | |
912 | #define SIZEOF_WCHAR_T 4 | |
913 | ||
914 | /* The number of bytes in a int. */ | |
915 | #define SIZEOF_INT 4 | |
916 | ||
917 | /* The number of bytes in a pointer. */ | |
918 | #define SIZEOF_VOID_P 4 | |
919 | ||
920 | /* The number of bytes in a long. */ | |
921 | #define SIZEOF_LONG 4 | |
922 | ||
923 | /* The number of bytes in a long long. */ | |
924 | #define SIZEOF_LONG_LONG 8 | |
925 | ||
926 | /* The number of bytes in a short. */ | |
927 | #define SIZEOF_SHORT 2 | |
928 | ||
929 | /* The number of bytes in a size_t. */ | |
930 | #define SIZEOF_SIZE_T 4 | |
931 | ||
932 | /* Define if size_t on your machine is the same type as unsigned int. */ | |
933 | #define wxSIZE_T_IS_UINT 1 | |
934 | ||
935 | /* Define if size_t on your machine is the same type as unsigned long. */ | |
936 | /* #undef wxSIZE_T_IS_ULONG */ | |
937 | ||
938 | /* Define if wchar_t is distinct type in your compiler. */ | |
939 | #define wxWCHAR_T_IS_REAL_TYPE 1 | |
940 | ||
941 | /* Define if you have the dlerror function. */ | |
942 | #define HAVE_DLERROR 1 | |
943 | ||
944 | /* Define if you have Posix fnctl() function. */ | |
945 | #define HAVE_FCNTL 1 | |
946 | ||
947 | /* Define if you have BSD flock() function. */ | |
948 | /* #undef HAVE_FLOCK */ | |
949 | ||
950 | /* Define if you have getaddrinfo function. */ | |
951 | /* #undef HAVE_GETADDRINFO */ | |
952 | ||
953 | /* Define if you have a gethostbyname_r function taking 6 arguments. */ | |
954 | #define HAVE_FUNC_GETHOSTBYNAME_R_6 1 | |
955 | ||
956 | /* Define if you have a gethostbyname_r function taking 5 arguments. */ | |
957 | /* #undef HAVE_FUNC_GETHOSTBYNAME_R_5 */ | |
958 | ||
959 | /* Define if you have a gethostbyname_r function taking 3 arguments. */ | |
960 | /* #undef HAVE_FUNC_GETHOSTBYNAME_R_3 */ | |
961 | ||
962 | /* Define if you only have a gethostbyname function */ | |
963 | /* #undef HAVE_GETHOSTBYNAME */ | |
964 | ||
965 | /* Define if you have the gethostname function. */ | |
966 | /* #undef HAVE_GETHOSTNAME */ | |
967 | ||
968 | /* Define if you have a getservbyname_r function taking 6 arguments. */ | |
969 | #define HAVE_FUNC_GETSERVBYNAME_R_6 1 | |
970 | ||
971 | /* Define if you have a getservbyname_r function taking 5 arguments. */ | |
972 | /* #undef HAVE_FUNC_GETSERVBYNAME_R_5 */ | |
973 | ||
974 | /* Define if you have a getservbyname_r function taking 4 arguments. */ | |
975 | /* #undef HAVE_FUNC_GETSERVBYNAME_R_4 */ | |
976 | ||
977 | /* Define if you only have a getservbyname function */ | |
978 | /* #undef HAVE_GETSERVBYNAME */ | |
979 | ||
980 | /* Define if you have the gmtime_r function. */ | |
981 | #define HAVE_GMTIME_R 1 | |
982 | ||
983 | /* Define if you have the inet_addr function. */ | |
984 | #define HAVE_INET_ADDR 1 | |
985 | ||
986 | /* Define if you have the inet_aton function. */ | |
987 | #define HAVE_INET_ATON 1 | |
988 | ||
989 | /* Define if you have the localtime_r function. */ | |
990 | #define HAVE_LOCALTIME_R 1 | |
991 | ||
992 | /* Define if you have the mktemp function. */ | |
993 | /* #undef HAVE_MKTEMP */ | |
994 | ||
995 | /* Define if you have the mkstemp function. */ | |
996 | #define HAVE_MKSTEMP 1 | |
997 | ||
998 | /* Define if you have the putenv function. */ | |
999 | /* #undef HAVE_PUTENV */ | |
1000 | ||
1001 | /* Define if you have the setenv function. */ | |
1002 | #define HAVE_SETENV 1 | |
1003 | ||
1004 | /* Define if you have strtok_r function. */ | |
1005 | #define HAVE_STRTOK_R 1 | |
1006 | ||
1007 | /* Define if you have thr_setconcurrency function */ | |
1008 | /* #undef HAVE_THR_SETCONCURRENCY */ | |
1009 | ||
1010 | /* Define if you have the uname function. */ | |
1011 | #define HAVE_UNAME 1 | |
1012 | ||
1013 | /* Define if you have the unsetenv function. */ | |
1014 | #define HAVE_UNSETENV 1 | |
1015 | ||
1016 | /* Define if you have the <X11/XKBlib.h> header file. */ | |
1017 | #define HAVE_X11_XKBLIB_H 1 | |
1018 | ||
1019 | /* Define if you have the <X11/extensions/xf86vmode.h> header file. */ | |
1020 | /* #undef HAVE_X11_EXTENSIONS_XF86VMODE_H */ | |
1021 | ||
1022 | /* Define if you have the <sched.h> header file. */ | |
1023 | #define HAVE_SCHED_H 1 | |
1024 | ||
1025 | /* Define if you have the <unistd.h> header file. */ | |
1026 | #define HAVE_UNISTD_H 1 | |
1027 | ||
1028 | /* Define if you have the <fcntl.h> header file. */ | |
1029 | /* #undef HAVE_FCNTL_H */ | |
1030 | ||
1031 | /* Define if you have the <wchar.h> header file. */ | |
1032 | #define HAVE_WCHAR_H 1 | |
1033 | ||
1034 | /* Define if you have the <wcstr.h> header file. */ | |
1035 | /* #undef HAVE_WCSTR_H */ | |
1036 | ||
1037 | /* Define if you have <widec.h> (Solaris only) */ | |
1038 | /* #undef HAVE_WIDEC_H */ | |
1039 | ||
1040 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ | |
1041 | #define HAVE_ICONV 1 | |
1042 | ||
1043 | /* Define as "const" if the declaration of iconv() needs const. */ | |
1044 | #define ICONV_CONST | |
1045 | ||
1046 | /* Define if you have the <langinfo.h> header file. */ | |
1047 | #define HAVE_LANGINFO_H 1 | |
1048 | ||
1049 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ | |
1050 | /* #undef HAVE_W32API_H */ | |
1051 | ||
1052 | /* Define if you have the <sys/soundcard.h> header file. */ | |
1053 | #define HAVE_SYS_SOUNDCARD_H 1 | |
1054 | ||
1055 | /* Define if you have wcsrtombs() function */ | |
1056 | #define HAVE_WCSRTOMBS 1 | |
1057 | ||
1058 | /* Define this if you have putws() */ | |
1059 | /* #undef HAVE_PUTWS */ | |
1060 | ||
1061 | /* Define this if you have fputws() */ | |
1062 | #define HAVE_FPUTWS 1 | |
1063 | ||
1064 | /* Define this if you have strcasecmp() function in <string.h> */ | |
1065 | #define HAVE_STRCASECMP_IN_STRING_H 1 | |
1066 | ||
1067 | /* Define this if you have strcasecmp() function in <strings.h> */ | |
1068 | /* #undef HAVE_STRCASECMP_IN_STRINGS_H */ | |
1069 | ||
1070 | /* Define this if you have wprintf() and related functions */ | |
1071 | #define HAVE_WPRINTF 1 | |
1072 | ||
1073 | /* Define this if you have vswprintf() and related functions */ | |
1074 | #define HAVE_VSWPRINTF 1 | |
1075 | ||
1076 | /* Define this if you have _vsnwprintf */ | |
1077 | /* #undef HAVE__VSNWPRINTF */ | |
1078 | ||
1079 | /* vswscanf() */ | |
1080 | #define HAVE_VSWSCANF 1 | |
1081 | ||
1082 | /* Define if fseeko and ftello are available. */ | |
1083 | #define HAVE_FSEEKO 1 | |
1084 | ||
1085 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ | |
1086 | /* #undef HAVE_XIM */ | |
1087 | ||
1088 | /* Define this if you have X11/extensions/shape.h */ | |
1089 | /* #undef HAVE_XSHAPE */ | |
1090 | ||
1091 | /* Define this if you have type SPBCDATA */ | |
1092 | /* #undef HAVE_SPBCDATA */ | |
1093 | ||
1094 | /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */ | |
1095 | /* #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE */ | |
1096 | ||
1097 | /* Define if you have Pango xft support */ | |
1098 | /* #undef HAVE_PANGO_XFT */ | |
1099 | ||
1100 | /* Define if you have the <sys/select.h> header file. */ | |
1101 | #define HAVE_SYS_SELECT_H 1 | |
1102 | ||
1103 | /* Define if fdopen is available. */ | |
1104 | #define HAVE_FDOPEN 1 | |
1105 | ||
1106 | /* Define if sysconf is available. */ | |
1107 | #define HAVE_SYSCONF 1 | |
1108 | ||
1109 | /* Define if getpwuid_r is available. */ | |
1110 | #define HAVE_GETPWUID_R 1 | |
1111 | ||
1112 | /* Define if getgrgid_r is available. */ | |
1113 | #define HAVE_GETGRGID_R 1 | |
1114 | ||
1115 | /* Define if locale_t is available */ | |
1116 | #define HAVE_LOCALE_T 1 | |
1117 | ||
1118 | /* ------------------------------------------------------------------------- | |
1119 | Win32 adjustments section | |
1120 | ------------------------------------------------------------------------- */ | |
1121 | ||
1122 | #ifdef __WIN32__ | |
1123 | ||
1124 | /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility | |
1125 | with wx/msw/setup.h */ | |
1126 | #define wxUSE_XPM_IN_MSW wxUSE_XPM | |
1127 | ||
1128 | /* When using an external jpeg library and the Windows headers already define | |
1129 | * boolean, define to the type used by the jpeg library for boolean. */ | |
1130 | /* #undef wxHACK_BOOLEAN */ | |
1131 | ||
1132 | /* Define if the header pbt.h is missing. */ | |
1133 | /* #undef NEED_PBT_H */ | |
1134 | ||
1135 | #endif /* __WIN32__ */ | |
1136 | ||
1137 | /* --------------------------------------------------------* | |
1138 | * This stuff is static, it doesn't get modified directly | |
1139 | * by configure. | |
1140 | */ | |
1141 | ||
1142 | /* | |
1143 | define some constants identifying wxWindows version in more details than | |
1144 | just the version number | |
1145 | */ | |
1146 | ||
1147 | /* wxLogChain class available */ | |
1148 | #define wxHAS_LOG_CHAIN | |
1149 | ||
1150 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ | |
1151 | /* #undef wxHAS_WORKING_GTK_DC_BLIT */ | |
1152 | ||
1153 | #endif /* __WX_SETUP_H__ */ | |
1154 |