]>
Commit | Line | Data |
---|---|---|
0db9d8d2 JJ |
1 | /***************************************************************************** |
2 | * * | |
3 | * Template for the set.h file for VMS * | |
4 | * Created from setup.h_in * | |
5 | * Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * | |
6 | * Date : 9 November 1999 * | |
7 | * * | |
8 | *****************************************************************************/ | |
9 | ||
10 | /* This define (__WX_SETUP_H__) is used both to insure setup.h is included | |
11 | * only once and to indicate that we are building using configure. */ | |
12 | #ifndef __WX_SETUP_H__ | |
13 | #define __WX_SETUP_H__ | |
14 | ||
15 | #ifdef __GNUG__ | |
16 | #pragma interface | |
17 | #endif | |
18 | ||
4dff3400 JJ |
19 | #include <wx/vms_x_fix.h> |
20 | ||
0db9d8d2 JJ |
21 | /* never undefine inline or const keywords for C++ compilation */ |
22 | #ifndef __cplusplus | |
23 | ||
24 | /* Define to empty if the keyword does not work. */ | |
25 | #undef const | |
26 | ||
27 | /* Define as __inline if that's what the C compiler calls it. */ | |
28 | #undef inline | |
29 | ||
30 | #endif /* __cplusplus */ | |
31 | ||
68874acf JJ |
32 | /* fill in with the string wxGetOsDescription() will return */ |
33 | #define WXWIN_OS_DESCRIPTION "OpenVMS" | |
34 | ||
33381c82 JJ |
35 | /* the installation location prefix from configure */ |
36 | #undef wxINSTALL_PREFIX | |
37 | ||
0db9d8d2 JJ |
38 | /* Define to `int' if <sys/types.h> doesn't define. */ |
39 | #undef gid_t | |
40 | ||
0db9d8d2 JJ |
41 | /* Define to `int' if <sys/types.h> doesn't define. */ |
42 | #undef mode_t | |
43 | ||
44 | /* Define to `long' if <sys/types.h> doesn't define. */ | |
45 | #undef off_t | |
46 | ||
47 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
48 | #undef pid_t | |
49 | ||
50 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
51 | #undef size_t | |
52 | ||
53 | /* Define if you have the ANSI C header files. */ | |
54 | #define STDC_HEADERS | |
55 | ||
56 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
57 | #undef uid_t | |
58 | ||
59 | /* Define if your processor stores words with the most significant | |
60 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ | |
61 | #undef WORDS_BIGENDIAN | |
62 | ||
1696c178 | 63 | /* Define this if your version of GTK+ is greater than 1.2 */ |
3fa056ab | 64 | #define __WXGTK12__ 1 |
0db9d8d2 | 65 | |
f6bcfd97 BP |
66 | /* Define this if your version of GTK+ is greater than 1.2.7 */ |
67 | #define __WXGTK127__ 1 | |
68 | ||
1696c178 | 69 | /* Define this if your version of GTK+ is greater than 1.3 */ |
181cbcf4 | 70 | #undef __WXGTK20__ |
1696c178 | 71 | |
0db9d8d2 JJ |
72 | /* |
73 | * Define to 1 for Unix[-like] system | |
74 | */ | |
75 | #define wxUSE_UNIX 1 | |
76 | ||
77 | #define __UNIX__ | |
78 | #undef __LINUX__ | |
79 | #undef __SGI__ | |
80 | #undef __HPUX__ | |
81 | #undef __SYSV__ | |
82 | #undef __SVR4__ | |
83 | #undef __AIX__ | |
84 | #undef __SUN__ | |
85 | #undef __SOLARIS__ | |
86 | #undef __SUNOS__ | |
87 | #define __ALPHA__ | |
61e6020f | 88 | #undef __IA64__ |
0db9d8d2 | 89 | #undef __OSF__ |
283e4f28 JJ |
90 | #undef __DARWIN__ |
91 | #undef __NETBSD__ | |
0db9d8d2 JJ |
92 | #undef __BSD__ |
93 | #undef __FREEBSD__ | |
94 | #define __VMS__ | |
95 | #undef __ULTRIX__ | |
96 | #undef __DATA_GENERAL__ | |
97 | #undef __EMX__ | |
98 | #undef _GNU_SOURCE | |
99 | ||
283e4f28 JJ |
100 | /* PowerPC Darwin & Mac OS X */ |
101 | #undef __POWERPC__ | |
102 | ||
955b1191 JJ |
103 | /* MS-DOS with DJGPP */ |
104 | #undef __DOS__ | |
105 | ||
0db9d8d2 JJ |
106 | /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ |
107 | #ifndef __WINDOWS__ | |
108 | #undef __WINDOWS__ | |
109 | #endif | |
110 | ||
111 | #undef __WIN95__ | |
abfcca57 | 112 | #ifndef __WIN32__ |
0db9d8d2 | 113 | #undef __WIN32__ |
abfcca57 | 114 | #endif |
0db9d8d2 JJ |
115 | #undef __GNUWIN32__ |
116 | #undef STRICT | |
117 | #undef WINVER | |
118 | ||
181cbcf4 | 119 | /* enable native status bar under Win32 */ |
61e6020f | 120 | #if defined(__WIN95__) && !defined(__WXUNIVERSAL__) |
181cbcf4 | 121 | #define wxUSE_NATIVE_STATUSBAR 1 |
61e6020f | 122 | #define wxUSE_OWNER_DRAWN 1 |
181cbcf4 JJ |
123 | #endif |
124 | ||
35e92fbf JJ |
125 | #if defined(__WXPM__) |
126 | #define wxUSE_OWNER_DRAWN 1 | |
127 | #endif | |
128 | ||
181cbcf4 JJ |
129 | /* enable rich edit under Win32 */ |
130 | #if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__) | |
131 | #define wxUSE_RICHEDIT 1 | |
132 | #else | |
68874acf | 133 | #define wxUSE_RICHEDIT 0 |
181cbcf4 | 134 | #endif |
68874acf | 135 | |
0db9d8d2 JJ |
136 | /* |
137 | * Supports bool type | |
138 | */ | |
139 | #define HAVE_BOOL | |
140 | ||
33381c82 JJ |
141 | /* |
142 | * Use regex support | |
143 | */ | |
144 | #define wxUSE_REGEX 0 | |
0db9d8d2 JJ |
145 | /* |
146 | * Use zlib | |
147 | */ | |
148 | #define wxUSE_ZLIB 1 | |
149 | /* | |
150 | * Use libpng | |
151 | */ | |
152 | #define wxUSE_LIBPNG 1 | |
153 | /* | |
154 | * Use libjpeg | |
155 | */ | |
156 | #define wxUSE_LIBJPEG 1 | |
68874acf JJ |
157 | /* |
158 | * Use libtiff | |
159 | */ | |
160 | #define wxUSE_LIBTIFF 1 | |
0db9d8d2 JJ |
161 | /* |
162 | * Use iODBC | |
163 | */ | |
abfcca57 | 164 | #define wxUSE_ODBC 1 |
fb073f86 | 165 | #define wxODBC_FWD_ONLY_CURSORS 1 |
f6bcfd97 | 166 | #define wxODBC_BACKWARD_COMPATABILITY 0 |
181cbcf4 JJ |
167 | /* |
168 | * Use freetype | |
169 | */ | |
abfcca57 | 170 | #define wxUSE_FREETYPE 1 |
0db9d8d2 JJ |
171 | /* |
172 | * Use Threads | |
173 | */ | |
fb10f04c | 174 | #define wxUSE_THREADS 1 |
0db9d8d2 JJ |
175 | /* |
176 | * Have glibc2 | |
177 | */ | |
178 | #define wxHAVE_GLIBC2 0 | |
179 | /* | |
180 | * Use libXpm | |
181 | */ | |
182 | #define wxHAVE_LIB_XPM 1 | |
183 | /* | |
184 | * Use OpenGL | |
185 | */ | |
186 | #define wxUSE_OPENGL 1 | |
61a021a8 | 187 | #define wxUSE_GLCANVAS 1 |
0db9d8d2 JJ |
188 | /* |
189 | * Use GUI | |
190 | */ | |
191 | #define wxUSE_GUI 1 | |
192 | /* | |
193 | * Don't use GUI (defined to 1 when compiling/using base only) | |
194 | */ | |
195 | #define wxUSE_NOGUI 0 | |
196 | ||
181cbcf4 JJ |
197 | /* |
198 | * Catch fatal program exceptions | |
199 | */ | |
200 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
201 | ||
0db9d8d2 JJ |
202 | /* |
203 | * Use constraints mechanism | |
204 | */ | |
205 | #define wxUSE_CONSTRAINTS 1 | |
206 | ||
207 | /* | |
208 | * Use validators | |
209 | */ | |
210 | #define wxUSE_VALIDATORS 1 | |
211 | ||
1a0d517e JJ |
212 | /* |
213 | * Use wxControl | |
214 | */ | |
215 | #define wxUSE_CONTROLS 1 | |
216 | ||
217 | /* | |
218 | * Use wxPopupWindow (useful in wxUniv only for now) | |
219 | */ | |
dae752d4 JJ |
220 | #ifdef __WXMOTIF__ |
221 | #define wxUSE_POPUPWIN 0 | |
222 | #else | |
1a0d517e | 223 | #define wxUSE_POPUPWIN 1 |
dae752d4 | 224 | #endif |
1a0d517e | 225 | |
508e0acb JJ |
226 | /* |
227 | Use wxTipWindow | |
228 | */ | |
229 | #define wxUSE_TIPWINDOW 1 | |
230 | ||
0db9d8d2 JJ |
231 | /* |
232 | * Use accelerators | |
233 | */ | |
234 | #define wxUSE_ACCEL 1 | |
235 | ||
1a0d517e JJ |
236 | /* |
237 | * Use wxCalendarCtrl | |
238 | */ | |
239 | #define wxUSE_CALENDARCTRL 1 | |
240 | ||
241 | /* | |
242 | * Use wxFileDialog | |
243 | */ | |
244 | #define wxUSE_FILEDLG 1 | |
245 | ||
33381c82 JJ |
246 | /* |
247 | * Use wxFindReplaceDialog | |
248 | */ | |
249 | #define wxUSE_FINDREPLDLG 0 | |
250 | ||
1a0d517e JJ |
251 | /* |
252 | * Use wxFontDialog | |
253 | */ | |
254 | #define wxUSE_FONTDLG 1 | |
255 | ||
256 | /* | |
257 | * Use wxMimeTypesManager and related classes | |
258 | */ | |
259 | #define wxUSE_MIMETYPE 1 | |
260 | ||
508e0acb JJ |
261 | /* |
262 | * Use wxSystemOptions | |
263 | */ | |
264 | #define wxUSE_SYSTEM_OPTIONS 1 | |
265 | ||
1a0d517e JJ |
266 | /* |
267 | * Use wxMessageDialog (and wxMessageBox) | |
268 | */ | |
269 | #define wxUSE_MSGDLG 1 | |
270 | ||
271 | /* | |
272 | * Use wxNumberEntryDialog | |
273 | */ | |
274 | #define wxUSE_NUMBERDLG 1 | |
275 | ||
0db9d8d2 JJ |
276 | /* |
277 | * Use wxTextEntryDialog | |
278 | */ | |
279 | #define wxUSE_TEXTDLG 1 | |
280 | ||
281 | /* | |
282 | * Use startup tips | |
283 | */ | |
284 | #define wxUSE_STARTUP_TIPS 1 | |
285 | ||
286 | /* | |
287 | * Use progress dialog | |
288 | */ | |
289 | #define wxUSE_PROGRESSDLG 1 | |
290 | ||
1a0d517e JJ |
291 | /* |
292 | * Use chooser dialog | |
293 | */ | |
294 | #define wxUSE_CHOICEDLG 1 | |
295 | ||
296 | /* | |
297 | * Use colour picker dialog | |
298 | */ | |
299 | #define wxUSE_COLOURDLG 1 | |
300 | ||
0db9d8d2 JJ |
301 | /* |
302 | * Use directory chooser dialog | |
303 | */ | |
304 | #define wxUSE_DIRDLG 1 | |
305 | ||
1a0d517e JJ |
306 | /* |
307 | * Use wxDragImage class | |
308 | */ | |
309 | #define wxUSE_DRAGIMAGE 1 | |
310 | ||
311 | /* | |
312 | * Use property sheet classes | |
313 | */ | |
314 | #define wxUSE_PROPSHEET 1 | |
315 | ||
316 | /* | |
317 | * Use wxWizard | |
318 | */ | |
319 | #define wxUSE_WIZARDDLG 1 | |
320 | ||
321 | /* | |
322 | * Use splash screen | |
323 | */ | |
324 | #define wxUSE_SPLASH 1 | |
325 | ||
0db9d8d2 JJ |
326 | /* |
327 | * Joystick support (Linux/GTK only) | |
328 | */ | |
329 | #define wxUSE_JOYSTICK 0 | |
330 | ||
331 | /* | |
332 | * Use this control | |
333 | */ | |
334 | #define wxUSE_CARET 1 | |
1a0d517e JJ |
335 | /* |
336 | * Use this control | |
337 | */ | |
338 | #define wxUSE_BUTTON 1 | |
0db9d8d2 JJ |
339 | /* |
340 | * Use this control | |
341 | */ | |
342 | #define wxUSE_BMPBUTTON 1 | |
343 | /* | |
344 | * Use this control | |
345 | */ | |
346 | #define wxUSE_CHECKBOX 1 | |
347 | /* | |
348 | * Use this control | |
349 | */ | |
350 | #define wxUSE_CHECKLISTBOX 1 | |
351 | /* | |
352 | * Use this control | |
353 | */ | |
354 | #define wxUSE_COMBOBOX 1 | |
355 | /* | |
356 | * Use this control | |
357 | */ | |
358 | #define wxUSE_CHOICE 1 | |
359 | /* | |
360 | * Use this control | |
361 | */ | |
362 | #define wxUSE_GAUGE 1 | |
363 | /* | |
364 | * Use this control | |
365 | */ | |
366 | #define wxUSE_GRID 1 | |
367 | /* | |
368 | * Use this control | |
369 | */ | |
370 | #define wxUSE_NEW_GRID 1 | |
371 | /* | |
372 | * Use the new prototype wxGrid classes | |
373 | * (wxUSE_GRID must also be defined) | |
374 | */ | |
375 | #define wxUSE_IMAGLIST 1 | |
376 | /* | |
377 | * Use this control | |
378 | */ | |
379 | #define wxUSE_LISTBOX 1 | |
380 | /* | |
381 | * Use this control | |
382 | */ | |
383 | #define wxUSE_LISTCTRL 1 | |
dd54fca3 JJ |
384 | /* |
385 | * Use wxPlot class | |
386 | */ | |
387 | #define wxUSE_PLOT 1 | |
1a0d517e JJ |
388 | /* |
389 | * Use wxMenuBar, wxMenuItem and wxMenu | |
390 | */ | |
391 | #define wxUSE_MENUS 1 | |
0db9d8d2 JJ |
392 | /* |
393 | * Use this control | |
394 | */ | |
395 | #define wxUSE_NOTEBOOK 1 | |
396 | /* | |
397 | * Use this control | |
398 | */ | |
399 | #define wxUSE_RADIOBOX 1 | |
400 | /* | |
401 | * Use this control | |
402 | */ | |
403 | #define wxUSE_RADIOBTN 1 | |
404 | /* | |
405 | * Use this control | |
406 | */ | |
407 | #define wxUSE_SASH 1 | |
408 | /* | |
409 | * Use this control | |
410 | */ | |
411 | #define wxUSE_SCROLLBAR 1 | |
412 | /* | |
413 | * Use this control | |
414 | */ | |
415 | #define wxUSE_SLIDER 1 | |
416 | /* | |
417 | * Use this control | |
418 | */ | |
419 | #define wxUSE_SPINBTN 1 | |
68874acf JJ |
420 | /* |
421 | * Use this control | |
422 | */ | |
423 | #define wxUSE_SPINCTRL 1 | |
0db9d8d2 JJ |
424 | /* |
425 | * Use this control | |
426 | */ | |
427 | #define wxUSE_SPLITTER 1 | |
428 | /* | |
429 | * Use this control | |
430 | */ | |
431 | #define wxUSE_STATBMP 1 | |
432 | /* | |
433 | * Use this control | |
434 | */ | |
435 | #define wxUSE_STATBOX 1 | |
436 | /* | |
437 | * Use this control | |
438 | */ | |
439 | #define wxUSE_STATLINE 1 | |
1a0d517e JJ |
440 | /* |
441 | * Use this control | |
442 | */ | |
443 | #define wxUSE_STATTEXT 1 | |
0db9d8d2 JJ |
444 | /* |
445 | * Use this control | |
446 | */ | |
447 | #define wxUSE_STATUSBAR 1 | |
392555bb JJ |
448 | /* |
449 | * Use this control | |
450 | */ | |
451 | #define wxUSE_TOGGLEBTN 1 | |
0db9d8d2 JJ |
452 | /* |
453 | * Use Tab dialog class - obsolete, use wxNotebook instead | |
454 | */ | |
455 | #define wxUSE_TAB_DIALOG 0 | |
456 | /* compatibility */ | |
457 | #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG | |
458 | /* | |
1a0d517e JJ |
459 | * Use wxTextCtrl |
460 | */ | |
461 | #define wxUSE_TEXTCTRL 1 | |
462 | ||
463 | /* | |
464 | * Use wxToollBar | |
0db9d8d2 JJ |
465 | */ |
466 | #define wxUSE_TOOLBAR 1 | |
467 | ||
fb10f04c JJ |
468 | /* If 1, use the native toolbar, otherwise use the generic version |
469 | * (wxToolBarSimple) which may also be use together with the native one. | |
470 | */ | |
471 | #define wxUSE_TOOLBAR_NATIVE 1 | |
472 | ||
473 | /* | |
474 | * Use generic wxToolBar instead of/together with the native one? | |
475 | */ | |
476 | #define wxUSE_TOOLBAR_SIMPLE 1 | |
477 | ||
94f8abf9 | 478 | #if defined(__WXWINE__) || defined(__GNUWIN32__) || defined(__WXPM__) |
0db9d8d2 JJ |
479 | #if wxUSE_TOOLBAR |
480 | #define wxUSE_BUTTONBAR 1 | |
481 | #endif | |
482 | #endif | |
483 | ||
33381c82 JJ |
484 | /* |
485 | * Use wxTreeLayout class | |
486 | */ | |
487 | #define wxUSE_TREELAYOUT 1 | |
488 | ||
0db9d8d2 JJ |
489 | /* |
490 | * Use this control | |
491 | */ | |
492 | #define wxUSE_TREECTRL 1 | |
493 | ||
494 | /* | |
495 | * Use wxLongLong (a.k.a. int64) class | |
496 | */ | |
497 | #define wxUSE_LONGLONG 1 | |
498 | ||
97b305b7 JJ |
499 | /* |
500 | * Use geometry classes | |
501 | */ | |
502 | #define wxUSE_GEOMETRY 1 | |
503 | ||
1a0d517e JJ |
504 | /* |
505 | * Use wxFFile class | |
506 | */ | |
507 | #define wxUSE_FFILE 1 | |
508 | ||
509 | /* | |
510 | * Use wxCmdLineParser class | |
511 | */ | |
512 | #define wxUSE_CMDLINE_PARSER 1 | |
513 | /* | |
514 | * Use wxDateTime | |
515 | */ | |
516 | #define wxUSE_DATETIME 1 | |
0db9d8d2 JJ |
517 | /* |
518 | * Use wxFile class | |
519 | */ | |
520 | #define wxUSE_FILE 1 | |
3c621059 JJ |
521 | /* |
522 | * Use wxTextBuffer class | |
523 | */ | |
524 | #define wxUSE_TEXTBUFFER 1 | |
0db9d8d2 JJ |
525 | /* |
526 | * Use wxTextFile class | |
527 | */ | |
528 | #define wxUSE_TEXTFILE 1 | |
529 | /* | |
530 | * Use log classes and logging functions | |
531 | */ | |
532 | #define wxUSE_LOG 1 | |
1a0d517e JJ |
533 | /* |
534 | * Use log window | |
535 | */ | |
536 | #define wxUSE_LOGWINDOW 1 | |
537 | /* | |
538 | * Use standard GUI logger | |
539 | */ | |
540 | #define wxUSE_LOGGUI 1 | |
0f02d3d0 JJ |
541 | /* |
542 | * Use old log dialog instead of new wxLogGui | |
543 | */ | |
508e0acb | 544 | #define wxUSE_LOG_DIALOG 0 |
1a0d517e JJ |
545 | /* |
546 | * Use wxStopWatch | |
547 | */ | |
548 | #define wxUSE_STOPWATCH 1 | |
0db9d8d2 JJ |
549 | /* |
550 | * Use time and date classes | |
551 | */ | |
552 | #define wxUSE_TIMEDATE 1 | |
553 | /* | |
554 | * Use wave class | |
555 | */ | |
556 | #define wxUSE_WAVE 1 | |
557 | /* | |
558 | * Use config system | |
559 | */ | |
560 | #define wxUSE_CONFIG 1 | |
1a0d517e JJ |
561 | /* |
562 | * Use font mapping/conversion classes | |
563 | */ | |
564 | #define wxUSE_FONTMAP 1 | |
0db9d8d2 JJ |
565 | /* |
566 | * Use intl system | |
567 | */ | |
568 | #define wxUSE_INTL 1 | |
569 | /* | |
8f52ea33 | 570 | * Use wxProtocol and related classes |
0db9d8d2 | 571 | */ |
8f52ea33 JJ |
572 | #define wxUSE_PROTOCOL 1 |
573 | #define wxUSE_PROTOCOL_FILE 1 | |
574 | #define wxUSE_PROTOCOL_FTP 1 | |
575 | #define wxUSE_PROTOCOL_HTTP 1 | |
0db9d8d2 | 576 | /* |
8f52ea33 | 577 | * Use streams |
0db9d8d2 | 578 | */ |
8f52ea33 | 579 | #define wxUSE_STREAMS 1 |
0db9d8d2 JJ |
580 | /* |
581 | * Use sockets | |
582 | */ | |
583 | #define wxUSE_SOCKETS 1 | |
584 | /* | |
585 | * Use dialup manager | |
586 | */ | |
1a0d517e | 587 | #define wxUSE_DIALUP_MANAGER 1 |
0db9d8d2 JJ |
588 | /* |
589 | * Use standard C++ streams if 1. If 0, use wxWin | |
590 | * streams implementation. | |
591 | */ | |
592 | #define wxUSE_STD_IOSTREAM 0 | |
593 | /* | |
594 | * wxLibrary class | |
595 | */ | |
596 | #define wxUSE_DYNLIB_CLASS 1 | |
8f52ea33 JJ |
597 | /* |
598 | * Use wxObjectLoader | |
599 | */ | |
600 | #define wxUSE_DYNAMIC_LOADER 0 | |
0db9d8d2 | 601 | |
1a0d517e JJ |
602 | /* |
603 | * Use wxTimer | |
604 | */ | |
605 | #define wxUSE_TIMER 1 | |
606 | ||
0db9d8d2 JJ |
607 | /* |
608 | * Use font metric files in GetTextExtent for wxPostScriptDC | |
609 | * Use consistent PostScript fonts for AFM and printing (!) | |
610 | */ | |
611 | #define wxUSE_AFM_FOR_POSTSCRIPT 1 | |
612 | #define wxUSE_NORMALIZED_PS_FONTS 1 | |
613 | ||
614 | /* compatibility */ | |
615 | #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS | |
616 | ||
617 | /* | |
618 | * Use PostScript device context | |
619 | */ | |
620 | #define wxUSE_POSTSCRIPT 1 | |
621 | ||
622 | /* | |
623 | * Compile wxString with some Unicode support? | |
624 | */ | |
625 | #define wxUSE_WCHAR_T 0 | |
626 | ||
627 | /* | |
628 | * Compile wxString in wide character (Unicode) mode? | |
629 | */ | |
630 | #define wxUSE_UNICODE 0 | |
631 | ||
955b1191 JJ |
632 | /* |
633 | * Use MS Layer for Unicode on Win9X (Win32 only)? | |
634 | */ | |
635 | #define wxUSE_UNICODE_MSLU 0 | |
636 | ||
8f52ea33 JJ |
637 | /* |
638 | * Use wxURL class | |
639 | */ | |
640 | #define wxUSE_URL 1 | |
641 | ||
0db9d8d2 JJ |
642 | /* |
643 | * Work around a bug in GNU libc 5.x wcstombs() implementation. | |
644 | * | |
645 | * Note that you must link your programs with libc.a if you enable this and you | |
646 | * have libc 5 (you should enable this for libc6 where wcsrtombs() is | |
647 | * thread-safe version of wcstombs()). | |
648 | */ | |
649 | #define wxUSE_WCSRTOMBS 0 | |
650 | ||
651 | /* | |
652 | * Use the new experimental implementation of wxString::Printf()? | |
653 | * | |
654 | * Warning: enabling this may cause internal compiler errors with gcc! | |
655 | */ | |
656 | #define wxUSE_EXPERIMENTAL_PRINTF 0 | |
657 | ||
658 | /* | |
659 | * Use Interprocess communication | |
660 | */ | |
661 | #define wxUSE_IPC 1 | |
662 | /* | |
663 | * Use wxGetResource & wxWriteResource (change .Xdefaults) | |
664 | */ | |
665 | #define wxUSE_X_RESOURCES 1 | |
666 | /* | |
667 | * Use clipboard | |
668 | */ | |
669 | #define wxUSE_CLIPBOARD 1 | |
1a0d517e JJ |
670 | /* |
671 | * Use wxDataObject | |
672 | */ | |
673 | #define wxUSE_DATAOBJ 1 | |
0db9d8d2 JJ |
674 | /* |
675 | * Use tooltips | |
676 | */ | |
dae752d4 JJ |
677 | #ifdef __WXMOTIF__ |
678 | #define wxUSE_TOOLTIPS 0 | |
679 | #else | |
1a0d517e | 680 | #define wxUSE_TOOLTIPS 1 |
dae752d4 | 681 | #endif |
0db9d8d2 JJ |
682 | /* |
683 | * Use dnd | |
684 | */ | |
a17203df | 685 | #ifdef __WXGTK__ |
181cbcf4 JJ |
686 | #define wxUSE_DRAG_AND_DROP 1 |
687 | #else | |
0db9d8d2 | 688 | #define wxUSE_DRAG_AND_DROP 0 |
181cbcf4 | 689 | #endif |
0f02d3d0 JJ |
690 | /* |
691 | * Use OLE (MSW only) | |
692 | */ | |
693 | #define wxUSE_OLE 0 | |
0db9d8d2 JJ |
694 | /* |
695 | * Use spline | |
696 | */ | |
697 | #define wxUSE_SPLINES 1 | |
698 | /* | |
699 | * Use wxLibrary class | |
700 | */ | |
701 | #define wxUSE_DYNLIB_CLASS 1 | |
702 | ||
703 | /* | |
704 | * Use the mdi architecture | |
705 | */ | |
706 | #define wxUSE_MDI_ARCHITECTURE 1 | |
707 | /* | |
708 | * Use the document/view architecture | |
709 | */ | |
710 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 | |
711 | /* | |
712 | * Use the print/preview architecture | |
713 | */ | |
714 | #define wxUSE_PRINTING_ARCHITECTURE 1 | |
715 | ||
716 | /* | |
717 | * Use Prolog IO | |
718 | */ | |
719 | #define wxUSE_PROLOGIO 1 | |
720 | /* | |
721 | * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1) | |
722 | */ | |
723 | #define wxUSE_RESOURCES 1 | |
724 | ||
725 | /* for compatibility */ | |
726 | #define wxUSE_WX_RESOURCES wxUSE_RESOURCES | |
727 | ||
728 | /* | |
729 | * Use wxWindows help facility (needs wxUSE_IPC 1) | |
730 | */ | |
731 | #define wxUSE_HELP 1 | |
1a0d517e JJ |
732 | /* |
733 | * Use built-in HTML-based help controller | |
734 | */ | |
735 | #define wxUSE_WXHTML_HELP 1 | |
736 | ||
0db9d8d2 JJ |
737 | /* |
738 | * Use iostream.h rather than iostream | |
739 | */ | |
740 | #define wxUSE_IOSTREAMH 1 | |
741 | /* | |
742 | * Use Apple Ieee-double converter | |
743 | */ | |
744 | #define wxUSE_APPLE_IEEE 0 | |
1a0d517e | 745 | |
0db9d8d2 JJ |
746 | /* |
747 | * Compatibility with 2.0 API. | |
748 | */ | |
1a0d517e JJ |
749 | #define WXWIN_COMPATIBILITY_2 0 |
750 | /* | |
751 | * Compatibility with 2.2 API | |
752 | */ | |
753 | #define WXWIN_COMPATIBILITY_2_2 1 | |
0db9d8d2 JJ |
754 | /* |
755 | * Enables debugging: memory tracing, assert, etc., contains debug level | |
756 | */ | |
757 | #define WXDEBUG 0 | |
758 | /* | |
759 | * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG) | |
760 | * WARNING: this code may not work with all architectures, especially | |
761 | * if alignment is an issue. | |
762 | */ | |
763 | #define wxUSE_MEMORY_TRACING 0 | |
764 | /* | |
765 | * Enable debugging version of global memory operators new and delete | |
766 | * Disable it, If this causes problems (e.g. link errors) | |
767 | */ | |
768 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
769 | /* | |
770 | * VZ: What does this one do? (FIXME) | |
771 | */ | |
772 | #define wxUSE_DEBUG_CONTEXT 0 | |
773 | /* | |
774 | * In debug mode, causes new to be defined to | |
775 | * be WXDEBUG_NEW (see object.h). If this causes | |
776 | * problems (e.g. link errors), set this to 0. | |
777 | */ | |
778 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
779 | /* | |
780 | * Matthews garbage collection (used for MrEd?) | |
781 | */ | |
782 | #define WXGARBAGE_COLLECTION_ON 1 | |
783 | /* | |
784 | * Use splines | |
785 | */ | |
786 | #define wxUSE_SPLINES 1 | |
787 | /* | |
788 | * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port | |
789 | */ | |
790 | #define wxUSE_DYNAMIC_CLASSES 1 | |
791 | ||
792 | /* | |
793 | * Support for metafiles | |
794 | */ | |
795 | #define wxUSE_METAFILE 1 | |
796 | ||
797 | /* | |
798 | * wxMiniFrame | |
799 | */ | |
800 | #define wxUSE_MINIFRAME 1 | |
801 | ||
802 | /* | |
803 | * wxHTML | |
804 | */ | |
805 | #define wxUSE_HTML 1 | |
806 | ||
807 | /* | |
808 | * (virtual) filesystems code | |
809 | */ | |
24528b0c | 810 | #define wxUSE_FILESYSTEM 1 |
0db9d8d2 JJ |
811 | #define wxUSE_FS_INET 1 |
812 | #define wxUSE_FS_ZIP 1 | |
813 | ||
814 | /* | |
815 | * A class that shows info window when app is busy | |
816 | * (works exactly like wxBusyCursor) | |
817 | */ | |
818 | #define wxUSE_BUSYINFO 1 | |
819 | ||
820 | /* | |
821 | * Zip stream for accessing files stored inside .zip archives | |
822 | */ | |
823 | #define wxUSE_ZIPSTREAM 1 | |
824 | ||
9e4e191a JJ |
825 | /* |
826 | * wxPalette class | |
827 | */ | |
828 | #define wxUSE_PALETTE 1 | |
829 | ||
2900bd1c JJ |
830 | /* |
831 | * wxImage support | |
832 | */ | |
833 | #define wxUSE_IMAGE 1 | |
834 | ||
0db9d8d2 JJ |
835 | /* |
836 | * GIF image format support | |
837 | */ | |
838 | #define wxUSE_GIF 1 | |
839 | ||
840 | /* | |
841 | * PCX image format support | |
842 | */ | |
843 | #define wxUSE_PCX 1 | |
844 | ||
a7aef4a9 JJ |
845 | /* |
846 | * IFF image format support | |
847 | */ | |
848 | #define wxUSE_IFF 1 | |
849 | ||
0db9d8d2 JJ |
850 | /* |
851 | * PNM image format support | |
852 | */ | |
853 | #define wxUSE_PNM 1 | |
854 | ||
2900bd1c JJ |
855 | /* |
856 | * XPM image format support | |
857 | */ | |
858 | #define wxUSE_XPM 1 | |
859 | ||
a7aef4a9 JJ |
860 | /* |
861 | * MS Icons and Cursors format support | |
862 | */ | |
df744f4d | 863 | #define wxUSE_ICO_CUR 1 |
a7aef4a9 | 864 | |
0db9d8d2 JJ |
865 | /* |
866 | * Disable this if your compiler can't cope | |
867 | * with omission of prototype parameters. | |
868 | */ | |
869 | #define REMOVE_UNUSED_ARG 1 | |
870 | /* | |
871 | * The const keyword is being introduced more in wxWindows. | |
872 | * You can use this setting to maintain backward compatibility. | |
873 | * If 0: will use const wherever possible. | |
874 | * If 1: will use const only where necessary | |
875 | * for precompiled headers to work. | |
876 | * If 2: will be totally backward compatible, but precompiled | |
877 | * headers may not work and program size will be larger. | |
878 | */ | |
879 | #define CONST_COMPATIBILITY 0 | |
880 | ||
fb10f04c JJ |
881 | /* define with the name of timezone variable */ |
882 | #undef WX_TIMEZONE | |
883 | ||
0db9d8d2 | 884 | /* The type of 3rd argument to getsockname() - usually size_t or int */ |
fb10f04c | 885 | #define SOCKLEN_T size_t |
0db9d8d2 JJ |
886 | |
887 | /* gettimeofday() usually takes 2 arguments, but some really old systems might | |
888 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ | |
889 | #undef WX_GETTIMEOFDAY_NO_TZ | |
890 | ||
b8ad9f18 JJ |
891 | /* struct tm doesn't always have the tm_gmtoff field, define this if it is |
892 | * present */ | |
893 | #define WX_GMTOFF_IN_TM | |
894 | ||
181cbcf4 JJ |
895 | /* Define if you have pw_gecos field in struct passwd */ |
896 | #undef HAVE_PW_GECOS | |
897 | ||
0db9d8d2 | 898 | /* Define if you have dlopen() */ |
181cbcf4 | 899 | #define HAVE_DLOPEN 1 |
0db9d8d2 JJ |
900 | |
901 | /* Define if you have gettimeofday() */ | |
902 | #define HAVE_GETTIMEOFDAY | |
903 | ||
904 | /* Define if you have ftime() */ | |
905 | #define HAVE_FTIME | |
906 | ||
907 | /* Define if you have localtime() */ | |
908 | #define HAVE_LOCALTIME | |
909 | ||
508e0acb JJ |
910 | /* Define if you have the mktemp function. */ |
911 | #define HAVE_MKTEMP 1 | |
912 | ||
913 | /* Define if you have the mkstemp function. */ | |
914 | #define HAVE_MKSTEMP 1 | |
915 | ||
0db9d8d2 JJ |
916 | /* Define if you have nanosleep() */ |
917 | #undef HAVE_NANOSLEEP | |
918 | ||
919 | /* Define if you have sched_yield */ | |
920 | #undef HAVE_SCHED_YIELD | |
921 | ||
922 | /* Define if you have pthread_cancel */ | |
fb10f04c | 923 | #define HAVE_PTHREAD_CANCEL 1 |
0db9d8d2 | 924 | |
181cbcf4 JJ |
925 | /* Define if you have sigaction() */ |
926 | #define HAVE_SIGACTION 1 | |
927 | ||
928 | /* Define if you have sigemptyset() */ | |
929 | #define HAVE_SIGEMPTYSET 1 | |
930 | ||
97b305b7 JJ |
931 | /* Define if you have the putenv function. */ |
932 | #define HAVE_PUTENV 1 | |
933 | ||
934 | /* Define if you have the setenv function. */ | |
935 | #undef HAVE_SETENV | |
936 | ||
68874acf JJ |
937 | /* Define if you have shl_load() */ |
938 | #undef HAVE_SHL_LOAD | |
939 | ||
33381c82 JJ |
940 | /* define if you have statfs function */ |
941 | #undef HAVE_STATFS | |
942 | ||
fb10f04c JJ |
943 | /* Define if you have strptime() */ |
944 | #define HAVE_STRPTIME 1 | |
945 | ||
0db9d8d2 | 946 | /* Define if you have all functions to set thread priority */ |
fb10f04c | 947 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 |
0db9d8d2 JJ |
948 | |
949 | /* Define if you can specify exit functions to a thread */ | |
fb10f04c | 950 | #define HAVE_THREAD_CLEANUP_FUNCTIONS 1 |
0db9d8d2 | 951 | |
68874acf JJ |
952 | /* Define if you have timegm() function */ |
953 | #undef HAVE_TIMEGM | |
0db9d8d2 JJ |
954 | |
955 | /* Define if you have vsnprintf() */ | |
956 | #undef HAVE_VSNPRINTF | |
957 | ||
958 | /* Define if you have usleep() */ | |
508e0acb | 959 | #define HAVE_USLEEP 1 |
0db9d8d2 JJ |
960 | |
961 | /* Define if you have wcslen function */ | |
508e0acb | 962 | #define HAVE_WCSLEN 1 |
0db9d8d2 JJ |
963 | |
964 | /* define if you have vsscanf function */ | |
965 | #undef HAVE_VSSCANF | |
966 | ||
967 | /* The number of bytes in a char. */ | |
968 | #define SIZEOF_CHAR 1 | |
969 | ||
181cbcf4 JJ |
970 | /* The number of bytes in a wchar_t. */ |
971 | #define SIZEOF_WCHAR_T 4 | |
972 | ||
0db9d8d2 JJ |
973 | /* The number of bytes in a int. */ |
974 | #define SIZEOF_INT 4 | |
975 | ||
976 | /* The number of bytes in a int *. */ | |
977 | #define SIZEOF_INT_P 4 | |
978 | ||
979 | /* The number of bytes in a long. */ | |
980 | #define SIZEOF_LONG 4 | |
981 | ||
982 | /* The number of bytes in a long long. */ | |
983 | #define SIZEOF_LONG_LONG 8 | |
984 | ||
985 | /* The number of bytes in a short. */ | |
986 | #define SIZEOF_SHORT 2 | |
987 | ||
1a0d517e JJ |
988 | /* Define if size_t on your machine is the same type as unsigned int. */ |
989 | #define wxSIZE_T_IS_UINT 1 | |
990 | ||
991 | /* Define if size_t on your machine is the same type as unsigned long. */ | |
992 | #undef wxSIZE_T_IS_ULONG | |
993 | ||
0db9d8d2 | 994 | /* Define if you have the dlopen function. */ |
181cbcf4 JJ |
995 | #define HAVE_DLOPEN 1 |
996 | ||
997 | /* Define if you have the dlerror function. */ | |
998 | #define HAVE_DLERROR 1 | |
0db9d8d2 JJ |
999 | |
1000 | /* Define if you have the gethostname function. */ | |
508e0acb | 1001 | #define HAVE_GETHOSTNAME 1 |
0db9d8d2 JJ |
1002 | |
1003 | /* Define if you have the inet_addr function. */ | |
508e0acb | 1004 | #define HAVE_INET_ADDR 1 |
0db9d8d2 JJ |
1005 | |
1006 | /* Define if you have the inet_aton function. */ | |
1007 | #undef HAVE_INET_ATON | |
1008 | ||
1009 | /* Define if you have the nanosleep function. */ | |
1010 | #undef HAVE_NANOSLEEP | |
1011 | ||
1012 | /* Define if you have the shl_load function. */ | |
1013 | #undef HAVE_SHL_LOAD | |
1014 | ||
1015 | /* Define if you have strtok_r function. */ | |
1016 | #undef HAVE_STRTOK_R | |
1017 | ||
68874acf | 1018 | /* Define if you have thr_setconcurrency function */ |
181cbcf4 | 1019 | #undef HAVE_THR_SETCONCURRENCY |
68874acf | 1020 | |
0db9d8d2 | 1021 | /* Define if you have the uname function. */ |
508e0acb | 1022 | #define HAVE_UNAME 1 |
0db9d8d2 JJ |
1023 | |
1024 | /* Define if you have the usleep function. */ | |
508e0acb | 1025 | #define HAVE_USLEEP 1 |
0db9d8d2 JJ |
1026 | |
1027 | /* Define if you have the vfork function. */ | |
508e0acb | 1028 | #define HAVE_VFORK 1 |
0db9d8d2 JJ |
1029 | |
1030 | /* Define if you have the <X11/XKBlib.h> header file. */ | |
1031 | #undef HAVE_X11_XKBLIB_H | |
1032 | ||
1033 | /* Define if you have the <fnmatch.h> header file. */ | |
1034 | #undef HAVE_FNMATCH_H | |
1035 | ||
1036 | /* Define if you have the <iostream> header file. */ | |
1037 | #undef HAVE_IOSTREAM | |
1038 | ||
1039 | /* Define if you have the <linux/joystick.h> header file. */ | |
1040 | #undef HAVE_LINUX_JOYSTICK_H | |
1041 | ||
1042 | /* Define if you have the <sched.h> header file. */ | |
1043 | #undef HAVE_SCHED_H | |
1044 | ||
1045 | /* Define if you have the <strings.h> header file. */ | |
508e0acb | 1046 | #define HAVE_STRINGS_H 1 |
0db9d8d2 JJ |
1047 | |
1048 | /* Define if you have the <unistd.h> header file. */ | |
508e0acb | 1049 | #define HAVE_UNISTD_H 1 |
0db9d8d2 JJ |
1050 | |
1051 | /* Define if you have the <wchar.h> header file. */ | |
508e0acb | 1052 | #define HAVE_WCHAR_H 1 |
0db9d8d2 JJ |
1053 | |
1054 | /* Define if you have the <wcstr.h> header file. */ | |
1055 | #undef HAVE_WCSTR_H | |
1056 | ||
35e92fbf | 1057 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ |
181cbcf4 JJ |
1058 | #define HAVE_ICONV_H 1 |
1059 | ||
35e92fbf JJ |
1060 | /* Define as "const" if the declaration of iconv() needs const. */ |
1061 | #undef ICONV_CONST | |
1062 | ||
181cbcf4 JJ |
1063 | /* Define if you have the <langinfo.h> header file. */ |
1064 | #define HAVE_LANGINFO_H 1 | |
1065 | ||
0f02d3d0 JJ |
1066 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ |
1067 | #undef HAVE_W32API_H | |
1068 | ||
1069 | /* | |
1070 | * Use MS HTML Help controller (win32) | |
1071 | */ | |
1072 | #define wxUSE_MS_HTML_HELP 0 | |
1073 | ||
9e4e191a JJ |
1074 | /* Define if you have wcsrtombs() function */ |
1075 | #define HAVE_WCSRTOMBS 1 | |
1076 | ||
68874acf JJ |
1077 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ |
1078 | #undef HAVE_XIM | |
1079 | ||
9e4e191a JJ |
1080 | /* --------------------------------------------------------* |
1081 | * This stuff is static, it doesn't get modified directly | |
1082 | * by configure. | |
1083 | */ | |
1084 | ||
1085 | #include "wx/chkconf.h" | |
1086 | ||
1087 | /* | |
1088 | define some constants identifying wxWindows version in more details t | |
1089 | just the version number | |
1090 | */ | |
1091 | ||
1092 | /* wxLogChain class available */ | |
1093 | #define wxHAS_LOG_CHAIN 1 | |
1094 | ||
1095 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ | |
1096 | #define wxHAS_WORKING_GTK_DC_BLIT 1 | |
1097 | ||
0db9d8d2 | 1098 | #endif /* __WX_SETUP_H__ */ |