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