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