]>
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 | /* | |
808 | * Use iostream.h rather than iostream | |
809 | */ | |
810 | #define wxUSE_IOSTREAMH 1 | |
811 | /* | |
812 | * Use Apple Ieee-double converter | |
813 | */ | |
814 | #define wxUSE_APPLE_IEEE 0 | |
815 | ||
816 | /* | |
817 | * Compatibility with 2.2 API | |
818 | */ | |
819 | #define WXWIN_COMPATIBILITY_2_2 1 | |
820 | /* | |
821 | * Compatibility with 2.4 API | |
822 | */ | |
823 | #define WXWIN_COMPATIBILITY_2_4 1 | |
824 | /* | |
825 | * Enables debugging: memory tracing, assert, etc., contains debug level | |
826 | */ | |
827 | #define WXDEBUG 0 | |
828 | /* | |
829 | * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) | |
830 | * WARNING: this code may not work with all architectures, especially | |
831 | * if alignment is an issue. | |
832 | */ | |
833 | #define wxUSE_MEMORY_TRACING 0 | |
834 | /* | |
835 | * Enable debugging version of global memory operators new and delete | |
836 | * Disable it, If this causes problems (e.g. link errors) | |
837 | */ | |
838 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
839 | /* | |
840 | * VZ: What does this one do? (FIXME) | |
841 | */ | |
842 | #define wxUSE_DEBUG_CONTEXT 0 | |
843 | /* | |
844 | * In debug mode, causes new to be defined to | |
845 | * be WXDEBUG_NEW (see object.h). If this causes | |
846 | * problems (e.g. link errors), set this to 0. | |
847 | */ | |
848 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
849 | /* | |
850 | * Matthews garbage collection (used for MrEd?) | |
851 | */ | |
852 | #define WXGARBAGE_COLLECTION_ON 1 | |
853 | /* | |
854 | * Use splines | |
855 | */ | |
856 | #define wxUSE_SPLINES 1 | |
857 | /* | |
858 | * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port | |
859 | */ | |
860 | #define wxUSE_DYNAMIC_CLASSES 1 | |
861 | ||
862 | /* | |
863 | * Support for metafiles | |
864 | */ | |
865 | #define wxUSE_METAFILE 1 | |
866 | #define wxUSE_ENH_METAFILE 1 | |
867 | ||
868 | /* | |
869 | * wxMiniFrame | |
870 | */ | |
871 | #define wxUSE_MINIFRAME 1 | |
872 | ||
873 | /* | |
874 | * wxHTML | |
875 | */ | |
876 | #define wxUSE_HTML 1 | |
877 | ||
878 | /* | |
879 | * (virtual) filesystems code | |
880 | */ | |
881 | #define wxUSE_FILESYSTEM 1 | |
882 | #define wxUSE_FS_INET 1 | |
883 | #define wxUSE_FS_ZIP 1 | |
884 | ||
885 | /* | |
886 | * A class that shows info window when app is busy | |
887 | * (works exactly like wxBusyCursor) | |
888 | */ | |
889 | #define wxUSE_BUSYINFO 1 | |
890 | ||
891 | /* | |
892 | * Zip stream for accessing files stored inside .zip archives | |
893 | */ | |
894 | #define wxUSE_ZIPSTREAM 1 | |
895 | ||
896 | /* | |
897 | * Use gzip streams, requires wxUSE_ZLIB | |
898 | */ | |
899 | #define wxUSE_GZSTREAM 1 | |
900 | ||
901 | /* | |
902 | * wxPalette class | |
903 | */ | |
904 | #define wxUSE_PALETTE 1 | |
905 | ||
906 | /* | |
907 | * wxImage support | |
908 | */ | |
909 | #define wxUSE_IMAGE 1 | |
910 | ||
911 | /* | |
912 | * GIF image format support | |
913 | */ | |
914 | #define wxUSE_GIF 1 | |
915 | ||
916 | /* | |
917 | * PCX image format support | |
918 | */ | |
919 | #define wxUSE_PCX 1 | |
920 | ||
921 | /* | |
922 | * IFF image format support | |
923 | */ | |
924 | #define wxUSE_IFF 1 | |
925 | ||
926 | /* | |
927 | * PNM image format support | |
928 | */ | |
929 | #define wxUSE_PNM 1 | |
930 | ||
931 | /* | |
932 | * XPM image format support | |
933 | */ | |
934 | #define wxUSE_XPM 1 | |
935 | ||
936 | /* | |
937 | * MS ICO (and CUR,ANI derivatives) image format support (on any platform) | |
938 | */ | |
939 | #define wxUSE_ICO_CUR 1 | |
940 | ||
941 | /* | |
942 | * Disable this if your compiler can't cope | |
943 | * with omission of prototype parameters. | |
944 | */ | |
945 | #define REMOVE_UNUSED_ARG 1 | |
946 | /* | |
947 | * The const keyword is being introduced more in wxWindows. | |
948 | * You can use this setting to maintain backward compatibility. | |
949 | * If 0: will use const wherever possible. | |
950 | * If 1: will use const only where necessary | |
951 | * for precompiled headers to work. | |
952 | * If 2: will be totally backward compatible, but precompiled | |
953 | * headers may not work and program size will be larger. | |
954 | */ | |
955 | #define CONST_COMPATIBILITY 0 | |
956 | ||
957 | /* define with the name of timezone variable */ | |
958 | #undef WX_TIMEZONE | |
959 | ||
960 | /* The type of 3rd argument to getsockname() - usually size_t or int */ | |
961 | #define SOCKLEN_T size_t | |
962 | ||
963 | /* The type of statvfs(2) argument */ | |
964 | #undef WX_STATFS_T | |
965 | ||
966 | /* The signal handler prototype */ | |
967 | #undef wxTYPE_SA_HANDLER | |
968 | ||
969 | /* gettimeofday() usually takes 2 arguments, but some really old systems might | |
970 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ | |
971 | #undef WX_GETTIMEOFDAY_NO_TZ | |
972 | ||
973 | /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ | |
974 | #define WX_GMTOFF_IN_TM | |
975 | ||
976 | /* Define if you have poll(2) function */ | |
977 | #define HAVE_POLL 1 | |
978 | ||
979 | /* Define if you have pw_gecos field in struct passwd */ | |
980 | #undef HAVE_PW_GECOS | |
981 | ||
982 | /* Define if you have dlopen() */ | |
983 | #define HAVE_DLOPEN 1 | |
984 | ||
985 | /* Define if you have gettimeofday() */ | |
986 | #define HAVE_GETTIMEOFDAY | |
987 | ||
988 | /* Define if you have ftime() */ | |
989 | #define HAVE_FTIME | |
990 | ||
991 | /* Define if you have support for large (64 bit size) files */ | |
992 | #undef HAVE_LARGEFILE_SUPPORT | |
993 | ||
994 | /* Define if you have localtime() */ | |
995 | #define HAVE_LOCALTIME | |
996 | ||
997 | /* Define if you have nanosleep() */ | |
998 | #undef HAVE_NANOSLEEP | |
999 | ||
1000 | /* Define if you have sched_yield */ | |
1001 | #undef HAVE_SCHED_YIELD | |
1002 | ||
1003 | /* Define if you have pthread_mutexattr_t and functions to work with it */ | |
1004 | #undef HAVE_PTHREAD_MUTEXATTR_T | |
1005 | ||
1006 | /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ | |
1007 | #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER | |
1008 | ||
1009 | /* Define if you have pthread_cancel */ | |
1010 | #define HAVE_PTHREAD_CANCEL 1 | |
1011 | ||
1012 | /* Define if you have sigaction() */ | |
1013 | #define HAVE_SIGACTION 1 | |
1014 | ||
1015 | /* Define if you have sigemptyset() */ | |
1016 | #define HAVE_SIGEMPTYSET 1 | |
1017 | ||
1018 | /* Define if you have the putenv function. */ | |
1019 | #define HAVE_PUTENV 1 | |
1020 | ||
1021 | /* Define if you have the setenv function. */ | |
1022 | #undef HAVE_SETENV | |
1023 | ||
1024 | /* Define if you have shl_load() */ | |
1025 | #undef HAVE_SHL_LOAD | |
1026 | ||
1027 | /* define if you have statfs function */ | |
1028 | #undef HAVE_STATFS | |
1029 | ||
1030 | /* define if you have statvfs function */ | |
1031 | #undef HAVE_STATVFS | |
1032 | ||
1033 | /* Define if you have strptime() */ | |
1034 | #define HAVE_STRPTIME 1 | |
1035 | ||
1036 | /* Define if you have all functions to set thread priority */ | |
1037 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 | |
1038 | ||
1039 | /* Define if you can specify exit functions to a thread */ | |
1040 | #define HAVE_THREAD_CLEANUP_FUNCTIONS 1 | |
1041 | ||
1042 | /* Define if you have timegm() function */ | |
1043 | #undef HAVE_TIMEGM | |
1044 | ||
1045 | /* Define if you have vsnprintf() */ | |
1046 | #undef HAVE_VSNPRINTF | |
1047 | ||
1048 | /* Define if you have vsnprintf() declaration in the header */ | |
1049 | #undef HAVE_VSNPRINTF_DECL | |
1050 | ||
1051 | /* Define if you have usleep() */ | |
1052 | #define HAVE_USLEEP 1 | |
1053 | ||
1054 | /* Define if you have wcslen function */ | |
1055 | #define HAVE_WCSLEN 1 | |
1056 | ||
1057 | /* define if you have vsscanf function */ | |
1058 | #undef HAVE_VSSCANF | |
1059 | ||
1060 | /* The number of bytes in a char. */ | |
1061 | #define SIZEOF_CHAR 1 | |
1062 | ||
1063 | /* The number of bytes in a wchar_t. */ | |
1064 | #define SIZEOF_WCHAR_T 4 | |
1065 | ||
1066 | /* The number of bytes in a int. */ | |
1067 | #define SIZEOF_INT 4 | |
1068 | ||
1069 | /* The number of bytes in a int *. */ | |
1070 | #define SIZEOF_INT_P 4 | |
1071 | ||
1072 | /* The number of bytes in a long. */ | |
1073 | #define SIZEOF_LONG 4 | |
1074 | ||
1075 | /* The number of bytes in a long long. */ | |
1076 | #define SIZEOF_LONG_LONG 8 | |
1077 | ||
1078 | /* The number of bytes in a short. */ | |
1079 | #define SIZEOF_SHORT 2 | |
1080 | ||
1081 | /* Define if size_t on your machine is the same type as unsigned int. */ | |
1082 | #define wxSIZE_T_IS_UINT 1 | |
1083 | ||
1084 | /* Define if size_t on your machine is the same type as unsigned long. */ | |
1085 | #undef wxSIZE_T_IS_ULONG | |
1086 | ||
1087 | /* Define if you have the dlopen function. */ | |
1088 | #define HAVE_DLOPEN 1 | |
1089 | ||
1090 | /* Define if you have the dlerror function. */ | |
1091 | #define HAVE_DLERROR 1 | |
1092 | ||
1093 | /* Define if you have Posix fnctl() function. */ | |
1094 | #define HAVE_FCNTL 1 | |
1095 | ||
1096 | /* Define if you have BSD flock() function. */ | |
1097 | #undef HAVE_FLOCK | |
1098 | ||
1099 | /* Define if you have the gethostname function. */ | |
1100 | #define HAVE_GETHOSTNAME 1 | |
1101 | ||
1102 | /* Define if you have the inet_addr function. */ | |
1103 | #define HAVE_INET_ADDR 1 | |
1104 | ||
1105 | /* Define if you have the inet_aton function. */ | |
1106 | #undef HAVE_INET_ATON | |
1107 | ||
1108 | /* Define if you have the mktemp function. */ | |
1109 | #define HAVE_MKTEMP 1 | |
1110 | ||
1111 | /* Define if you have the mkstemp function. */ | |
1112 | #define HAVE_MKSTEMP 1 | |
1113 | ||
1114 | /* Define if you have the nanosleep function. */ | |
1115 | #undef HAVE_NANOSLEEP | |
1116 | ||
1117 | /* Define if you have the putenv function. */ | |
1118 | #define HAVE_PUTENV 1 | |
1119 | ||
1120 | /* Define if you have the setenv function. */ | |
1121 | #undef HAVE_SETENV | |
1122 | ||
1123 | /* Define if you have the shl_load function. */ | |
1124 | #undef HAVE_SHL_LOAD | |
1125 | ||
1126 | /* Define if you have strtok_r function. */ | |
1127 | #undef HAVE_STRTOK_R | |
1128 | ||
1129 | /* Define if you have thr_setconcurrency function */ | |
1130 | #undef HAVE_THR_SETCONCURRENCY | |
1131 | ||
1132 | /* Define if you have the uname function. */ | |
1133 | #define HAVE_UNAME 1 | |
1134 | ||
1135 | /* Define if you have the usleep function. */ | |
1136 | #define HAVE_USLEEP 1 | |
1137 | ||
1138 | /* Define if you have the <X11/XKBlib.h> header file. */ | |
1139 | #undef HAVE_X11_XKBLIB_H | |
1140 | ||
1141 | /* Define if you have the fnmatch() function */ | |
1142 | #undef HAVE_FNMATCH | |
1143 | ||
1144 | /* Define if you have the <fnmatch.h> header file. */ | |
1145 | #undef HAVE_FNMATCH_H | |
1146 | ||
1147 | /* Define if you have the <iostream> header file. */ | |
1148 | #undef HAVE_IOSTREAM | |
1149 | ||
1150 | /* Define if you have the <linux/joystick.h> header file. */ | |
1151 | #undef HAVE_LINUX_JOYSTICK_H | |
1152 | ||
1153 | /* Define if you have the <sched.h> header file. */ | |
1154 | #undef HAVE_SCHED_H | |
1155 | ||
1156 | /* Define if you have the <strings.h> header file. */ | |
1157 | #define HAVE_STRINGS_H 1 | |
1158 | ||
1159 | /* Define if you have the <unistd.h> header file. */ | |
1160 | #define HAVE_UNISTD_H 1 | |
1161 | ||
1162 | /* Define if you have the <fcntl.h> header file. */ | |
1163 | #define HAVE_FCNTL_H 1 | |
1164 | ||
1165 | /* Define if you have the <wchar.h> header file. */ | |
1166 | #define HAVE_WCHAR_H 1 | |
1167 | ||
1168 | /* Define if you have the <wcstr.h> header file. */ | |
1169 | #undef HAVE_WCSTR_H | |
1170 | ||
1171 | /* Define if you have the <wctype.h> header file. */ | |
1172 | #undef HAVE_WCTYPE_H | |
1173 | ||
1174 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ | |
1175 | #define HAVE_ICONV_H 1 | |
1176 | ||
1177 | /* Define as "const" if the declaration of iconv() needs const. */ | |
1178 | #undef ICONV_CONST | |
1179 | ||
1180 | /* Define if you have the <langinfo.h> header file. */ | |
1181 | #define HAVE_LANGINFO_H 1 | |
1182 | ||
1183 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ | |
1184 | #undef HAVE_W32API_H | |
1185 | ||
1186 | /* Define if you have the <esd.h> header file. */ | |
1187 | /* #undef HAVE_ESD_H */ | |
1188 | ||
1189 | /* Define if you have wcsrtombs() function */ | |
1190 | #define HAVE_WCSRTOMBS 1 | |
1191 | ||
1192 | /* Define this if you have fputws() and putwc() */ | |
1193 | #define HAVE_FPUTWC 1 | |
1194 | ||
1195 | /* Define this if you have wprintf() and related functions */ | |
1196 | #define HAVE_WPRINTF 1 | |
1197 | ||
1198 | /* Define this if you have vswprintf() and related functions */ | |
1199 | #define HAVE_VSWPRINTF 1 | |
1200 | ||
1201 | /* Define this if you have _vsnwprintf */ | |
1202 | #undef HAVE__VSNWPRINTF | |
1203 | ||
1204 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ | |
1205 | #undef HAVE_XIM | |
1206 | ||
1207 | /* --------------------------------------------------------------------- | |
1208 | Win32 adjustments section | |
1209 | --------------------------------------------------------------------- | |
1210 | */ | |
1211 | ||
1212 | #ifdef __WIN32__ | |
1213 | ||
1214 | /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil | |
1215 | with wx/msw/setup.h */ | |
1216 | #define wxUSE_XPM_IN_MSW wxUSE_XPM | |
1217 | ||
1218 | #endif /* __WIN32__ */ | |
1219 | ||
1220 | /* --------------------------------------------------------* | |
1221 | * This stuff is static, it doesn't get modified directly | |
1222 | * by configure. | |
1223 | */ | |
1224 | ||
1225 | #include "wx/chkconf.h" | |
1226 | ||
1227 | /* | |
1228 | define some constants identifying wxWindows version in more details t | |
1229 | just the version number | |
1230 | */ | |
1231 | ||
1232 | /* wxLogChain class available */ | |
1233 | #define wxHAS_LOG_CHAIN 1 | |
1234 | ||
1235 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ | |
1236 | #define wxHAS_WORKING_GTK_DC_BLIT 1 | |
1237 | ||
1238 | /* Define this is you have X11/extensions/shape.h */ | |
1239 | #define HAVE_XSHAPE 1 | |
1240 | ||
1241 | #endif /* __WX_SETUP_H__ */ |