]>
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 : 9 November 1999 * | |
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 you have the ANSI C header files. */ | |
57 | #define STDC_HEADERS | |
58 | ||
59 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
60 | #undef uid_t | |
61 | ||
62 | /* Define if your processor stores words with the most significant | |
63 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ | |
64 | #undef WORDS_BIGENDIAN | |
65 | ||
66 | /* Define this if your version of Motif is greater than 2.0 */ | |
67 | /* #undef __WXMOTIF20__ */ | |
68 | ||
69 | #ifdef __WXGTK__ | |
70 | /* Define this if your version of GTK+ is greater than 1.2 */ | |
71 | #define __WXGTK12__ 1 | |
72 | ||
73 | /* Define this if your version of GTK+ is greater than 1.2.7 */ | |
74 | #define __WXGTK127__ 1 | |
75 | ||
76 | /* Define this if your version of GTK+ is greater than 1.3 */ | |
77 | /* #undef __WXGTK20__ */ | |
78 | #endif | |
79 | ||
80 | /* | |
81 | * Define to 1 for Unix[-like] system | |
82 | */ | |
83 | #define wxUSE_UNIX 1 | |
84 | ||
85 | #define __UNIX__ | |
86 | ||
87 | #undef __AIX__ | |
88 | #undef __BSD__ | |
89 | #undef __DARWIN__ | |
90 | #undef __EMX__ | |
91 | #undef __FREEBSD__ | |
92 | #undef __HPUX__ | |
93 | #undef __LINUX__ | |
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 | #define __VMS__ | |
106 | ||
107 | #undef __IA64__ | |
108 | #define __ALPHA__ | |
109 | ||
110 | /* NanoX (with wxX11) */ | |
111 | #define wxUSE_NANOX 0 | |
112 | ||
113 | /* PowerPC Darwin & Mac OS X */ | |
114 | #undef __POWERPC__ | |
115 | ||
116 | /* MS-DOS with DJGPP */ | |
117 | #undef __DOS__ | |
118 | ||
119 | /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ | |
120 | #ifndef __WINDOWS__ | |
121 | #undef __WINDOWS__ | |
122 | #endif | |
123 | ||
124 | #ifndef __WIN95__ | |
125 | #undef __WIN95__ | |
126 | #endif | |
127 | #ifndef __WIN32__ | |
128 | #undef __WIN32__ | |
129 | #endif | |
130 | #ifndef __GNUWIN32__ | |
131 | #undef __GNUWIN32__ | |
132 | #endif | |
133 | #ifndef STRICT | |
134 | #undef STRICT | |
135 | #endif | |
136 | #ifndef WINVER | |
137 | #undef WINVER | |
138 | #endif | |
139 | ||
140 | /* enable native status bar under Win32 */ | |
141 | #if defined(__WIN95__) && !defined(__WXUNIVERSAL__) | |
142 | #define wxUSE_NATIVE_STATUSBAR 1 | |
143 | #define wxUSE_OWNER_DRAWN 1 | |
144 | #endif | |
145 | ||
146 | #if defined(__WXPM__) | |
147 | #define wxUSE_OWNER_DRAWN 1 | |
148 | #endif | |
149 | ||
150 | /* enable rich edit under Win32 */ | |
151 | #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__) | |
152 | #define wxUSE_RICHEDIT 1 | |
153 | #else | |
154 | #define wxUSE_RICHEDIT 0 | |
155 | #endif | |
156 | ||
157 | /* | |
158 | * Supports bool type | |
159 | */ | |
160 | #define HAVE_BOOL | |
161 | ||
162 | /* | |
163 | * Define if your compiler supports the explicit keyword | |
164 | */ | |
165 | #define HAVE_EXPLICIT 1 | |
166 | ||
167 | /* | |
168 | * Define if your compiler supports const_cast<>() | |
169 | */ | |
170 | #define HAVE_CONST_CAST 1 | |
171 | ||
172 | /* | |
173 | * Define if your compiler has std::wstring | |
174 | */ | |
175 | /* #unfine HAVE_STD_WSTRING */ | |
176 | /* | |
177 | * Define if your compiler has compilant std::string::compare | |
178 | */ | |
179 | /* #undef HAVE_STD_STRING_COMPARE */ | |
180 | ||
181 | /* | |
182 | * use STL for containers and wxString | |
183 | */ | |
184 | #define wxUSE_STL 0 | |
185 | /* | |
186 | * Use regex support | |
187 | */ | |
188 | #define wxUSE_REGEX 0 | |
189 | /* | |
190 | * Use XML support | |
191 | */ | |
192 | #define wxUSE_XML 1 | |
193 | /* | |
194 | * Use zlib | |
195 | */ | |
196 | #define wxUSE_ZLIB 1 | |
197 | /* | |
198 | * Use libpng | |
199 | */ | |
200 | #define wxUSE_LIBPNG 1 | |
201 | /* | |
202 | * Use libjpeg | |
203 | */ | |
204 | #define wxUSE_LIBJPEG 1 | |
205 | /* | |
206 | * Use libtiff | |
207 | */ | |
208 | #define wxUSE_LIBTIFF 1 | |
209 | /* | |
210 | * Use iODBC | |
211 | */ | |
212 | #define wxUSE_ODBC 1 | |
213 | #define wxUSE_BUILTIN_IODBC 0 | |
214 | #define wxODBC_FWD_ONLY_CURSORS 1 | |
215 | #define wxODBC_BACKWARD_COMPATABILITY 0 | |
216 | /* | |
217 | * Use freetype | |
218 | */ | |
219 | #define wxUSE_FREETYPE 1 | |
220 | /* | |
221 | * Use Threads | |
222 | */ | |
223 | #define wxUSE_THREADS 1 | |
224 | /* | |
225 | * Have glibc2 | |
226 | */ | |
227 | #define wxHAVE_GLIBC2 0 | |
228 | /* | |
229 | * Use libXpm | |
230 | */ | |
231 | #define wxHAVE_LIB_XPM 1 | |
232 | /* | |
233 | * Use OpenGL | |
234 | */ | |
235 | #define wxUSE_OPENGL 1 | |
236 | #define wxUSE_GLCANVAS 1 | |
237 | /* | |
238 | * Use GUI | |
239 | */ | |
240 | #define wxUSE_GUI 1 | |
241 | /* | |
242 | * Don't use GUI (defined to 1 when compiling/using base only) | |
243 | */ | |
244 | #define wxUSE_NOGUI 0 | |
245 | ||
246 | #define wxUSE_BASE 1 | |
247 | #define __WXBASE__ 1 | |
248 | ||
249 | /* | |
250 | * Catch fatal program exceptions | |
251 | */ | |
252 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
253 | ||
254 | /* | |
255 | * Use wxSingleInstanceChecker class | |
256 | */ | |
257 | #define wxUSE_SNGLINST_CHECKER 1 | |
258 | ||
259 | /* | |
260 | * Use constraints mechanism | |
261 | */ | |
262 | #define wxUSE_CONSTRAINTS 1 | |
263 | ||
264 | /* | |
265 | * Use validators | |
266 | */ | |
267 | #define wxUSE_VALIDATORS 1 | |
268 | ||
269 | /* | |
270 | * Use wxControl | |
271 | */ | |
272 | #define wxUSE_CONTROLS 1 | |
273 | ||
274 | /* | |
275 | * Use wxPopupWindow (useful in wxUniv only for now) | |
276 | */ | |
277 | #ifdef __WXMOTIF__ | |
278 | #define wxUSE_POPUPWIN 0 | |
279 | #else | |
280 | #define wxUSE_POPUPWIN 1 | |
281 | #endif | |
282 | ||
283 | /* | |
284 | Use wxTipWindow | |
285 | */ | |
286 | #define wxUSE_TIPWINDOW 1 | |
287 | ||
288 | /* | |
289 | * Use accelerators | |
290 | */ | |
291 | #define wxUSE_ACCEL 1 | |
292 | ||
293 | /* | |
294 | * Use wxCalendarCtrl | |
295 | */ | |
296 | #define wxUSE_CALENDARCTRL 1 | |
297 | ||
298 | /* | |
299 | * Use wxFileDialog | |
300 | */ | |
301 | #define wxUSE_FILEDLG 1 | |
302 | ||
303 | /* | |
304 | * Use wxFindReplaceDialog | |
305 | */ | |
306 | #define wxUSE_FINDREPLDLG 0 | |
307 | ||
308 | /* | |
309 | * Use wxFontDialog | |
310 | */ | |
311 | #define wxUSE_FONTDLG 1 | |
312 | ||
313 | /* | |
314 | * Use wxMimeTypesManager and related classes | |
315 | */ | |
316 | #define wxUSE_MIMETYPE 1 | |
317 | ||
318 | /* | |
319 | * Use wxSystemOptions | |
320 | */ | |
321 | #define wxUSE_SYSTEM_OPTIONS 1 | |
322 | ||
323 | /* | |
324 | * Use wxMessageDialog (and wxMessageBox) | |
325 | */ | |
326 | #define wxUSE_MSGDLG 1 | |
327 | ||
328 | /* | |
329 | * Use wxNumberEntryDialog | |
330 | */ | |
331 | #define wxUSE_NUMBERDLG 1 | |
332 | ||
333 | /* | |
334 | * Use wxTextEntryDialog | |
335 | */ | |
336 | #define wxUSE_TEXTDLG 1 | |
337 | ||
338 | /* | |
339 | * Use startup tips | |
340 | */ | |
341 | #define wxUSE_STARTUP_TIPS 1 | |
342 | ||
343 | /* | |
344 | * Use progress dialog | |
345 | */ | |
346 | #define wxUSE_PROGRESSDLG 1 | |
347 | ||
348 | /* | |
349 | * Use chooser dialog | |
350 | */ | |
351 | #define wxUSE_CHOICEDLG 1 | |
352 | ||
353 | /* | |
354 | * Use colour picker dialog | |
355 | */ | |
356 | #define wxUSE_COLOURDLG 1 | |
357 | ||
358 | /* | |
359 | * Use directory chooser dialog | |
360 | */ | |
361 | #define wxUSE_DIRDLG 1 | |
362 | ||
363 | /* | |
364 | * Use wxDragImage class | |
365 | */ | |
366 | #define wxUSE_DRAGIMAGE 1 | |
367 | ||
368 | /* | |
369 | * Use property sheet classes | |
370 | */ | |
371 | #define wxUSE_PROPSHEET 1 | |
372 | ||
373 | /* | |
374 | * Use wxWizard | |
375 | */ | |
376 | #define wxUSE_WIZARDDLG 1 | |
377 | ||
378 | /* | |
379 | * Use splash screen | |
380 | */ | |
381 | #define wxUSE_SPLASH 1 | |
382 | ||
383 | /* | |
384 | * Joystick support (Linux/GTK only) | |
385 | */ | |
386 | #define wxUSE_JOYSTICK 0 | |
387 | ||
388 | /* | |
389 | * Use this control | |
390 | */ | |
391 | #define wxUSE_CARET 1 | |
392 | /* | |
393 | * Use this control | |
394 | */ | |
395 | #define wxUSE_BUTTON 1 | |
396 | /* | |
397 | * Use this control | |
398 | */ | |
399 | #define wxUSE_BMPBUTTON 1 | |
400 | /* | |
401 | * Use this control | |
402 | */ | |
403 | #define wxUSE_CHECKBOX 1 | |
404 | /* | |
405 | * Use this control | |
406 | */ | |
407 | #define wxUSE_CHECKLISTBOX 1 | |
408 | /* | |
409 | * Use this control | |
410 | */ | |
411 | #define wxUSE_COMBOBOX 1 | |
412 | /* | |
413 | * Use this control | |
414 | */ | |
415 | #define wxUSE_CHOICE 1 | |
416 | /* | |
417 | * Use wxDisplay class | |
418 | */ | |
419 | #define wxUSE_DISPLAY ! | |
420 | ||
421 | /* | |
422 | * Use this control | |
423 | */ | |
424 | #define wxUSE_GAUGE 1 | |
425 | /* | |
426 | * Use this control | |
427 | */ | |
428 | #define wxUSE_GRID 1 | |
429 | /* | |
430 | * Use the new prototype wxGrid classes | |
431 | * (wxUSE_GRID must also be defined) | |
432 | */ | |
433 | #define wxUSE_NEW_GRID 1 | |
434 | /* | |
435 | * Use wxImageList class | |
436 | */ | |
437 | #define wxUSE_IMAGLIST 1 | |
438 | /* | |
439 | * Use this control | |
440 | */ | |
441 | #define wxUSE_LISTBOX 1 | |
442 | /* | |
443 | * Use this control | |
444 | */ | |
445 | #define wxUSE_LISTCTRL 1 | |
446 | /* | |
447 | * Use wxPlot class | |
448 | */ | |
449 | #define wxUSE_PLOT 1 | |
450 | /* | |
451 | * Use wxMenuBar, wxMenuItem and wxMenu | |
452 | */ | |
453 | #define wxUSE_MENUS 1 | |
454 | /* | |
455 | * Use this control | |
456 | */ | |
457 | #define wxUSE_NOTEBOOK 1 | |
458 | #define wxUSE_LISTBOOK 1 | |
459 | /* | |
460 | * Use this control | |
461 | */ | |
462 | #define wxUSE_RADIOBOX 1 | |
463 | /* | |
464 | * Use this control | |
465 | */ | |
466 | #define wxUSE_RADIOBTN 1 | |
467 | /* | |
468 | * Use this control | |
469 | */ | |
470 | #define wxUSE_SASH 1 | |
471 | /* | |
472 | * Use this control | |
473 | */ | |
474 | #define wxUSE_SCROLLBAR 1 | |
475 | /* | |
476 | * Use this control | |
477 | */ | |
478 | #define wxUSE_SLIDER 1 | |
479 | /* | |
480 | * Use this control | |
481 | */ | |
482 | #define wxUSE_SPINBTN 1 | |
483 | /* | |
484 | * Use this control | |
485 | */ | |
486 | #define wxUSE_SPINCTRL 1 | |
487 | /* | |
488 | * Use this control | |
489 | */ | |
490 | #define wxUSE_SPLITTER 1 | |
491 | /* | |
492 | * Use this control | |
493 | */ | |
494 | #define wxUSE_STATBMP 1 | |
495 | /* | |
496 | * Use this control | |
497 | */ | |
498 | #define wxUSE_STATBOX 1 | |
499 | /* | |
500 | * Use this control | |
501 | */ | |
502 | #define wxUSE_STATLINE 1 | |
503 | /* | |
504 | * Use this control | |
505 | */ | |
506 | #define wxUSE_STATTEXT 1 | |
507 | /* | |
508 | * Use this control | |
509 | */ | |
510 | #define wxUSE_STATUSBAR 1 | |
511 | /* | |
512 | * Use this control | |
513 | */ | |
514 | #define wxUSE_TOGGLEBTN 1 | |
515 | /* | |
516 | * Use Tab dialog class - obsolete, use wxNotebook instead | |
517 | */ | |
518 | #define wxUSE_TAB_DIALOG 0 | |
519 | /* compatibility */ | |
520 | #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG | |
521 | /* | |
522 | * Use wxTextCtrl | |
523 | */ | |
524 | #define wxUSE_TEXTCTRL 1 | |
525 | ||
526 | /* | |
527 | * Use wxToollBar | |
528 | */ | |
529 | #define wxUSE_TOOLBAR 1 | |
530 | ||
531 | /* If 1, use the native toolbar, otherwise use the generic version | |
532 | * (wxToolBarSimple) which may also be use together with the native one. | |
533 | */ | |
534 | #define wxUSE_TOOLBAR_NATIVE 1 | |
535 | ||
536 | /* | |
537 | * Use wxTreeLayout class | |
538 | */ | |
539 | #define wxUSE_TREELAYOUT 1 | |
540 | ||
541 | /* | |
542 | * Use this control | |
543 | */ | |
544 | #define wxUSE_TREECTRL 1 | |
545 | ||
546 | /* | |
547 | * Use wxLongLong (a.k.a. int64) class | |
548 | */ | |
549 | #define wxUSE_LONGLONG 1 | |
550 | ||
551 | /* | |
552 | * Use geometry classes | |
553 | */ | |
554 | #define wxUSE_GEOMETRY 1 | |
555 | ||
556 | /* | |
557 | * Use wxCmdLineParser class | |
558 | */ | |
559 | #define wxUSE_CMDLINE_PARSER 1 | |
560 | /* | |
561 | * Use wxDateTime | |
562 | */ | |
563 | #define wxUSE_DATETIME 1 | |
564 | /* | |
565 | * Use wxFile class | |
566 | */ | |
567 | #define wxUSE_FILE 1 | |
568 | /* | |
569 | * Use wxFFile class | |
570 | */ | |
571 | #define wxUSE_FFILE 1 | |
572 | /* | |
573 | * Use wxFSVolume class | |
574 | */ | |
575 | #define wxUSE_FSVOLUME 1 | |
576 | ||
577 | /* | |
578 | * Use wxTextBuffer class | |
579 | */ | |
580 | #define wxUSE_TEXTBUFFER 1 | |
581 | /* | |
582 | * Use wxTextFile class | |
583 | */ | |
584 | #define wxUSE_TEXTFILE 1 | |
585 | ||
586 | #define wxUSE_EXCEPTIONS 0 | |
587 | ||
588 | /* | |
589 | * Use log classes and logging functions | |
590 | */ | |
591 | #define wxUSE_LOG 1 | |
592 | /* | |
593 | * Use log window | |
594 | */ | |
595 | #define wxUSE_LOGWINDOW 1 | |
596 | /* | |
597 | * Use standard GUI logger | |
598 | */ | |
599 | #define wxUSE_LOGGUI 1 | |
600 | /* | |
601 | * Use old log dialog instead of new wxLogGui | |
602 | */ | |
603 | #define wxUSE_LOG_DIALOG 0 | |
604 | /* | |
605 | * Use wxStopWatch | |
606 | */ | |
607 | #define wxUSE_STOPWATCH 1 | |
608 | /* | |
609 | * Use time and date classes | |
610 | */ | |
611 | #define wxUSE_TIMEDATE 1 | |
612 | /* | |
613 | * Use wave class | |
614 | */ | |
615 | #define wxUSE_WAVE 1 | |
616 | /* | |
617 | * Use config system | |
618 | */ | |
619 | #define wxUSE_CONFIG 1 | |
620 | /* | |
621 | * Use font mapping/conversion classes | |
622 | */ | |
623 | #define wxUSE_FONTMAP 1 | |
624 | /* | |
625 | * Use intl system | |
626 | */ | |
627 | #define wxUSE_INTL 1 | |
628 | /* | |
629 | * Use wxProtocol and related classes | |
630 | */ | |
631 | #define wxUSE_PROTOCOL 1 | |
632 | #define wxUSE_PROTOCOL_FILE 1 | |
633 | #define wxUSE_PROTOCOL_FTP 1 | |
634 | #define wxUSE_PROTOCOL_HTTP 1 | |
635 | /* | |
636 | * Use streams | |
637 | */ | |
638 | #define wxUSE_STREAMS 1 | |
639 | /* | |
640 | * Use sockets | |
641 | */ | |
642 | #define wxUSE_SOCKETS 1 | |
643 | /* | |
644 | * Use dialup manager | |
645 | */ | |
646 | #define wxUSE_DIALUP_MANAGER 1 | |
647 | /* | |
648 | * Use standard C++ streams if 1. If 0, use wxWin | |
649 | * streams implementation. | |
650 | */ | |
651 | #define wxUSE_STD_IOSTREAM 0 | |
652 | /* | |
653 | * wxLibrary class | |
654 | */ | |
655 | #define wxUSE_DYNLIB_CLASS 1 | |
656 | /* | |
657 | * Use wxObjectLoader | |
658 | */ | |
659 | #define wxUSE_DYNAMIC_LOADER 0 | |
660 | ||
661 | /* | |
662 | * Use wxTimer | |
663 | */ | |
664 | #define wxUSE_TIMER 1 | |
665 | ||
666 | /* | |
667 | * Use font metric files in GetTextExtent for wxPostScriptDC | |
668 | * Use consistent PostScript fonts for AFM and printing (!) | |
669 | */ | |
670 | #define wxUSE_AFM_FOR_POSTSCRIPT 1 | |
671 | #define wxUSE_NORMALIZED_PS_FONTS 1 | |
672 | ||
673 | /* compatibility */ | |
674 | #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS | |
675 | ||
676 | /* | |
677 | * Use PostScript device context | |
678 | */ | |
679 | #define wxUSE_POSTSCRIPT 1 | |
680 | ||
681 | /* | |
682 | * Compile wxString with some Unicode (wide character) support? | |
683 | */ | |
684 | #define wxUSE_WCHAR_T 1 | |
685 | ||
686 | /* | |
687 | * Compile wxWindows in Unicode mode (Win32 only for now)? | |
688 | */ | |
689 | #define wxUSE_UNICODE 0 | |
690 | ||
691 | /* | |
692 | * Use MS Layer for Unicode on Win9X (Win32 only)? | |
693 | */ | |
694 | #define wxUSE_UNICODE_MSLU 0 | |
695 | ||
696 | /* | |
697 | * Set to 1 to compile MS Windows XP theme engine support | |
698 | */ | |
699 | /* #define wxUSE_UXTHEME 1 */ | |
700 | ||
701 | /* | |
702 | * Set to 1 to auto-adapt to MS Windows XP themes where possible | |
703 | * (notably, wxNotebook pages) | |
704 | */ | |
705 | /* #define wxUSE_UXTHEME_AUTO 1*/ | |
706 | ||
707 | /* | |
708 | * Use wxURL class | |
709 | */ | |
710 | #define wxUSE_URL 1 | |
711 | ||
712 | /* | |
713 | * Work around a bug in GNU libc 5.x wcstombs() implementation. | |
714 | * | |
715 | * Note that you must link your programs with libc.a if you enable this and you | |
716 | * have libc 5 (you should enable this for libc6 where wcsrtombs() is | |
717 | * thread-safe version of wcstombs()). | |
718 | */ | |
719 | #define wxUSE_WCSRTOMBS 0 | |
720 | ||
721 | /* | |
722 | * Use the new experimental implementation of wxString::Printf()? | |
723 | * | |
724 | * Warning: enabling this may cause internal compiler errors with gcc! | |
725 | */ | |
726 | #define wxUSE_EXPERIMENTAL_PRINTF 0 | |
727 | ||
728 | /* | |
729 | * Use Interprocess communication | |
730 | */ | |
731 | #define wxUSE_IPC 1 | |
732 | /* | |
733 | * Use wxGetResource & wxWriteResource (change .Xdefaults) | |
734 | */ | |
735 | #define wxUSE_X_RESOURCES 1 | |
736 | /* | |
737 | * Use clipboard | |
738 | */ | |
739 | #define wxUSE_CLIPBOARD 1 | |
740 | /* | |
741 | * Use wxDataObject | |
742 | */ | |
743 | #define wxUSE_DATAOBJ 1 | |
744 | /* | |
745 | * Use tooltips | |
746 | */ | |
747 | #ifdef __WXMOTIF__ | |
748 | #define wxUSE_TOOLTIPS 0 | |
749 | #else | |
750 | #define wxUSE_TOOLTIPS 1 | |
751 | #endif | |
752 | /* | |
753 | * Use dnd | |
754 | */ | |
755 | #ifdef __WXGTK__ | |
756 | #define wxUSE_DRAG_AND_DROP 1 | |
757 | #else | |
758 | #define wxUSE_DRAG_AND_DROP 0 | |
759 | #endif | |
760 | /* | |
761 | * Use OLE (MSW only) | |
762 | */ | |
763 | #define wxUSE_OLE 0 | |
764 | /* | |
765 | * Use spline | |
766 | */ | |
767 | #define wxUSE_SPLINES 1 | |
768 | ||
769 | /* | |
770 | * Use the mdi architecture | |
771 | */ | |
772 | #define wxUSE_MDI_ARCHITECTURE 1 | |
773 | /* | |
774 | * Use the document/view architecture | |
775 | */ | |
776 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 | |
777 | /* | |
778 | * Use the print/preview architecture | |
779 | */ | |
780 | #define wxUSE_PRINTING_ARCHITECTURE 1 | |
781 | ||
782 | /* | |
783 | * Use Prolog IO | |
784 | */ | |
785 | #define wxUSE_PROLOGIO 1 | |
786 | /* | |
787 | * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1) | |
788 | */ | |
789 | #define wxUSE_RESOURCES 1 | |
790 | ||
791 | /* for compatibility */ | |
792 | #define wxUSE_WX_RESOURCES wxUSE_RESOURCES | |
793 | ||
794 | /* | |
795 | * Use wxWindows help facility | |
796 | */ | |
797 | #define wxUSE_HELP 1 | |
798 | /* | |
799 | * Use built-in HTML-based help controller | |
800 | */ | |
801 | #define wxUSE_WXHTML_HELP 1 | |
802 | /* | |
803 | * Use MS HTML Help controller (win32) | |
804 | */ | |
805 | #define wxUSE_MS_HTML_HELP 0 | |
806 | /* | |
807 | * Use MS HTML Help via libmspack (Unix) | |
808 | */ | |
809 | #define wxUSE_LIBMSPACK 1 | |
810 | ||
811 | /* | |
812 | * Use iostream.h rather than iostream | |
813 | */ | |
814 | #define wxUSE_IOSTREAMH 1 | |
815 | /* | |
816 | * Use Apple Ieee-double converter | |
817 | */ | |
818 | #define wxUSE_APPLE_IEEE 0 | |
819 | ||
820 | /* | |
821 | * Compatibility with 2.2 API | |
822 | */ | |
823 | #define WXWIN_COMPATIBILITY_2_2 1 | |
824 | /* | |
825 | * Compatibility with 2.4 API | |
826 | */ | |
827 | #define WXWIN_COMPATIBILITY_2_4 1 | |
828 | /* | |
829 | * Enables debugging: memory tracing, assert, etc., contains debug level | |
830 | */ | |
831 | #define WXDEBUG 0 | |
832 | /* | |
833 | * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) | |
834 | * WARNING: this code may not work with all architectures, especially | |
835 | * if alignment is an issue. | |
836 | */ | |
837 | #define wxUSE_MEMORY_TRACING 0 | |
838 | /* | |
839 | * Enable debugging version of global memory operators new and delete | |
840 | * Disable it, If this causes problems (e.g. link errors) | |
841 | */ | |
842 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
843 | /* | |
844 | * VZ: What does this one do? (FIXME) | |
845 | */ | |
846 | #define wxUSE_DEBUG_CONTEXT 0 | |
847 | /* | |
848 | * In debug mode, causes new to be defined to | |
849 | * be WXDEBUG_NEW (see object.h). If this causes | |
850 | * problems (e.g. link errors), set this to 0. | |
851 | */ | |
852 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
853 | /* | |
854 | * Matthews garbage collection (used for MrEd?) | |
855 | */ | |
856 | #define WXGARBAGE_COLLECTION_ON 1 | |
857 | /* | |
858 | * Use splines | |
859 | */ | |
860 | #define wxUSE_SPLINES 1 | |
861 | /* | |
862 | * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port | |
863 | */ | |
864 | #define wxUSE_DYNAMIC_CLASSES 1 | |
865 | ||
866 | /* | |
867 | * Support for metafiles | |
868 | */ | |
869 | #define wxUSE_METAFILE 1 | |
870 | #define wxUSE_ENH_METAFILE 1 | |
871 | ||
872 | /* | |
873 | * wxMiniFrame | |
874 | */ | |
875 | #define wxUSE_MINIFRAME 1 | |
876 | ||
877 | /* | |
878 | * wxHTML | |
879 | */ | |
880 | #define wxUSE_HTML 1 | |
881 | ||
882 | /* | |
883 | * (virtual) filesystems code | |
884 | */ | |
885 | #define wxUSE_FILESYSTEM 1 | |
886 | #define wxUSE_FS_INET 1 | |
887 | #define wxUSE_FS_ZIP 1 | |
888 | ||
889 | /* | |
890 | * A class that shows info window when app is busy | |
891 | * (works exactly like wxBusyCursor) | |
892 | */ | |
893 | #define wxUSE_BUSYINFO 1 | |
894 | ||
895 | /* | |
896 | * Zip stream for accessing files stored inside .zip archives | |
897 | */ | |
898 | #define wxUSE_ZIPSTREAM 1 | |
899 | ||
900 | /* | |
901 | * Use gzip streams, requires wxUSE_ZLIB | |
902 | */ | |
903 | #define wxUSE_GZSTREAM 1 | |
904 | ||
905 | /* | |
906 | * wxPalette class | |
907 | */ | |
908 | #define wxUSE_PALETTE 1 | |
909 | ||
910 | /* | |
911 | * wxImage support | |
912 | */ | |
913 | #define wxUSE_IMAGE 1 | |
914 | ||
915 | /* | |
916 | * GIF image format support | |
917 | */ | |
918 | #define wxUSE_GIF 1 | |
919 | ||
920 | /* | |
921 | * PCX image format support | |
922 | */ | |
923 | #define wxUSE_PCX 1 | |
924 | ||
925 | /* | |
926 | * IFF image format support | |
927 | */ | |
928 | #define wxUSE_IFF 1 | |
929 | ||
930 | /* | |
931 | * PNM image format support | |
932 | */ | |
933 | #define wxUSE_PNM 1 | |
934 | ||
935 | /* | |
936 | * XPM image format support | |
937 | */ | |
938 | #define wxUSE_XPM 1 | |
939 | ||
940 | /* | |
941 | * MS ICO (and CUR,ANI derivatives) image format support (on any platform) | |
942 | */ | |
943 | #define wxUSE_ICO_CUR 1 | |
944 | ||
945 | /* | |
946 | * Disable this if your compiler can't cope | |
947 | * with omission of prototype parameters. | |
948 | */ | |
949 | #define REMOVE_UNUSED_ARG 1 | |
950 | /* | |
951 | * The const keyword is being introduced more in wxWindows. | |
952 | * You can use this setting to maintain backward compatibility. | |
953 | * If 0: will use const wherever possible. | |
954 | * If 1: will use const only where necessary | |
955 | * for precompiled headers to work. | |
956 | * If 2: will be totally backward compatible, but precompiled | |
957 | * headers may not work and program size will be larger. | |
958 | */ | |
959 | #define CONST_COMPATIBILITY 0 | |
960 | ||
961 | /* define with the name of timezone variable */ | |
962 | #undef WX_TIMEZONE | |
963 | ||
964 | /* The type of 3rd argument to getsockname() - usually size_t or int */ | |
965 | #define SOCKLEN_T size_t | |
966 | ||
967 | /* The type of statvfs(2) argument */ | |
968 | #undef WX_STATFS_T | |
969 | ||
970 | /* The signal handler prototype */ | |
971 | #undef wxTYPE_SA_HANDLER | |
972 | ||
973 | /* gettimeofday() usually takes 2 arguments, but some really old systems might | |
974 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ | |
975 | #undef WX_GETTIMEOFDAY_NO_TZ | |
976 | ||
977 | /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ | |
978 | #define WX_GMTOFF_IN_TM | |
979 | ||
980 | /* Define if you have poll(2) function */ | |
981 | #define HAVE_POLL 1 | |
982 | ||
983 | /* Define if you have pw_gecos field in struct passwd */ | |
984 | #undef HAVE_PW_GECOS | |
985 | ||
986 | /* Define if you have dlopen() */ | |
987 | #define HAVE_DLOPEN 1 | |
988 | ||
989 | /* Define if you have gettimeofday() */ | |
990 | #define HAVE_GETTIMEOFDAY | |
991 | ||
992 | /* Define if you have ftime() */ | |
993 | #define HAVE_FTIME | |
994 | ||
995 | /* Define if you have support for large (64 bit size) files */ | |
996 | #undef HAVE_LARGEFILE_SUPPORT | |
997 | ||
998 | /* Define if you have localtime() */ | |
999 | #define HAVE_LOCALTIME | |
1000 | ||
1001 | /* Define if you have nanosleep() */ | |
1002 | #undef HAVE_NANOSLEEP | |
1003 | ||
1004 | /* Define if you have sched_yield */ | |
1005 | #undef HAVE_SCHED_YIELD | |
1006 | ||
1007 | /* Define if you have pthread_mutexattr_t and functions to work with it */ | |
1008 | #undef HAVE_PTHREAD_MUTEXATTR_T | |
1009 | ||
1010 | /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ | |
1011 | #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER | |
1012 | ||
1013 | /* Define if you have pthread_cancel */ | |
1014 | #define HAVE_PTHREAD_CANCEL 1 | |
1015 | ||
1016 | /* Define if you have sigaction() */ | |
1017 | #define HAVE_SIGACTION 1 | |
1018 | ||
1019 | /* Define if you have sigemptyset() */ | |
1020 | #define HAVE_SIGEMPTYSET 1 | |
1021 | ||
1022 | /* Define if you have the putenv function. */ | |
1023 | #define HAVE_PUTENV 1 | |
1024 | ||
1025 | /* Define if you have the setenv function. */ | |
1026 | #undef HAVE_SETENV | |
1027 | ||
1028 | /* Define if you have shl_load() */ | |
1029 | #undef HAVE_SHL_LOAD | |
1030 | ||
1031 | /* define if you have statfs function */ | |
1032 | #undef HAVE_STATFS | |
1033 | ||
1034 | /* define if you have statvfs function */ | |
1035 | #undef HAVE_STATVFS | |
1036 | ||
1037 | /* Define if you have strptime() */ | |
1038 | #define HAVE_STRPTIME 1 | |
1039 | ||
1040 | /* Define if you have all functions to set thread priority */ | |
1041 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 | |
1042 | ||
1043 | /* Define if you can specify exit functions to a thread */ | |
1044 | #define HAVE_THREAD_CLEANUP_FUNCTIONS 1 | |
1045 | ||
1046 | /* Define if you have timegm() function */ | |
1047 | #undef HAVE_TIMEGM | |
1048 | ||
1049 | /* Define if you have vsnprintf() */ | |
1050 | #undef HAVE_VSNPRINTF | |
1051 | ||
1052 | /* Define if you have vsnprintf() declaration in the header */ | |
1053 | #undef HAVE_VSNPRINTF_DECL | |
1054 | ||
1055 | /* Define if you have usleep() */ | |
1056 | #define HAVE_USLEEP 1 | |
1057 | ||
1058 | /* Define if you have wcslen function */ | |
1059 | #define HAVE_WCSLEN 1 | |
1060 | ||
1061 | /* define if you have vsscanf function */ | |
1062 | #undef HAVE_VSSCANF | |
1063 | ||
1064 | /* The number of bytes in a char. */ | |
1065 | #define SIZEOF_CHAR 1 | |
1066 | ||
1067 | /* The number of bytes in a wchar_t. */ | |
1068 | #define SIZEOF_WCHAR_T 4 | |
1069 | ||
1070 | /* The number of bytes in a int. */ | |
1071 | #define SIZEOF_INT 4 | |
1072 | ||
1073 | /* The number of bytes in a int *. */ | |
1074 | #define SIZEOF_INT_P 4 | |
1075 | ||
1076 | /* The number of bytes in a long. */ | |
1077 | #define SIZEOF_LONG 4 | |
1078 | ||
1079 | /* The number of bytes in a long long. */ | |
1080 | #define SIZEOF_LONG_LONG 8 | |
1081 | ||
1082 | /* The number of bytes in a short. */ | |
1083 | #define SIZEOF_SHORT 2 | |
1084 | ||
1085 | /* Define if size_t on your machine is the same type as unsigned int. */ | |
1086 | #define wxSIZE_T_IS_UINT 1 | |
1087 | ||
1088 | /* Define if size_t on your machine is the same type as unsigned long. */ | |
1089 | #undef wxSIZE_T_IS_ULONG | |
1090 | ||
1091 | /* Define if you have the dlopen function. */ | |
1092 | #define HAVE_DLOPEN 1 | |
1093 | ||
1094 | /* Define if you have the dlerror function. */ | |
1095 | #define HAVE_DLERROR 1 | |
1096 | ||
1097 | /* Define if you have Posix fnctl() function. */ | |
1098 | #define HAVE_FCNTL 1 | |
1099 | ||
1100 | /* Define if you have BSD flock() function. */ | |
1101 | #undef HAVE_FLOCK | |
1102 | ||
1103 | /* Define if you have the gethostname function. */ | |
1104 | #define HAVE_GETHOSTNAME 1 | |
1105 | ||
1106 | /* Define if you have the inet_addr function. */ | |
1107 | #define HAVE_INET_ADDR 1 | |
1108 | ||
1109 | /* Define if you have the inet_aton function. */ | |
1110 | #undef HAVE_INET_ATON | |
1111 | ||
1112 | /* Define if you have the mktemp function. */ | |
1113 | #define HAVE_MKTEMP 1 | |
1114 | ||
1115 | /* Define if you have the mkstemp function. */ | |
1116 | #define HAVE_MKSTEMP 1 | |
1117 | ||
1118 | /* Define if you have the nanosleep function. */ | |
1119 | #undef HAVE_NANOSLEEP | |
1120 | ||
1121 | /* Define if you have the putenv function. */ | |
1122 | #define HAVE_PUTENV 1 | |
1123 | ||
1124 | /* Define if you have the setenv function. */ | |
1125 | #undef HAVE_SETENV | |
1126 | ||
1127 | /* Define if you have the shl_load function. */ | |
1128 | #undef HAVE_SHL_LOAD | |
1129 | ||
1130 | /* Define if you have strtok_r function. */ | |
1131 | #undef HAVE_STRTOK_R | |
1132 | ||
1133 | /* Define if you have thr_setconcurrency function */ | |
1134 | #undef HAVE_THR_SETCONCURRENCY | |
1135 | ||
1136 | /* Define if you have the uname function. */ | |
1137 | #define HAVE_UNAME 1 | |
1138 | ||
1139 | /* Define if you have the usleep function. */ | |
1140 | #define HAVE_USLEEP 1 | |
1141 | ||
1142 | /* Define if you have the <X11/XKBlib.h> header file. */ | |
1143 | #undef HAVE_X11_XKBLIB_H | |
1144 | ||
1145 | /* Define if you have the fnmatch() function */ | |
1146 | #undef HAVE_FNMATCH | |
1147 | ||
1148 | /* Define if you have the <fnmatch.h> header file. */ | |
1149 | #undef HAVE_FNMATCH_H | |
1150 | ||
1151 | /* Define if you have the <iostream> header file. */ | |
1152 | #undef HAVE_IOSTREAM | |
1153 | ||
1154 | /* Define if you have the <linux/joystick.h> header file. */ | |
1155 | #undef HAVE_LINUX_JOYSTICK_H | |
1156 | ||
1157 | /* Define if you have the <sched.h> header file. */ | |
1158 | #undef HAVE_SCHED_H | |
1159 | ||
1160 | /* Define if you have the <strings.h> header file. */ | |
1161 | #define HAVE_STRINGS_H 1 | |
1162 | ||
1163 | /* Define if you have the <unistd.h> header file. */ | |
1164 | #define HAVE_UNISTD_H 1 | |
1165 | ||
1166 | /* Define if you have the <fcntl.h> header file. */ | |
1167 | #define HAVE_FCNTL_H 1 | |
1168 | ||
1169 | /* Define if you have the <wchar.h> header file. */ | |
1170 | #define HAVE_WCHAR_H 1 | |
1171 | ||
1172 | /* Define if you have the <wcstr.h> header file. */ | |
1173 | #undef HAVE_WCSTR_H | |
1174 | ||
1175 | /* Define if you have the <wctype.h> header file. */ | |
1176 | #undef HAVE_WCTYPE_H | |
1177 | ||
1178 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ | |
1179 | #define HAVE_ICONV_H 1 | |
1180 | ||
1181 | /* Define as "const" if the declaration of iconv() needs const. */ | |
1182 | #undef ICONV_CONST | |
1183 | ||
1184 | /* Define if you have the <langinfo.h> header file. */ | |
1185 | #define HAVE_LANGINFO_H 1 | |
1186 | ||
1187 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ | |
1188 | #undef HAVE_W32API_H | |
1189 | ||
1190 | /* Define if you have the <esd.h> header file. */ | |
1191 | /* #undef HAVE_ESD_H */ | |
1192 | ||
1193 | /* Define if you have wcsrtombs() function */ | |
1194 | #define HAVE_WCSRTOMBS 1 | |
1195 | ||
1196 | /* Define this if you have fputws() and putwc() */ | |
1197 | #define HAVE_FPUTWC 1 | |
1198 | ||
1199 | /* Define this if you have wprintf() and related functions */ | |
1200 | #define HAVE_WPRINTF 1 | |
1201 | ||
1202 | /* Define this if you have vswprintf() and related functions */ | |
1203 | #define HAVE_VSWPRINTF 1 | |
1204 | ||
1205 | /* Define this if you have _vsnwprintf */ | |
1206 | #undef HAVE__VSNWPRINTF | |
1207 | ||
1208 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ | |
1209 | #undef HAVE_XIM | |
1210 | ||
1211 | /* --------------------------------------------------------------------- | |
1212 | Win32 adjustments section | |
1213 | --------------------------------------------------------------------- | |
1214 | */ | |
1215 | ||
1216 | #ifdef __WIN32__ | |
1217 | ||
1218 | /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil | |
1219 | with wx/msw/setup.h */ | |
1220 | #define wxUSE_XPM_IN_MSW wxUSE_XPM | |
1221 | ||
1222 | #endif /* __WIN32__ */ | |
1223 | ||
1224 | /* --------------------------------------------------------* | |
1225 | * This stuff is static, it doesn't get modified directly | |
1226 | * by configure. | |
1227 | */ | |
1228 | ||
1229 | #include "wx/chkconf.h" | |
1230 | ||
1231 | /* | |
1232 | define some constants identifying wxWindows version in more details t | |
1233 | just the version number | |
1234 | */ | |
1235 | ||
1236 | /* wxLogChain class available */ | |
1237 | #define wxHAS_LOG_CHAIN 1 | |
1238 | ||
1239 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ | |
1240 | #define wxHAS_WORKING_GTK_DC_BLIT 1 | |
1241 | ||
1242 | /* Define this is you have X11/extensions/shape.h */ | |
1243 | #define HAVE_XSHAPE 1 | |
1244 | ||
1245 | #endif /* __WX_SETUP_H__ */ |