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