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