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