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