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