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