]> git.saurik.com Git - wxWidgets.git/blame - setup.h_vms
code cleanup for the pen width condition (patch 1034942 + more)
[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
92bbdbcd 493#define wxUSE_CHOICEBOOK 1
0db9d8d2
JJ
494/*
495 * Use this control
496 */
497#define wxUSE_RADIOBOX 1
498/*
499 * Use this control
500 */
501#define wxUSE_RADIOBTN 1
502/*
503 * Use this control
504 */
505#define wxUSE_SASH 1
506/*
507 * Use this control
508 */
509#define wxUSE_SCROLLBAR 1
510/*
511 * Use this control
512 */
513#define wxUSE_SLIDER 1
514/*
515 * Use this control
516 */
517#define wxUSE_SPINBTN 1
68874acf
JJ
518/*
519 * Use this control
520 */
521#define wxUSE_SPINCTRL 1
0db9d8d2
JJ
522/*
523 * Use this control
524 */
525#define wxUSE_SPLITTER 1
526/*
527 * Use this control
528 */
529#define wxUSE_STATBMP 1
530/*
531 * Use this control
532 */
533#define wxUSE_STATBOX 1
534/*
535 * Use this control
536 */
537#define wxUSE_STATLINE 1
1a0d517e
JJ
538/*
539 * Use this control
540 */
541#define wxUSE_STATTEXT 1
0db9d8d2
JJ
542/*
543 * Use this control
544 */
545#define wxUSE_STATUSBAR 1
392555bb
JJ
546/*
547 * Use this control
548 */
549#define wxUSE_TOGGLEBTN 1
0db9d8d2
JJ
550/*
551 * Use Tab dialog class - obsolete, use wxNotebook instead
552 */
553#define wxUSE_TAB_DIALOG 0
554/* compatibility */
555#define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
556/*
1a0d517e
JJ
557 * Use wxTextCtrl
558 */
559#define wxUSE_TEXTCTRL 1
560
561/*
562 * Use wxToollBar
0db9d8d2
JJ
563 */
564#define wxUSE_TOOLBAR 1
565
fb10f04c
JJ
566/* If 1, use the native toolbar, otherwise use the generic version
567 * (wxToolBarSimple) which may also be use together with the native one.
568 */
569#define wxUSE_TOOLBAR_NATIVE 1
570
33381c82
JJ
571/*
572 * Use wxTreeLayout class
573 */
574#define wxUSE_TREELAYOUT 1
575
0db9d8d2
JJ
576/*
577 * Use this control
578 */
579#define wxUSE_TREECTRL 1
580
581/*
582 * Use wxLongLong (a.k.a. int64) class
583 */
584#define wxUSE_LONGLONG 1
585
97b305b7
JJ
586/*
587 * Use geometry classes
588 */
589#define wxUSE_GEOMETRY 1
590
1a0d517e
JJ
591/*
592 * Use wxCmdLineParser class
593 */
594#define wxUSE_CMDLINE_PARSER 1
595/*
596 * Use wxDateTime
597 */
598#define wxUSE_DATETIME 1
0db9d8d2
JJ
599/*
600 * Use wxFile class
601 */
602#define wxUSE_FILE 1
4b37e99a
JJ
603/*
604 * Use wxFFile class
605 */
606#define wxUSE_FFILE 1
607/*
608 * Use wxFSVolume class
609 */
610#define wxUSE_FSVOLUME 1
611
3c621059
JJ
612/*
613 * Use wxTextBuffer class
614 */
615#define wxUSE_TEXTBUFFER 1
0db9d8d2
JJ
616/*
617 * Use wxTextFile class
618 */
619#define wxUSE_TEXTFILE 1
4199367e
VZ
620
621#define wxUSE_EXCEPTIONS 0
622
0db9d8d2
JJ
623/*
624 * Use log classes and logging functions
625 */
626#define wxUSE_LOG 1
1a0d517e
JJ
627/*
628 * Use log window
629 */
630#define wxUSE_LOGWINDOW 1
631/*
632 * Use standard GUI logger
633 */
634#define wxUSE_LOGGUI 1
0f02d3d0
JJ
635/*
636 * Use old log dialog instead of new wxLogGui
637 */
508e0acb 638#define wxUSE_LOG_DIALOG 0
1a0d517e
JJ
639/*
640 * Use wxStopWatch
641 */
642#define wxUSE_STOPWATCH 1
0db9d8d2
JJ
643/*
644 * Use time and date classes
645 */
646#define wxUSE_TIMEDATE 1
647/*
648 * Use wave class
649 */
002ed9af 650#define wxUSE_SOUND 1
0db9d8d2
JJ
651/*
652 * Use config system
653 */
654#define wxUSE_CONFIG 1
1a0d517e
JJ
655/*
656 * Use font mapping/conversion classes
657 */
658#define wxUSE_FONTMAP 1
0db9d8d2
JJ
659/*
660 * Use intl system
661 */
662#define wxUSE_INTL 1
663/*
8f52ea33 664 * Use wxProtocol and related classes
0db9d8d2 665 */
8f52ea33
JJ
666#define wxUSE_PROTOCOL 1
667#define wxUSE_PROTOCOL_FILE 1
668#define wxUSE_PROTOCOL_FTP 1
669#define wxUSE_PROTOCOL_HTTP 1
0db9d8d2 670/*
8f52ea33 671 * Use streams
0db9d8d2 672 */
8f52ea33 673#define wxUSE_STREAMS 1
0db9d8d2
JJ
674/*
675 * Use sockets
676 */
677#define wxUSE_SOCKETS 1
678/*
679 * Use dialup manager
680 */
1a0d517e 681#define wxUSE_DIALUP_MANAGER 1
0db9d8d2
JJ
682/*
683 * Use standard C++ streams if 1. If 0, use wxWin
684 * streams implementation.
685 */
686#define wxUSE_STD_IOSTREAM 0
687/*
688 * wxLibrary class
689 */
690#define wxUSE_DYNLIB_CLASS 1
8f52ea33
JJ
691/*
692 * Use wxObjectLoader
693 */
694#define wxUSE_DYNAMIC_LOADER 0
0db9d8d2 695
1a0d517e
JJ
696/*
697 * Use wxTimer
698 */
699#define wxUSE_TIMER 1
700
0db9d8d2
JJ
701/*
702 * Use font metric files in GetTextExtent for wxPostScriptDC
703 * Use consistent PostScript fonts for AFM and printing (!)
704 */
705#define wxUSE_AFM_FOR_POSTSCRIPT 1
706#define wxUSE_NORMALIZED_PS_FONTS 1
707
708/* compatibility */
709#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
710
711/*
712 * Use PostScript device context
713 */
714#define wxUSE_POSTSCRIPT 1
715
716/*
4b37e99a 717 * Compile wxString with some Unicode (wide character) support?
0db9d8d2 718 */
09f8c2a0 719#define wxUSE_WCHAR_T 1
0db9d8d2
JJ
720
721/*
f49347d1 722 * Compile wxWindows in Unicode mode?
0db9d8d2
JJ
723 */
724#define wxUSE_UNICODE 0
725
955b1191
JJ
726/*
727 * Use MS Layer for Unicode on Win9X (Win32 only)?
728 */
729#define wxUSE_UNICODE_MSLU 0
730
f3858bf5
JJ
731/*
732 * Set to 1 to compile MS Windows XP theme engine support
733 */
734/* #define wxUSE_UXTHEME 1 */
735
736/*
737 * Set to 1 to auto-adapt to MS Windows XP themes where possible
738 * (notably, wxNotebook pages)
739 */
740/* #define wxUSE_UXTHEME_AUTO 1*/
741
3a369441
JJ
742/*
743 * Set to 1 to use mousewheel events on Windows
744 */
745/* #undef wxUSE_MOUSEWHEEL */
746
263da348
VS
747/*
748 * Hotkey support (Windows)
749 */
750/* #define wxUSE_HOTKEY 1 */
751
8f52ea33
JJ
752/*
753 * Use wxURL class
754 */
755#define wxUSE_URL 1
756
0db9d8d2
JJ
757/*
758 * Work around a bug in GNU libc 5.x wcstombs() implementation.
759 *
760 * Note that you must link your programs with libc.a if you enable this and you
761 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
762 * thread-safe version of wcstombs()).
763 */
764#define wxUSE_WCSRTOMBS 0
765
766/*
767 * Use the new experimental implementation of wxString::Printf()?
768 *
769 * Warning: enabling this may cause internal compiler errors with gcc!
770 */
771#define wxUSE_EXPERIMENTAL_PRINTF 0
772
773/*
774 * Use Interprocess communication
775 */
776#define wxUSE_IPC 1
777/*
778 * Use wxGetResource & wxWriteResource (change .Xdefaults)
779 */
780#define wxUSE_X_RESOURCES 1
781/*
782 * Use clipboard
783 */
784#define wxUSE_CLIPBOARD 1
1a0d517e
JJ
785/*
786 * Use wxDataObject
787*/
788#define wxUSE_DATAOBJ 1
0db9d8d2
JJ
789/*
790 * Use tooltips
791 */
1aebc200 792#if defined (__WXMOTIF__) || defined( __WXX11__ )
dae752d4
JJ
793#define wxUSE_TOOLTIPS 0
794#else
1a0d517e 795#define wxUSE_TOOLTIPS 1
dae752d4 796#endif
0db9d8d2
JJ
797/*
798 * Use dnd
799 */
a17203df 800#ifdef __WXGTK__
181cbcf4
JJ
801#define wxUSE_DRAG_AND_DROP 1
802#else
0db9d8d2 803#define wxUSE_DRAG_AND_DROP 0
181cbcf4 804#endif
0f02d3d0
JJ
805/*
806 * Use OLE (MSW only)
807*/
808#define wxUSE_OLE 0
0db9d8d2
JJ
809/*
810 * Use spline
811 */
812#define wxUSE_SPLINES 1
0db9d8d2 813
a73ce5bf
VZ
814/*
815 * Use MDI.
816 */
817#define wxUSE_MDI 1
0db9d8d2
JJ
818/*
819 * Use the mdi architecture
820 */
821#define wxUSE_MDI_ARCHITECTURE 1
822/*
823 * Use the document/view architecture
824 */
825#define wxUSE_DOC_VIEW_ARCHITECTURE 1
826/*
827 * Use the print/preview architecture
828 */
829#define wxUSE_PRINTING_ARCHITECTURE 1
830
831/*
832 * Use Prolog IO
833 */
834#define wxUSE_PROLOGIO 1
835/*
836 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
837 */
838#define wxUSE_RESOURCES 1
839
840/* for compatibility */
841#define wxUSE_WX_RESOURCES wxUSE_RESOURCES
842
843/*
4b37e99a 844 * Use wxWindows help facility
0db9d8d2
JJ
845 */
846#define wxUSE_HELP 1
1a0d517e
JJ
847/*
848 * Use built-in HTML-based help controller
849 */
850#define wxUSE_WXHTML_HELP 1
4b37e99a
JJ
851/*
852 * Use MS HTML Help controller (win32)
853 */
854#define wxUSE_MS_HTML_HELP 0
2b5b100a
JJ
855/*
856 * Use MS HTML Help via libmspack (Unix)
857 */
858#define wxUSE_LIBMSPACK 1
1a0d517e 859
0db9d8d2
JJ
860/*
861 * Use iostream.h rather than iostream
862 */
863#define wxUSE_IOSTREAMH 1
864/*
865 * Use Apple Ieee-double converter
866 */
867#define wxUSE_APPLE_IEEE 0
1a0d517e 868
1a0d517e
JJ
869/*
870 * Compatibility with 2.2 API
871 */
e004299a 872#define WXWIN_COMPATIBILITY_2_2 1
134ecc85
VZ
873/*
874 * Compatibility with 2.4 API
875 */
876#define WXWIN_COMPATIBILITY_2_4 1
0db9d8d2
JJ
877/*
878 * Enables debugging: memory tracing, assert, etc., contains debug level
879 */
880#define WXDEBUG 0
881/*
882 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
883 * WARNING: this code may not work with all architectures, especially
884 * if alignment is an issue.
885 */
886#define wxUSE_MEMORY_TRACING 0
887/*
888 * Enable debugging version of global memory operators new and delete
889 * Disable it, If this causes problems (e.g. link errors)
890 */
891#define wxUSE_DEBUG_NEW_ALWAYS 0
892/*
893 * VZ: What does this one do? (FIXME)
894 */
895#define wxUSE_DEBUG_CONTEXT 0
896/*
897 * In debug mode, causes new to be defined to
898 * be WXDEBUG_NEW (see object.h). If this causes
899 * problems (e.g. link errors), set this to 0.
900 */
901#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
902/*
903 * Matthews garbage collection (used for MrEd?)
904 */
905#define WXGARBAGE_COLLECTION_ON 1
906/*
907 * Use splines
908 */
909#define wxUSE_SPLINES 1
910/*
911 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
912 */
913#define wxUSE_DYNAMIC_CLASSES 1
914
915/*
916 * Support for metafiles
917 */
918#define wxUSE_METAFILE 1
4b37e99a 919#define wxUSE_ENH_METAFILE 1
0db9d8d2
JJ
920
921/*
922 * wxMiniFrame
923 */
924#define wxUSE_MINIFRAME 1
925
926/*
927 * wxHTML
928 */
929#define wxUSE_HTML 1
930
9a8f0513
VS
931/*
932 * wxXRC
933 */
934#define wxUSE_XRC 1
935
dac5a9c9
JJ
936/*
937 * wxWebKitCtrl
938 */
939#define wxUSE_WEBKIT 1
940
0db9d8d2
JJ
941/*
942 * (virtual) filesystems code
943 */
24528b0c 944#define wxUSE_FILESYSTEM 1
0db9d8d2
JJ
945#define wxUSE_FS_INET 1
946#define wxUSE_FS_ZIP 1
947
948/*
949 * A class that shows info window when app is busy
950 * (works exactly like wxBusyCursor)
951 */
952#define wxUSE_BUSYINFO 1
953
954/*
955 * Zip stream for accessing files stored inside .zip archives
956 */
957#define wxUSE_ZIPSTREAM 1
958
9e4e191a
JJ
959/*
960 * wxPalette class
961 */
962#define wxUSE_PALETTE 1
963
2900bd1c
JJ
964/*
965 * wxImage support
966 */
967#define wxUSE_IMAGE 1
968
0db9d8d2
JJ
969/*
970 * GIF image format support
971 */
972#define wxUSE_GIF 1
973
974/*
975 * PCX image format support
976 */
977#define wxUSE_PCX 1
978
a7aef4a9
JJ
979/*
980 * IFF image format support
981 */
982#define wxUSE_IFF 1
983
0db9d8d2
JJ
984/*
985 * PNM image format support
986 */
987#define wxUSE_PNM 1
988
2900bd1c
JJ
989/*
990 * XPM image format support
991 */
992#define wxUSE_XPM 1
993
a7aef4a9 994/*
4b37e99a 995 * MS ICO (and CUR,ANI derivatives) image format support (on any platform)
a7aef4a9 996 */
df744f4d 997#define wxUSE_ICO_CUR 1
a7aef4a9 998
9cc454c0
JJ
999/*
1000 * Set to 1 if for dynamically loadable plugins support
1001 */
1002#define wxUSE_PLUGINS 1
1003
0db9d8d2
JJ
1004/*
1005 * Disable this if your compiler can't cope
1006 * with omission of prototype parameters.
1007 */
1008#define REMOVE_UNUSED_ARG 1
1009/*
1010 * The const keyword is being introduced more in wxWindows.
1011 * You can use this setting to maintain backward compatibility.
1012 * If 0: will use const wherever possible.
1013 * If 1: will use const only where necessary
1014 * for precompiled headers to work.
1015 * If 2: will be totally backward compatible, but precompiled
1016 * headers may not work and program size will be larger.
1017 */
1018#define CONST_COMPATIBILITY 0
1019
fb10f04c
JJ
1020/* define with the name of timezone variable */
1021#undef WX_TIMEZONE
1022
0db9d8d2 1023/* The type of 3rd argument to getsockname() - usually size_t or int */
fb10f04c 1024#define SOCKLEN_T size_t
0db9d8d2 1025
e004299a
JJ
1026/* The type of statvfs(2) argument */
1027#undef WX_STATFS_T
1028
4b37e99a
JJ
1029/* The signal handler prototype */
1030#undef wxTYPE_SA_HANDLER
1031
0db9d8d2
JJ
1032/* gettimeofday() usually takes 2 arguments, but some really old systems might
1033 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
1034#undef WX_GETTIMEOFDAY_NO_TZ
1035
4b37e99a 1036/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
b8ad9f18
JJ
1037#define WX_GMTOFF_IN_TM
1038
2b5f62a0
VZ
1039/* Define if you have poll(2) function */
1040#define HAVE_POLL 1
1041
181cbcf4
JJ
1042/* Define if you have pw_gecos field in struct passwd */
1043#undef HAVE_PW_GECOS
1044
0db9d8d2 1045/* Define if you have dlopen() */
181cbcf4 1046#define HAVE_DLOPEN 1
0db9d8d2
JJ
1047
1048/* Define if you have gettimeofday() */
1049#define HAVE_GETTIMEOFDAY
1050
1051/* Define if you have ftime() */
1052#define HAVE_FTIME
1053
d38b5757
JJ
1054/* Define if you have support for large (64 bit size) files */
1055#undef HAVE_LARGEFILE_SUPPORT
1056
0db9d8d2
JJ
1057/* Define if you have localtime() */
1058#define HAVE_LOCALTIME
1059
1060/* Define if you have nanosleep() */
1061#undef HAVE_NANOSLEEP
1062
1063/* Define if you have sched_yield */
1064#undef HAVE_SCHED_YIELD
1065
4b37e99a
JJ
1066/* Define if you have pthread_mutexattr_t and functions to work with it */
1067#undef HAVE_PTHREAD_MUTEXATTR_T
1068
1069/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
1070#undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
1071
0db9d8d2 1072/* Define if you have pthread_cancel */
fb10f04c 1073#define HAVE_PTHREAD_CANCEL 1
0db9d8d2 1074
181cbcf4
JJ
1075/* Define if you have sigaction() */
1076#define HAVE_SIGACTION 1
1077
1078/* Define if you have sigemptyset() */
1079#define HAVE_SIGEMPTYSET 1
1080
97b305b7
JJ
1081/* Define if you have the putenv function. */
1082#define HAVE_PUTENV 1
1083
1084/* Define if you have the setenv function. */
1085#undef HAVE_SETENV
1086
68874acf
JJ
1087/* Define if you have shl_load() */
1088#undef HAVE_SHL_LOAD
1089
33381c82
JJ
1090/* define if you have statfs function */
1091#undef HAVE_STATFS
1092
4b37e99a
JJ
1093/* define if you have statvfs function */
1094#undef HAVE_STATVFS
1095
fb10f04c
JJ
1096/* Define if you have strptime() */
1097#define HAVE_STRPTIME 1
1098
0db9d8d2 1099/* Define if you have all functions to set thread priority */
fb10f04c 1100#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
0db9d8d2
JJ
1101
1102/* Define if you can specify exit functions to a thread */
fb10f04c 1103#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
0db9d8d2 1104
68874acf
JJ
1105/* Define if you have timegm() function */
1106#undef HAVE_TIMEGM
0db9d8d2
JJ
1107
1108/* Define if you have vsnprintf() */
1109#undef HAVE_VSNPRINTF
1110
ec0d6da3
VZ
1111/* Define if you have vsnprintf() declaration in the header */
1112#undef HAVE_VSNPRINTF_DECL
1113
0db9d8d2 1114/* Define if you have usleep() */
508e0acb 1115#define HAVE_USLEEP 1
0db9d8d2
JJ
1116
1117/* Define if you have wcslen function */
508e0acb 1118#define HAVE_WCSLEN 1
0db9d8d2
JJ
1119
1120/* define if you have vsscanf function */
1121#undef HAVE_VSSCANF
1122
1123/* The number of bytes in a char. */
1124#define SIZEOF_CHAR 1
1125
181cbcf4
JJ
1126/* The number of bytes in a wchar_t. */
1127#define SIZEOF_WCHAR_T 4
1128
0db9d8d2
JJ
1129/* The number of bytes in a int. */
1130#define SIZEOF_INT 4
1131
a369f7c8
VZ
1132/* The number of bytes in a pointer. */
1133#define SIZEOF_VOID_P 4
0db9d8d2
JJ
1134
1135/* The number of bytes in a long. */
1136#define SIZEOF_LONG 4
1137
1138/* The number of bytes in a long long. */
1139#define SIZEOF_LONG_LONG 8
1140
1141/* The number of bytes in a short. */
1142#define SIZEOF_SHORT 2
1143
a369f7c8
VZ
1144/* The number of bytes in a size_t. */
1145#define SIZEOF_SIZE_T 4
1146
1a0d517e
JJ
1147/* Define if size_t on your machine is the same type as unsigned int. */
1148#define wxSIZE_T_IS_UINT 1
1149
1150/* Define if size_t on your machine is the same type as unsigned long. */
1151#undef wxSIZE_T_IS_ULONG
1152
0db9d8d2 1153/* Define if you have the dlopen function. */
181cbcf4
JJ
1154#define HAVE_DLOPEN 1
1155
1156/* Define if you have the dlerror function. */
1157#define HAVE_DLERROR 1
0db9d8d2 1158
4b37e99a
JJ
1159/* Define if you have Posix fnctl() function. */
1160#define HAVE_FCNTL 1
1161
1162/* Define if you have BSD flock() function. */
1163#undef HAVE_FLOCK
1164
0db9d8d2 1165/* Define if you have the gethostname function. */
508e0acb 1166#define HAVE_GETHOSTNAME 1
0db9d8d2
JJ
1167
1168/* Define if you have the inet_addr function. */
508e0acb 1169#define HAVE_INET_ADDR 1
0db9d8d2
JJ
1170
1171/* Define if you have the inet_aton function. */
1172#undef HAVE_INET_ATON
1173
4b37e99a
JJ
1174/* Define if you have the mktemp function. */
1175#define HAVE_MKTEMP 1
1176
1177/* Define if you have the mkstemp function. */
1178#define HAVE_MKSTEMP 1
1179
0db9d8d2
JJ
1180/* Define if you have the nanosleep function. */
1181#undef HAVE_NANOSLEEP
1182
4b37e99a
JJ
1183/* Define if you have the putenv function. */
1184#define HAVE_PUTENV 1
1185
1186/* Define if you have the setenv function. */
1187#undef HAVE_SETENV
1188
0db9d8d2
JJ
1189/* Define if you have the shl_load function. */
1190#undef HAVE_SHL_LOAD
1191
1192/* Define if you have strtok_r function. */
1193#undef HAVE_STRTOK_R
1194
68874acf 1195/* Define if you have thr_setconcurrency function */
181cbcf4 1196#undef HAVE_THR_SETCONCURRENCY
68874acf 1197
0db9d8d2 1198/* Define if you have the uname function. */
508e0acb 1199#define HAVE_UNAME 1
0db9d8d2
JJ
1200
1201/* Define if you have the usleep function. */
508e0acb 1202#define HAVE_USLEEP 1
0db9d8d2 1203
0db9d8d2
JJ
1204/* Define if you have the <X11/XKBlib.h> header file. */
1205#undef HAVE_X11_XKBLIB_H
1206
9988e82e
JJ
1207/* Define if you have the fnmatch() function */
1208#undef HAVE_FNMATCH
1209
0db9d8d2
JJ
1210/* Define if you have the <fnmatch.h> header file. */
1211#undef HAVE_FNMATCH_H
1212
1213/* Define if you have the <iostream> header file. */
1214#undef HAVE_IOSTREAM
1215
1216/* Define if you have the <linux/joystick.h> header file. */
1217#undef HAVE_LINUX_JOYSTICK_H
1218
1219/* Define if you have the <sched.h> header file. */
1220#undef HAVE_SCHED_H
1221
0db9d8d2 1222/* Define if you have the <unistd.h> header file. */
508e0acb 1223#define HAVE_UNISTD_H 1
0db9d8d2 1224
4b37e99a
JJ
1225/* Define if you have the <fcntl.h> header file. */
1226#define HAVE_FCNTL_H 1
1227
0db9d8d2 1228/* Define if you have the <wchar.h> header file. */
508e0acb 1229#define HAVE_WCHAR_H 1
0db9d8d2
JJ
1230
1231/* Define if you have the <wcstr.h> header file. */
1232#undef HAVE_WCSTR_H
1233
4b37e99a
JJ
1234/* Define if you have the <wctype.h> header file. */
1235#undef HAVE_WCTYPE_H
1236
35e92fbf 1237/* Define if you have the <iconv.h> header file and iconv() symbol. */
181cbcf4
JJ
1238#define HAVE_ICONV_H 1
1239
35e92fbf
JJ
1240/* Define as "const" if the declaration of iconv() needs const. */
1241#undef ICONV_CONST
1242
181cbcf4
JJ
1243/* Define if you have the <langinfo.h> header file. */
1244#define HAVE_LANGINFO_H 1
1245
0f02d3d0
JJ
1246/* Define if you have the <w32api.h> header file (mingw,cygwin). */
1247#undef HAVE_W32API_H
1248
f3858bf5
JJ
1249/* Define if you have the <esd.h> header file. */
1250/* #undef HAVE_ESD_H */
1251
9cc454c0
JJ
1252/* Define if you have the <sys/soundcard.h> header file. */
1253/* #undef HAVE_SYS_SOUNDCARD_H */
1254
9e4e191a
JJ
1255/* Define if you have wcsrtombs() function */
1256#define HAVE_WCSRTOMBS 1
1257
fbe47c7b
VS
1258/* Define this if you have wputc() */
1259#define HAVE_WPUTC 1
1260
1261/* Define this if you have wputchar() */
1262#define HAVE_WPUTCHAR 1
1263
1264/* Define this if you have putws() */
1265#define HAVE_PUTWS 1
1266
1267/* Define this if you have fputws() */
1268#define HAVE_FPUTWS 1
b2ddee86 1269
1c2d1459
VZ
1270/* Define this if you have strcasecmp() function in <string.h> */
1271#define HAVE_STRCASECMP_IN_STRING_H 1
1272
1273/* Define this if you have strcasecmp() function in <strings.h> */
1274#undef HAVE_STRCASECMP_IN_STRINGS_H
1275
b2ddee86
JJ
1276/* Define this if you have wprintf() and related functions */
1277#define HAVE_WPRINTF 1
1278
1279/* Define this if you have vswprintf() and related functions */
1280#define HAVE_VSWPRINTF 1
1281
1507adbb
JJ
1282/* Define this if you have _vsnwprintf */
1283#undef HAVE__VSNWPRINTF
1284
68874acf
JJ
1285/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
1286#undef HAVE_XIM
1287
b2ddee86
JJ
1288/* ---------------------------------------------------------------------
1289 Win32 adjustments section
1290 ---------------------------------------------------------------------
1291 */
1292
1293#ifdef __WIN32__
1294
1295/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil
1296 with wx/msw/setup.h */
1297#define wxUSE_XPM_IN_MSW wxUSE_XPM
1298
1299#endif /* __WIN32__ */
1300
9e4e191a
JJ
1301/* --------------------------------------------------------*
1302 * This stuff is static, it doesn't get modified directly
1303 * by configure.
1304 */
1305
1306#include "wx/chkconf.h"
1307
1308/*
1309 define some constants identifying wxWindows version in more details t
1310 just the version number
1311*/
1312
1313/* wxLogChain class available */
1314#define wxHAS_LOG_CHAIN 1
1315
1316/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1317#define wxHAS_WORKING_GTK_DC_BLIT 1
1318
6804a3f7
JJ
1319/* Define this is you have X11/extensions/shape.h */
1320#define HAVE_XSHAPE 1
1321
3c6f86f5
JJ
1322/* Define this if you have type SPBCDATA */
1323#undef HAVE_SPBCDATA
1324
304205f1
VS
1325/* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
1326#undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
1327
0db9d8d2 1328#endif /* __WX_SETUP_H__ */