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