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