]> git.saurik.com Git - wxWidgets.git/blame - acconfig.h
use of div_t.quot and div_t.rem were changed to / and %
[wxWidgets.git] / acconfig.h
CommitLineData
dc30432a
VZ
1/* Generate setup.h.in from this file using autoheader. */
2/* */
3/* Version: $Id$ */
4
bfcc7d7f
HH
5/* This define (__WX_SETUP_H__) is used both to insure setup.h is included
6 * only once and to indicate that we are building using configure. */
7#ifndef __WX_SETUP_H__
8#define __WX_SETUP_H__
dc30432a
VZ
9
10#ifdef __GNUG__
11 #pragma interface
12#endif
13
14@TOP@
15
16/* ------------------------------------------------------------------------ */
17/* wxWindows version (not used but required by autoheader) */
18/* ------------------------------------------------------------------------ */
19
7db05816
VZ
20/* needed for older automake? */
21#undef WITH_SYMBOL_UNDERSCORE
22
dc30432a
VZ
23/* ------------------------------------------------------------------------ */
24/* define if support for GTK 1.2 features */
25/* ------------------------------------------------------------------------ */
26
27#undef __WXGTK12__
28
29/* ------------------------------------------------------------------------ */
30/* define the system to compile */
31/* ------------------------------------------------------------------------ */
32
33/*
34 * Define to 1 for Unix[-like] system
35 */
4d19d979 36#define wxUSE_UNIX 0
dc30432a
VZ
37
38#undef __UNIX__
39#undef __LINUX__
40#undef __SGI__
41#undef __HPUX__
42#undef __SYSV__
43#undef __SVR4__
44#undef __AIX__
45#undef __SUN__
46#undef __SOLARIS__
47#undef __SUNOS__
48#undef __ALPHA__
49#undef __OSF__
50#undef __BSD__
51#undef __FREEBSD__
52#undef __VMS__
53#undef __ULTRIX__
54#undef __DATA_GENERAL__
91b8de8d 55#undef __EMX__
dc30432a 56
a9b5e89f
VZ
57#undef __WINDOWS__
58#undef __WIN95__
59#undef __WIN32__
60#undef __GNUWIN32__
4d19d979 61#undef WINVER
a9b5e89f 62
dc30432a
VZ
63/* ------------------------------------------------------------------------ */
64/* compiler options */
65/* ------------------------------------------------------------------------ */
66
67/*
68 * Supports bool type
69 */
70#undef HAVE_BOOL
71
72/* ------------------------------------------------------------------------ */
73/* library options */
74/* ------------------------------------------------------------------------ */
75
76/*
77 * Use zlib
78 */
79#define wxUSE_ZLIB 0
80/*
81 * Use libpng
82 */
83#define wxUSE_LIBPNG 0
84/*
85 * Use libjpeg
86 */
87#define wxUSE_LIBJPEG 0
88/*
89 * Use libgif
90 */
91#define wxUSE_LIBGIF 0
92/*
93 * Use iODBC
94 */
95#define wxUSE_ODBC 0
96/*
97 * Use Threads
98 */
99#define wxUSE_THREADS 0
100/*
101 * Have glibc2
102 */
103#define wxHAVE_GLIBC2 0
104/*
105 * Use libXpm
106 */
107#define wxHAVE_LIB_XPM 0
108/*
109 * Use OpenGL
110 */
111#define wxUSE_OPENGL 0
112
113/* ------------------------------------------------------------------------ */
114/* GUI or not GUI? */
115/* ------------------------------------------------------------------------ */
116
117/*
118 * Use GUI
119 */
120#define wxUSE_GUI 1
121/*
122 * Defined if !wxUSE_GUI
123 */
124#undef wxUSE_NOGUI
125
126/* ------------------------------------------------------------------------ */
127/* "global" GUI options */
128/* ------------------------------------------------------------------------ */
129
130/*
131 * Use constraints mechanism
132 */
133#define wxUSE_CONSTRAINTS 0
134
135/*
136 * Use validators
137 */
138#define wxUSE_VALIDATORS 0
139
140/*
141 * Use accelerators
142 */
143#define wxUSE_ACCEL 0
144
145/*
146 * Use wxTextEntryDialog
147 */
148#define wxUSE_TEXTDLG 0
149
a641505f
VZ
150/*
151 * Use startup tips
152 */
153#define wxUSE_STARTUP_TIPS 0
154
ce4169a4
RR
155/*
156 * Use progress dialog
157 */
158#define wxUSE_PROGRESSDLG 0
159
dc30432a
VZ
160/*
161 * Use directory chooser dialog
162 */
163#define wxUSE_DIRDLG 0
164
165/*
166 * Joystick support (Linux/GTK only)
167 */
168#define wxUSE_JOYSTICK 0
169
170/* ------------------------------------------------------------------------ */
171/* GUI control options */
172/* ------------------------------------------------------------------------ */
173
174/*
175 * Use this control
176 */
177#define wxUSE_CARET 0
178/*
179 * Use this control
180 */
181#define wxUSE_BMPBUTTON 0
182/*
183 * Use this control
184 */
185#define wxUSE_CHECKBOX 0
186/*
187 * Use this control
188 */
189#define wxUSE_CHECKLISTBOX 0
190/*
191 * Use this control
192 */
193#define wxUSE_COMBOBOX 0
ce4169a4
RR
194/*
195 * Use this control
196 */
197#define wxUSE_CHOICE 0
dc30432a
VZ
198/*
199 * Use this control
200 */
201#define wxUSE_GAUGE 0
202/*
203 * Use this control
204 */
205#define wxUSE_GRID 0
206/*
207 * Use this control
208 */
209#define wxUSE_IMAGLIST 0
210/*
211 * Use this control
212 */
213#define wxUSE_LISTBOX 0
214/*
215 * Use this control
216 */
217#define wxUSE_LISTCTRL 0
218/*
219 * Use this control
220 */
221#define wxUSE_NOTEBOOK 0
222/*
223 * Use this control
224 */
225#define wxUSE_RADIOBOX 0
226/*
227 * Use this control
228 */
229#define wxUSE_RADIOBTN 0
230/*
231 * Use this control
232 */
233#define wxUSE_SASH 0
234/*
235 * Use this control
236 */
237#define wxUSE_SCROLLBAR 0
238/*
239 * Use this control
240 */
241#define wxUSE_SLIDER 0
242/*
243 * Use this control
244 */
245#define wxUSE_SPINBTN 0
246/*
247 * Use this control
248 */
249#define wxUSE_SPLITTER 0
250/*
251 * Use this control
252 */
253#define wxUSE_STATBMP 0
254/*
255 * Use this control
256 */
257#define wxUSE_STATBOX 0
258/*
259 * Use this control
260 */
261#define wxUSE_STATLINE 0
262/*
263 * Use this control
264 */
265#define wxUSE_STATUSBAR 0
266/*
267 * Use Tab dialog class - obsolete, use wxNotebook instead
268 */
269#define wxUSE_TAB_DIALOG 0
270/* compatibility */
271#define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
272/*
273 * Use this control
274 */
275#define wxUSE_TOOLBAR 0
3d2afb7a 276
4d19d979 277#if defined(__WXWINE__) || defined(__GNUWIN32__)
3d2afb7a 278 #if wxUSE_TOOLBAR
d1c7e624 279 #define wxUSE_BUTTONBAR 1
3d2afb7a
RR
280 #endif
281#endif
282
dc30432a
VZ
283/*
284 * Use this control
285 */
286#define wxUSE_TREECTRL 0
287
288/* ------------------------------------------------------------------------ */
289/* non-GUI options */
290/* ------------------------------------------------------------------------ */
291
292/*
ced859c3 293 * Use wxLongLong (a.k.a. int64) class
dc30432a
VZ
294 */
295#define wxUSE_LONGLONG 0
296
297/*
298 * Use wxFile class
299 */
300#define wxUSE_FILE 0
301/*
302 * Use wxTextFile class
303 */
304#define wxUSE_TEXTFILE 0
305/*
306 * Use log classes and logging functions
307 */
ce4169a4 308#define wxUSE_LOG 0
dc30432a
VZ
309/*
310 * Use time and date classes
311 */
312#define wxUSE_TIMEDATE 0
6dee824f
KB
313/*
314 * Use wave class
315 */
316#define wxUSE_WAVE 0
dc30432a
VZ
317/*
318 * Use config system
319 */
320#define wxUSE_CONFIG 0
321/*
322 * Use intl system
323 */
324#define wxUSE_INTL 0
325/*
326 * Use streams
327 */
328#define wxUSE_STREAMS 0
329/*
330 * Use class serialization
331 */
332#define wxUSE_SERIAL 0
333/*
334 * Use sockets
335 */
336#define wxUSE_SOCKETS 0
337/*
338 * Use standard C++ streams if 1. If 0, use wxWin
339 * streams implementation.
340 */
fd15d8f1 341#define wxUSE_STD_IOSTREAM 0
dc30432a
VZ
342/*
343 * wxLibrary class
344 */
c637d461 345#define wxUSE_DYNLIB_CLASS 0
dc30432a
VZ
346
347/* ------------------------------------------------------------------------ */
348/* PS options */
349/* ------------------------------------------------------------------------ */
350
351/*
352 * Use font metric files in GetTextExtent for wxPostScriptDC
353 * Use consistent PostScript fonts for AFM and printing (!)
354 */
355#define wxUSE_AFM_FOR_POSTSCRIPT 0
356#define wxUSE_NORMALIZED_PS_FONTS 0
357
358/* compatibility */
359#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
360
361/*
362 * Use PostScript device context
363 */
364#define wxUSE_POSTSCRIPT 0
365
366/* ------------------------------------------------------------------------ */
367/* wxString options */
368/* ------------------------------------------------------------------------ */
369
370/*
371 * Compile wxString with wide character (Unicode) support?
372 */
373#define wxUSE_UNICODE 0
374
375/*
376 * Work around a bug in GNU libc 5.x wcstombs() implementation.
377 *
378 * Note that you must link your programs with libc.a if you enable this and you
379 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
380 * thread-safe version of wcstombs()).
381 */
382#define wxUSE_WCSRTOMBS 0
383
384/*
385 * On some platforms overloading on size_t/int doesn't work, yet we'd like
386 * to define both size_t and int version of wxString::operator[] because it
387 * should really be size_t, but a lot of old, broken code uses int indices.
388 */
389#define wxUSE_SIZE_T_STRING_OPERATOR 0
390
ced859c3
VZ
391/*
392 * Use the new experimental implementation of wxString::Printf()?
393 *
394 * Warning: enabling this may cause internal compiler errors with gcc!
395 */
396#define wxUSE_EXPERIMENTAL_PRINTF 0
397
dc30432a
VZ
398/* ------------------------------------------------------------------------ */
399/* misc options */
400/* ------------------------------------------------------------------------ */
401
402/*
403 * Use Interprocess communication
404 */
405#define wxUSE_IPC 0
406/*
407 * Use wxGetResource & wxWriteResource (change .Xdefaults)
408 */
409#define wxUSE_X_RESOURCES 0
410/*
411 * Use clipboard
412 */
413#define wxUSE_CLIPBOARD 0
414/*
415 * Use tooltips
416 */
417#define wxUSE_TOOLTIPS 0
418/*
419 * Use dnd
420 */
421#define wxUSE_DRAG_AND_DROP 0
422/*
423 * Use spline
424 */
425#define wxUSE_SPLINES 0
426/*
427 * Use wxLibrary class
428 */
429#define wxUSE_DYNLIB_CLASS 0
430
431/* ------------------------------------------------------------------------ */
432/* architecture options */
433/* ------------------------------------------------------------------------ */
434
435/*
436 * Use the mdi architecture
437 */
438#define wxUSE_MDI_ARCHITECTURE 0
439/*
440 * Use the document/view architecture
441 */
442#define wxUSE_DOC_VIEW_ARCHITECTURE 0
443/*
444 * Use the print/preview architecture
445 */
446#define wxUSE_PRINTING_ARCHITECTURE 0
447
448/* ------------------------------------------------------------------------ */
449/* Prolog and wxWindows' resource system options */
450/* ------------------------------------------------------------------------ */
451
452/*
453 * Use Prolog IO
454 */
455#define wxUSE_PROLOGIO 0
456/*
457 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
458 */
459#define wxUSE_RESOURCES 0
460
461/* for compatibility */
462#define wxUSE_WX_RESOURCES wxUSE_RESOURCES
463
464/* ------------------------------------------------------------------------ */
465/* the rest */
466/* ------------------------------------------------------------------------ */
467
468/*
469 * Use wxWindows help facility (needs wxUSE_IPC 1)
470 */
471#define wxUSE_HELP 0
472/*
473 * Use iostream.h rather than iostream
474 */
475#define wxUSE_IOSTREAMH 0
476/*
477 * Use Apple Ieee-double converter
478 */
479#define wxUSE_APPLE_IEEE 0
e3e717ec 480/*
dc30432a
VZ
481 * Compatibility with 1.66 API.
482 * Level 0: no backward compatibility, all new features
483 * Level 1: wxDC, OnSize (etc.) compatibility, but
e3e717ec 484 * some new features such as event tables
dc30432a
VZ
485 */
486#define WXWIN_COMPATIBILITY 0
e3e717ec
VZ
487/*
488 * Compatibility with 2.0 API.
dc30432a
VZ
489 */
490#define WXWIN_COMPATIBILITY_2 1
491/*
492 * Enables debugging: memory tracing, assert, etc., contains debug level
493 */
494#define WXDEBUG 0
495/*
496 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
497 * WARNING: this code may not work with all architectures, especially
498 * if alignment is an issue.
499 */
500#define wxUSE_MEMORY_TRACING 0
501/*
502 * Enable debugging version of global memory operators new and delete
503 * Disable it, If this causes problems (e.g. link errors)
504 */
505#define wxUSE_DEBUG_NEW_ALWAYS 0
506/*
507 * VZ: What does this one do? (FIXME)
508 */
509#define wxUSE_DEBUG_CONTEXT 0
510/*
511 * In debug mode, causes new to be defined to
512 * be WXDEBUG_NEW (see object.h). If this causes
513 * problems (e.g. link errors), set this to 0.
514 */
515#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
516/*
517 * Matthews garbage collection (used for MrEd?)
518 */
519#define WXGARBAGE_COLLECTION_ON 0
520/*
521 * Use splines
522 */
523#define wxUSE_SPLINES 0
524/*
525 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
526 */
527#define wxUSE_DYNAMIC_CLASSES 1
528
529/*
530 * Support for metafiles
531 */
532#define wxUSE_METAFILE 0
533
534/*
535 * wxMiniFrame
536 */
537#define wxUSE_MINIFRAME 0
538
5526e819
VS
539/*
540 * wxHTML
541 */
542#define wxUSE_HTML 0
543
e3e717ec
VZ
544/*
545 * (virtual) filesystems code
546 */
547#define wxUSE_FS_INET 0
548#define wxUSE_FS_ZIP 0
549
d78b3d64
VS
550/*
551 * A class that shows info window when app is busy
552 * (works exactly like wxBusyCursor)
553 */
554#define wxUSE_BUSYINFO 0
555
556/*
557 * Zip stream for accessing files stored inside .zip archives
558 */
559#define wxUSE_ZIPSTREAM 0
560
dc30432a
VZ
561/*
562 * Disable this if your compiler can't cope
563 * with omission of prototype parameters.
564 */
565#define REMOVE_UNUSED_ARG 1
566/*
567 * The const keyword is being introduced more in wxWindows.
568 * You can use this setting to maintain backward compatibility.
e3e717ec
VZ
569 * If 0: will use const wherever possible.
570 * If 1: will use const only where necessary
571 * for precompiled headers to work.
572 * If 2: will be totally backward compatible, but precompiled
573 * headers may not work and program size will be larger.
dc30432a
VZ
574 */
575#define CONST_COMPATIBILITY 0
576
577/* ------------------------------------------------------------------------ */
578/* System-specific stuff */
579/* ------------------------------------------------------------------------ */
580
581/* The type of 3rd argument to getsockname() - usually size_t or int */
582#undef SOCKLEN_T
583
584/* Define if you have dlopen() */
585#undef HAVE_DLOPEN
586
587/* Define if you have nanosleep() */
588#undef HAVE_NANOSLEEP
589
590/* Define if you have sched_yield */
591#undef HAVE_SCHED_YIELD
592
593/* Define if you have pthread_cancel */
594#undef HAVE_PTHREAD_CANCEL
595
596/* Define if you have all functions to set thread priority */
597#undef HAVE_THREAD_PRIORITY_FUNCTIONS
598
599/* Define if you can specify exit functions to a thread */
600#undef HAVE_THREAD_CLEANUP_FUNCTIONS
601
602/* Define if you have shl_load() */
603#undef HAVE_SHL_LOAD
604
605/* Define if you have vsnprintf() */
606#undef HAVE_VSNPRINTF
607
608/* Define if you have usleep() */
609#undef HAVE_USLEEP
610
611/* Define if you have wcslen function */
612#undef HAVE_WCSLEN
613
614@BOTTOM@
615
bfcc7d7f 616#endif /* __WX_SETUP_H__ */