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