]>
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) * | |
eaa6f9ad | 6 | * Date : 15 March 2005 * |
0db9d8d2 JJ |
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 | ||
b2ddee86 JJ |
38 | /* Define this to get extra features from GNU libc. */ |
39 | #undef _GNU_SOURCE | |
40 | ||
0db9d8d2 JJ |
41 | /* Define to `int' if <sys/types.h> doesn't define. */ |
42 | #undef gid_t | |
43 | ||
0db9d8d2 JJ |
44 | /* Define to `int' if <sys/types.h> doesn't define. */ |
45 | #undef mode_t | |
46 | ||
47 | /* Define to `long' if <sys/types.h> doesn't define. */ | |
48 | #undef off_t | |
49 | ||
50 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
51 | #undef pid_t | |
52 | ||
53 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
54 | #undef size_t | |
55 | ||
d51253e8 | 56 | /* Define if ssize_t type is available. */ |
44f3342e | 57 | #define HAVE_SSIZE_T 1 |
d51253e8 | 58 | |
0db9d8d2 JJ |
59 | /* Define if you have the ANSI C header files. */ |
60 | #define STDC_HEADERS | |
61 | ||
62 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
63 | #undef uid_t | |
64 | ||
65 | /* Define if your processor stores words with the most significant | |
66 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ | |
67 | #undef WORDS_BIGENDIAN | |
68 | ||
57b4050c JJ |
69 | /* Define this if you want to use GPE features */ |
70 | /* #undef __WXGPE__ */ | |
71 | ||
6804a3f7 JJ |
72 | /* Define this if your version of Motif is greater than 2.0 */ |
73 | /* #undef __WXMOTIF20__ */ | |
74 | ||
09f8c2a0 | 75 | #ifdef __WXGTK__ |
1696c178 | 76 | /* Define this if your version of GTK+ is greater than 1.2 */ |
3fa056ab | 77 | #define __WXGTK12__ 1 |
0db9d8d2 | 78 | |
f6bcfd97 BP |
79 | /* Define this if your version of GTK+ is greater than 1.2.7 */ |
80 | #define __WXGTK127__ 1 | |
81 | ||
9755e73b | 82 | /* Define this if your version of GTK+ is greater than 2.0 */ |
6804a3f7 | 83 | /* #undef __WXGTK20__ */ |
9755e73b VS |
84 | |
85 | /* Define this if your version of GTK+ is greater than 2.4 */ | |
86 | /* #undef __WXGTK24__ */ | |
09f8c2a0 | 87 | #endif |
1696c178 | 88 | |
0db9d8d2 JJ |
89 | /* |
90 | * Define to 1 for Unix[-like] system | |
91 | */ | |
92 | #define wxUSE_UNIX 1 | |
93 | ||
94 | #define __UNIX__ | |
6804a3f7 | 95 | |
0db9d8d2 | 96 | #undef __AIX__ |
0db9d8d2 | 97 | #undef __BSD__ |
6804a3f7 JJ |
98 | #undef __DARWIN__ |
99 | #undef __EMX__ | |
0db9d8d2 | 100 | #undef __FREEBSD__ |
6804a3f7 JJ |
101 | #undef __HPUX__ |
102 | #undef __LINUX__ | |
103 | #undef __NETBSD__ | |
2b5f62a0 | 104 | #undef __OPENBSD__ |
6804a3f7 JJ |
105 | #undef __OSF__ |
106 | #undef __SGI__ | |
107 | #undef __SOLARIS__ | |
108 | #undef __SUN__ | |
109 | #undef __SUNOS__ | |
110 | #undef __SVR4__ | |
111 | #undef __SYSV__ | |
0db9d8d2 | 112 | #undef __ULTRIX__ |
6804a3f7 JJ |
113 | #undef __UNIXWARE__ |
114 | #define __VMS__ | |
115 | ||
116 | #undef __IA64__ | |
117 | #define __ALPHA__ | |
4b37e99a JJ |
118 | |
119 | /* NanoX (with wxX11) */ | |
120 | #define wxUSE_NANOX 0 | |
0db9d8d2 | 121 | |
283e4f28 JJ |
122 | /* PowerPC Darwin & Mac OS X */ |
123 | #undef __POWERPC__ | |
124 | ||
eaa6f9ad JJ |
125 | /* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */ |
126 | #undef __Point__ | |
127 | ||
955b1191 JJ |
128 | /* MS-DOS with DJGPP */ |
129 | #undef __DOS__ | |
130 | ||
0db9d8d2 JJ |
131 | /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ |
132 | #ifndef __WINDOWS__ | |
133 | #undef __WINDOWS__ | |
134 | #endif | |
135 | ||
e004299a | 136 | #ifndef __WIN95__ |
0db9d8d2 | 137 | #undef __WIN95__ |
e004299a | 138 | #endif |
abfcca57 | 139 | #ifndef __WIN32__ |
0db9d8d2 | 140 | #undef __WIN32__ |
abfcca57 | 141 | #endif |
e004299a | 142 | #ifndef __GNUWIN32__ |
0db9d8d2 | 143 | #undef __GNUWIN32__ |
e004299a JJ |
144 | #endif |
145 | #ifndef STRICT | |
0db9d8d2 | 146 | #undef STRICT |
e004299a JJ |
147 | #endif |
148 | #ifndef WINVER | |
0db9d8d2 | 149 | #undef WINVER |
e004299a | 150 | #endif |
0db9d8d2 | 151 | |
9bea227d | 152 | /* --- start common options --- */ |
181cbcf4 | 153 | |
9bea227d JJ |
154 | |
155 | #ifndef wxUSE_GUI | |
156 | #define wxUSE_GUI 1 | |
35e92fbf JJ |
157 | #endif |
158 | ||
9bea227d JJ |
159 | |
160 | #define WXWIN_COMPATIBILITY_2_2 1 | |
161 | ||
162 | #define WXWIN_COMPATIBILITY_2_4 1 | |
163 | ||
164 | #define wxDIALOG_UNIT_COMPATIBILITY 1 | |
165 | ||
166 | ||
167 | ||
168 | #define wxUSE_DEBUG_CONTEXT 0 | |
169 | ||
a98ce49a JJ |
170 | #define wxUSE_DEBUGREPORT 0 |
171 | ||
9bea227d JJ |
172 | #define wxUSE_MEMORY_TRACING 0 |
173 | ||
174 | #define wxUSE_GLOBAL_MEMORY_OPERATORS 0 | |
175 | ||
176 | #define wxUSE_DEBUG_NEW_ALWAYS 0 | |
177 | ||
dbbd41ae | 178 | #define wxUSE_ON_FATAL_EXCEPTION 0 |
68874acf | 179 | |
9bea227d | 180 | #define wxUSE_STACKWALKER 0 |
0db9d8d2 | 181 | |
ef0ed19e | 182 | |
9bea227d JJ |
183 | #ifndef wxUSE_UNICODE |
184 | #define wxUSE_UNICODE 0 | |
185 | #endif | |
6804a3f7 | 186 | |
9bea227d | 187 | #define wxUSE_UNICODE_MSLU 0 |
4ebb542f | 188 | |
9bea227d | 189 | #define wxUSE_WCHAR_T 1 |
ecfd48ca | 190 | |
8fa53e0e | 191 | |
9bea227d | 192 | #define wxUSE_EXCEPTIONS 0 |
8fa53e0e | 193 | |
9bea227d | 194 | #define wxUSE_EXTENDED_RTTI 0 |
f3858bf5 | 195 | |
8f5a042b | 196 | #define wxUSE_STL 0 |
9bea227d JJ |
197 | |
198 | #define wxUSE_LOG 1 | |
199 | ||
200 | #define wxUSE_LOGWINDOW 1 | |
201 | ||
202 | #define wxUSE_LOGGUI 1 | |
203 | ||
204 | #define wxUSE_LOG_DIALOG 0 | |
205 | ||
206 | #define wxUSE_CMDLINE_PARSER 1 | |
207 | ||
fb10f04c | 208 | #define wxUSE_THREADS 1 |
0db9d8d2 | 209 | |
9bea227d | 210 | #define wxUSE_STREAMS 1 |
04272d58 | 211 | |
9bea227d | 212 | #define wxUSE_STD_IOSTREAM 0 |
181cbcf4 | 213 | |
4b37e99a | 214 | |
9bea227d | 215 | #define wxUSE_LONGLONG 1 |
0db9d8d2 | 216 | |
9bea227d JJ |
217 | #define wxUSE_FILE 1 |
218 | #define wxUSE_FFILE 1 | |
0db9d8d2 | 219 | |
9bea227d JJ |
220 | #define wxUSE_FSVOLUME 1 |
221 | ||
a98ce49a JJ |
222 | #define wxUSE_STDPATHS 1 |
223 | ||
9bea227d JJ |
224 | #define wxUSE_TEXTBUFFER 1 |
225 | ||
226 | #define wxUSE_TEXTFILE 1 | |
227 | ||
228 | #define wxUSE_INTL 1 | |
229 | ||
230 | #define wxUSE_DATETIME 1 | |
231 | ||
232 | #define wxUSE_TIMER 1 | |
233 | ||
234 | #define wxUSE_STOPWATCH 1 | |
235 | ||
236 | #define wxUSE_CONFIG 1 | |
237 | ||
238 | #define wxUSE_CONFIG_NATIVE 0 | |
239 | ||
240 | #define wxUSE_DIALUP_MANAGER 1 | |
241 | ||
242 | #define wxUSE_DYNLIB_CLASS 1 | |
243 | ||
244 | #define wxUSE_DYNAMIC_LOADER 0 | |
245 | ||
246 | #define wxUSE_SOCKETS 1 | |
247 | ||
248 | #define wxUSE_FILESYSTEM 1 | |
249 | ||
250 | #define wxUSE_FS_ZIP 1 | |
251 | ||
252 | #define wxUSE_FS_INET 1 | |
253 | ||
9e8e867f | 254 | #define wxUSE_ARCHIVE_STREAMS 1 |
81f90336 | 255 | |
9bea227d JJ |
256 | #define wxUSE_ZIPSTREAM 1 |
257 | ||
258 | #define wxUSE_ZLIB 1 | |
259 | ||
260 | #define wxUSE_APPLE_IEEE 0 | |
261 | ||
262 | #define wxUSE_JOYSTICK 0 | |
263 | ||
264 | #define wxUSE_FONTMAP 1 | |
265 | ||
266 | #define wxUSE_MIMETYPE 1 | |
267 | ||
268 | #define wxUSE_PROTOCOL 1 | |
269 | ||
270 | #define wxUSE_PROTOCOL_FILE 1 | |
271 | #define wxUSE_PROTOCOL_FTP 1 | |
272 | #define wxUSE_PROTOCOL_HTTP 1 | |
273 | ||
274 | #define wxUSE_URL 1 | |
275 | ||
276 | #define wxUSE_URL_NATIVE 0 | |
277 | ||
278 | #define wxUSE_REGEX 0 | |
279 | ||
280 | #define wxUSE_SYSTEM_OPTIONS 1 | |
281 | ||
282 | #define wxUSE_SOUND 1 | |
283 | ||
284 | #define wxUSE_MEDIACTRL 1 | |
285 | ||
286 | #define wxUSE_QUICKTIME 1 | |
287 | ||
288 | #define wxUSE_DIRECTSHOW 1 | |
289 | ||
62af4df1 JJ |
290 | #define wxUSE_GSTREAMER 0 |
291 | ||
9bea227d JJ |
292 | #define wxUSE_XRC 1 |
293 | ||
294 | #if wxUSE_XRC | |
295 | #define wxUSE_XML 1 | |
296 | #else | |
297 | # define wxUSE_XML 1 | |
298 | #endif | |
299 | ||
300 | ||
301 | #define wxUSE_CONTROLS 1 | |
1a0d517e | 302 | |
dae752d4 JJ |
303 | #ifdef __WXMOTIF__ |
304 | #define wxUSE_POPUPWIN 0 | |
305 | #else | |
1a0d517e | 306 | #define wxUSE_POPUPWIN 1 |
dae752d4 | 307 | #endif |
1a0d517e | 308 | |
9bea227d JJ |
309 | #define wxUSE_TIPWINDOW 1 |
310 | ||
311 | #define wxUSE_BUTTON 1 | |
312 | #define wxUSE_BMPBUTTON 1 | |
313 | #define wxUSE_CALENDARCTRL 1 | |
314 | #define wxUSE_CHECKBOX 1 | |
315 | #define wxUSE_CHECKLISTBOX 1 | |
316 | #define wxUSE_CHOICE 1 | |
317 | #define wxUSE_COMBOBOX 1 | |
318 | #define wxUSE_DATEPICKCTRL 1 | |
319 | #define wxUSE_GAUGE 1 | |
320 | #define wxUSE_LISTBOX 1 | |
321 | #define wxUSE_LISTCTRL 1 | |
322 | #define wxUSE_RADIOBOX 1 | |
323 | #define wxUSE_RADIOBTN 1 | |
324 | #define wxUSE_SCROLLBAR 1 | |
325 | #define wxUSE_SLIDER 1 | |
326 | #define wxUSE_SPINBTN 1 | |
327 | #define wxUSE_SPINCTRL 1 | |
328 | #define wxUSE_STATBOX 1 | |
329 | #define wxUSE_STATLINE 1 | |
330 | #define wxUSE_STATTEXT 1 | |
331 | #define wxUSE_STATBMP 1 | |
332 | #define wxUSE_TEXTCTRL 1 | |
7712a6a5 | 333 | #if defined (__WXMOTIF__) || defined( __WXGTK__ ) |
9bea227d | 334 | #define wxUSE_TOGGLEBTN 1 |
7712a6a5 JJ |
335 | #else |
336 | #define wxUSE_TOGGLEBTN 0 | |
337 | #endif | |
9bea227d JJ |
338 | #define wxUSE_TREECTRL 1 |
339 | ||
340 | #define wxUSE_STATUSBAR 1 | |
341 | ||
9bea227d | 342 | #define wxUSE_NATIVE_STATUSBAR 0 |
9bea227d JJ |
343 | |
344 | #define wxUSE_TOOLBAR 1 | |
345 | #define wxUSE_TOOLBAR_NATIVE 1 | |
346 | ||
347 | #define wxUSE_NOTEBOOK 1 | |
348 | ||
349 | #define wxUSE_LISTBOOK 1 | |
350 | ||
351 | #define wxUSE_CHOICEBOOK 1 | |
352 | ||
353 | #define wxUSE_TAB_DIALOG 1 | |
354 | ||
355 | #define wxUSE_GRID 1 | |
356 | ||
357 | #define wxUSE_MINIFRAME 1 | |
358 | ||
508e0acb | 359 | |
0db9d8d2 JJ |
360 | #define wxUSE_ACCEL 1 |
361 | ||
9bea227d | 362 | #define wxUSE_HOTKEY 1 |
1a0d517e | 363 | |
9bea227d | 364 | #define wxUSE_CARET 1 |
1a0d517e | 365 | |
9bea227d | 366 | #define wxUSE_DISPLAY 1 |
33381c82 | 367 | |
9bea227d | 368 | #define wxUSE_GEOMETRY 1 |
1a0d517e | 369 | |
9bea227d | 370 | #define wxUSE_IMAGLIST 1 |
1a0d517e | 371 | |
9bea227d | 372 | #define wxUSE_MENUS 1 |
508e0acb | 373 | |
9bea227d | 374 | #define wxUSE_SASH 1 |
1a0d517e | 375 | |
9bea227d | 376 | #define wxUSE_SPLITTER 1 |
1a0d517e | 377 | |
9bea227d JJ |
378 | #if defined (__WXMOTIF__) || defined( __WXX11__ ) |
379 | #define wxUSE_TOOLTIPS 0 | |
380 | #else | |
381 | #define wxUSE_TOOLTIPS 1 | |
382 | #endif | |
0db9d8d2 | 383 | |
9bea227d | 384 | #define wxUSE_VALIDATORS 1 |
0db9d8d2 | 385 | |
0db9d8d2 | 386 | |
9bea227d | 387 | #define wxUSE_COMMON_DIALOGS 1 |
1a0d517e | 388 | |
9bea227d JJ |
389 | #define wxUSE_BUSYINFO 1 |
390 | ||
391 | #define wxUSE_CHOICEDLG 1 | |
392 | ||
393 | #define wxUSE_COLOURDLG 1 | |
1a0d517e | 394 | |
0db9d8d2 JJ |
395 | #define wxUSE_DIRDLG 1 |
396 | ||
1a0d517e | 397 | |
9bea227d | 398 | #define wxUSE_FILEDLG 1 |
1a0d517e | 399 | |
9bea227d JJ |
400 | #define wxUSE_FINDREPLDLG 1 |
401 | ||
402 | #define wxUSE_FONTDLG 1 | |
403 | ||
404 | #define wxUSE_MSGDLG 1 | |
405 | ||
406 | #define wxUSE_PROGRESSDLG 1 | |
407 | ||
408 | #define wxUSE_STARTUP_TIPS 1 | |
409 | ||
410 | #define wxUSE_TEXTDLG 1 | |
411 | ||
412 | #define wxUSE_NUMBERDLG 1 | |
1a0d517e | 413 | |
1a0d517e JJ |
414 | #define wxUSE_SPLASH 1 |
415 | ||
9bea227d | 416 | #define wxUSE_WIZARDDLG 1 |
0db9d8d2 | 417 | |
6804a3f7 | 418 | |
9bea227d JJ |
419 | #define wxUSE_METAFILE 1 |
420 | #define wxUSE_ENH_METAFILE 1 | |
421 | #define wxUSE_WIN_METAFILES_ALWAYS 1 | |
422 | ||
423 | ||
424 | #define wxUSE_MDI 1 | |
425 | ||
426 | #define wxUSE_DOC_VIEW_ARCHITECTURE 1 | |
427 | ||
428 | #define wxUSE_MDI_ARCHITECTURE 1 | |
429 | ||
430 | #define wxUSE_PRINTING_ARCHITECTURE 1 | |
431 | ||
432 | #define wxUSE_HTML 1 | |
433 | ||
434 | #define wxUSE_GLCANVAS 1 | |
435 | ||
436 | ||
437 | #define wxUSE_CLIPBOARD 1 | |
438 | ||
439 | #define wxUSE_DATAOBJ 1 | |
440 | ||
441 | #ifdef __WXGTK__ | |
442 | #define wxUSE_DRAG_AND_DROP 1 | |
5f81e1e9 | 443 | #else |
9bea227d | 444 | #define wxUSE_DRAG_AND_DROP 0 |
5f81e1e9 JJ |
445 | #endif |
446 | ||
9bea227d JJ |
447 | #define wxUSE_ACCESSIBILITY 0 |
448 | ||
449 | ||
450 | #define wxUSE_SNGLINST_CHECKER 1 | |
451 | ||
452 | #define wxUSE_DRAGIMAGE 1 | |
453 | ||
454 | #define wxUSE_IPC 1 | |
455 | ||
456 | #define wxUSE_HELP 1 | |
457 | ||
458 | #define wxUSE_MS_HTML_HELP 0 | |
459 | ||
460 | ||
461 | #define wxUSE_WXHTML_HELP 1 | |
462 | ||
463 | #define wxUSE_RESOURCES 1 | |
464 | ||
465 | /* | |
466 | * Use Prolog IO | |
467 | */ | |
468 | #define wxUSE_PROLOGIO 1 | |
469 | ||
470 | #define wxUSE_CONSTRAINTS 1 | |
471 | ||
472 | ||
473 | #define wxUSE_SPLINES 1 | |
474 | ||
475 | ||
476 | #define wxUSE_MOUSEWHEEL 1 | |
477 | ||
478 | ||
479 | ||
480 | #define wxUSE_POSTSCRIPT 1 | |
481 | ||
482 | #define wxUSE_AFM_FOR_POSTSCRIPT 1 | |
483 | ||
9bea227d JJ |
484 | #define wxUSE_ODBC 1 |
485 | ||
486 | #define wxODBC_FWD_ONLY_CURSORS 1 | |
487 | ||
488 | #define wxODBC_BACKWARD_COMPATABILITY 0 | |
489 | ||
490 | ||
491 | #define REMOVE_UNUSED_ARG 1 | |
492 | ||
493 | #define wxUSE_IOSTREAMH 1 | |
494 | ||
1a0d517e | 495 | |
0db9d8d2 | 496 | |
9bea227d | 497 | #define wxUSE_IMAGE 1 |
fb10f04c | 498 | |
9bea227d | 499 | #define wxUSE_LIBPNG 1 |
33381c82 | 500 | |
9bea227d | 501 | #define wxUSE_LIBJPEG 1 |
0db9d8d2 | 502 | |
9bea227d | 503 | #define wxUSE_LIBTIFF 1 |
0db9d8d2 | 504 | |
9bea227d | 505 | #define wxUSE_GIF 1 |
97b305b7 | 506 | |
9bea227d | 507 | #define wxUSE_PNM 1 |
4b37e99a | 508 | |
9bea227d JJ |
509 | #define wxUSE_PCX 1 |
510 | ||
511 | #define wxUSE_IFF 1 | |
512 | ||
513 | #define wxUSE_XPM 1 | |
514 | ||
515 | #define wxUSE_ICO_CUR 1 | |
516 | ||
517 | #define wxUSE_PALETTE 1 | |
518 | ||
519 | /* --- end common options --- */ | |
520 | ||
521 | /* for some features we don't have dedicated configure switches, so just choose | |
522 | * the common values automatically */ | |
523 | #if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__) | |
524 | #define wxUSE_OWNER_DRAWN 1 | |
525 | #endif | |
526 | ||
527 | #if defined(__WXPM__) | |
528 | #define wxUSE_OWNER_DRAWN 1 | |
529 | #endif | |
4199367e | 530 | |
9bea227d JJ |
531 | /* enable rich edit under Win32 */ |
532 | #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__) | |
533 | #define wxUSE_RICHEDIT 1 | |
534 | #else | |
535 | #define wxUSE_RICHEDIT 0 | |
536 | #endif | |
4199367e | 537 | |
0db9d8d2 | 538 | /* |
9bea227d | 539 | * Supports bool type |
0db9d8d2 | 540 | */ |
9bea227d JJ |
541 | #define HAVE_BOOL |
542 | ||
1a0d517e | 543 | /* |
9bea227d | 544 | * Define if your compiler supports the explicit keyword |
1a0d517e | 545 | */ |
9bea227d JJ |
546 | #define HAVE_EXPLICIT 1 |
547 | ||
1a0d517e | 548 | /* |
9bea227d | 549 | * Define if your compiler supports const_cast<>() |
1a0d517e | 550 | */ |
9bea227d JJ |
551 | #define HAVE_CONST_CAST 1 |
552 | ||
0f02d3d0 | 553 | /* |
9bea227d | 554 | * Define if your compiler supports reinterpret_cast<>() |
0f02d3d0 | 555 | */ |
9bea227d JJ |
556 | #define HAVE_REINTERPRET_CAST 1 |
557 | ||
1a0d517e | 558 | /* |
9bea227d | 559 | * Define if your compiler supports const_cast<>() |
1a0d517e | 560 | */ |
9bea227d JJ |
561 | #define HAVE_STATIC_CAST 1 |
562 | ||
0db9d8d2 | 563 | /* |
9bea227d | 564 | * Define if your compiler has C99 va_copy |
0db9d8d2 | 565 | */ |
9bea227d JJ |
566 | #undef HAVE_VA_COPY |
567 | ||
0db9d8d2 | 568 | /* |
9bea227d | 569 | * Define if va_list type is an array |
0db9d8d2 | 570 | */ |
9bea227d JJ |
571 | #undef VA_LIST_IS_ARRAY |
572 | ||
d2dfcfab | 573 | /* |
9bea227d | 574 | * Define if your compiler has std::wstring |
d2dfcfab | 575 | */ |
9bea227d | 576 | /* #unfine HAVE_STD_WSTRING */ |
44f3342e | 577 | /* |
9bea227d | 578 | * Define if your compiler has compliant std::string::compare |
44f3342e | 579 | */ |
9bea227d | 580 | #undef HAVE_STD_STRING_COMPARE |
0db9d8d2 | 581 | /* |
9bea227d | 582 | * Define if your compiler has <hash_map> |
0db9d8d2 | 583 | */ |
9bea227d | 584 | #undef HAVE_HASH_MAP |
1a0d517e | 585 | /* |
9bea227d | 586 | * Define if your compiler has <ext/hash_map> |
1a0d517e | 587 | */ |
9bea227d | 588 | #undef HAVE_EXT_HASH_MAP |
0db9d8d2 | 589 | /* |
9bea227d | 590 | * Define if your compiler has std::hash_map/hash_set |
0db9d8d2 | 591 | */ |
9bea227d | 592 | #undef HAVE_STD_HASH_MAP |
0db9d8d2 | 593 | /* |
9bea227d | 594 | * Define if your compiler has __gnu_cxx::hash_map/hash_set |
0db9d8d2 | 595 | */ |
9bea227d JJ |
596 | #undef HAVE_GNU_CXX_HASH_MAP |
597 | ||
0db9d8d2 | 598 | /* |
9bea227d JJ |
599 | * The built-in regex supports advanced REs in additional to POSIX's basic |
600 | * and extended. Your system regex probably won't support this, and in this | |
601 | * case WX_NO_REGEX_ADVANCED should be defined. | |
0db9d8d2 | 602 | */ |
9bea227d | 603 | #undef WX_NO_REGEX_ADVANCED |
0db9d8d2 | 604 | /* |
9bea227d | 605 | * Use SDL for audio (Unix) |
0db9d8d2 | 606 | */ |
9bea227d | 607 | #define wxUSE_LIBSDL 0 |
0db9d8d2 | 608 | /* |
9bea227d | 609 | * Use GNOME print for printing under GTK+ 2.0 |
0db9d8d2 | 610 | */ |
9bea227d | 611 | #define wxUSE_LIBGNOMEPRINT 0 |
0db9d8d2 | 612 | /* |
9bea227d | 613 | * Use iODBC |
0db9d8d2 | 614 | */ |
9bea227d | 615 | #define wxUSE_BUILTIN_IODBC 0 |
0db9d8d2 | 616 | /* |
9bea227d | 617 | * Use freetype |
0db9d8d2 | 618 | */ |
9bea227d | 619 | #define wxUSE_FREETYPE 1 |
8f52ea33 | 620 | /* |
9bea227d | 621 | * Have glibc2 |
8f52ea33 | 622 | */ |
9bea227d | 623 | #define wxHAVE_GLIBC2 0 |
1a0d517e | 624 | /* |
9bea227d | 625 | * Use libXpm |
1a0d517e | 626 | */ |
9bea227d | 627 | #define wxHAVE_LIB_XPM 1 |
0db9d8d2 | 628 | /* |
0db9d8d2 JJ |
629 | * Use consistent PostScript fonts for AFM and printing (!) |
630 | */ | |
0db9d8d2 JJ |
631 | #define wxUSE_NORMALIZED_PS_FONTS 1 |
632 | ||
633 | /* compatibility */ | |
634 | #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS | |
635 | ||
636 | /* | |
9bea227d | 637 | * Use OpenGL |
955b1191 | 638 | */ |
9bea227d | 639 | #define wxUSE_OPENGL 1 |
955b1191 | 640 | |
f3858bf5 JJ |
641 | /* |
642 | * Set to 1 to compile MS Windows XP theme engine support | |
643 | */ | |
644 | /* #define wxUSE_UXTHEME 1 */ | |
645 | ||
646 | /* | |
647 | * Set to 1 to auto-adapt to MS Windows XP themes where possible | |
648 | * (notably, wxNotebook pages) | |
649 | */ | |
650 | /* #define wxUSE_UXTHEME_AUTO 1*/ | |
651 | ||
0db9d8d2 JJ |
652 | /* |
653 | * Work around a bug in GNU libc 5.x wcstombs() implementation. | |
654 | * | |
655 | * Note that you must link your programs with libc.a if you enable this and you | |
656 | * have libc 5 (you should enable this for libc6 where wcsrtombs() is | |
657 | * thread-safe version of wcstombs()). | |
658 | */ | |
659 | #define wxUSE_WCSRTOMBS 0 | |
660 | ||
661 | /* | |
662 | * Use the new experimental implementation of wxString::Printf()? | |
663 | * | |
664 | * Warning: enabling this may cause internal compiler errors with gcc! | |
665 | */ | |
666 | #define wxUSE_EXPERIMENTAL_PRINTF 0 | |
667 | ||
0db9d8d2 JJ |
668 | /* |
669 | * Use wxGetResource & wxWriteResource (change .Xdefaults) | |
670 | */ | |
671 | #define wxUSE_X_RESOURCES 1 | |
0f02d3d0 JJ |
672 | /* |
673 | * Use OLE (MSW only) | |
a73ce5bf | 674 | */ |
9bea227d | 675 | #define wxUSE_OLE 0 |
0db9d8d2 JJ |
676 | |
677 | /* for compatibility */ | |
678 | #define wxUSE_WX_RESOURCES wxUSE_RESOURCES | |
679 | ||
680 | /* | |
4b37e99a | 681 | * Use wxWindows help facility |
0db9d8d2 JJ |
682 | */ |
683 | #define wxUSE_HELP 1 | |
1a0d517e JJ |
684 | /* |
685 | * Use built-in HTML-based help controller | |
686 | */ | |
687 | #define wxUSE_WXHTML_HELP 1 | |
4b37e99a JJ |
688 | /* |
689 | * Use MS HTML Help controller (win32) | |
690 | */ | |
691 | #define wxUSE_MS_HTML_HELP 0 | |
2b5b100a JJ |
692 | /* |
693 | * Use MS HTML Help via libmspack (Unix) | |
694 | */ | |
695 | #define wxUSE_LIBMSPACK 1 | |
1a0d517e | 696 | |
0db9d8d2 JJ |
697 | /* |
698 | * Matthews garbage collection (used for MrEd?) | |
699 | */ | |
700 | #define WXGARBAGE_COLLECTION_ON 1 | |
9a8f0513 | 701 | |
dac5a9c9 JJ |
702 | /* |
703 | * wxWebKitCtrl | |
704 | */ | |
705 | #define wxUSE_WEBKIT 1 | |
706 | ||
0db9d8d2 JJ |
707 | /* |
708 | * The const keyword is being introduced more in wxWindows. | |
709 | * You can use this setting to maintain backward compatibility. | |
710 | * If 0: will use const wherever possible. | |
711 | * If 1: will use const only where necessary | |
712 | * for precompiled headers to work. | |
713 | * If 2: will be totally backward compatible, but precompiled | |
714 | * headers may not work and program size will be larger. | |
715 | */ | |
716 | #define CONST_COMPATIBILITY 0 | |
717 | ||
fb10f04c JJ |
718 | /* define with the name of timezone variable */ |
719 | #undef WX_TIMEZONE | |
720 | ||
0db9d8d2 | 721 | /* The type of 3rd argument to getsockname() - usually size_t or int */ |
fb10f04c | 722 | #define SOCKLEN_T size_t |
0db9d8d2 | 723 | |
13973396 JJ |
724 | /* The type of 5th argument to getsockopt() - usually size_t or int */ |
725 | #define SOCKOPTLEN_T size_t | |
726 | ||
e004299a JJ |
727 | /* The type of statvfs(2) argument */ |
728 | #undef WX_STATFS_T | |
729 | ||
4b37e99a JJ |
730 | /* The signal handler prototype */ |
731 | #undef wxTYPE_SA_HANDLER | |
732 | ||
0db9d8d2 JJ |
733 | /* gettimeofday() usually takes 2 arguments, but some really old systems might |
734 | * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ | |
735 | #undef WX_GETTIMEOFDAY_NO_TZ | |
736 | ||
4b37e99a | 737 | /* struct tm doesn't always have the tm_gmtoff field, define this if it does */ |
b8ad9f18 JJ |
738 | #define WX_GMTOFF_IN_TM |
739 | ||
2b5f62a0 VZ |
740 | /* Define if you have poll(2) function */ |
741 | #define HAVE_POLL 1 | |
742 | ||
181cbcf4 JJ |
743 | /* Define if you have pw_gecos field in struct passwd */ |
744 | #undef HAVE_PW_GECOS | |
745 | ||
9bea227d JJ |
746 | /* Define if you have __cxa_demangle() in <cxxabi.h> */ |
747 | #undef HAVE_CXA_DEMANGLE | |
748 | ||
0db9d8d2 | 749 | /* Define if you have dlopen() */ |
181cbcf4 | 750 | #define HAVE_DLOPEN 1 |
0db9d8d2 JJ |
751 | |
752 | /* Define if you have gettimeofday() */ | |
753 | #define HAVE_GETTIMEOFDAY | |
754 | ||
755 | /* Define if you have ftime() */ | |
756 | #define HAVE_FTIME | |
757 | ||
d38b5757 JJ |
758 | /* Define if you have support for large (64 bit size) files */ |
759 | #undef HAVE_LARGEFILE_SUPPORT | |
760 | ||
0db9d8d2 JJ |
761 | /* Define if you have localtime() */ |
762 | #define HAVE_LOCALTIME | |
763 | ||
764 | /* Define if you have nanosleep() */ | |
765 | #undef HAVE_NANOSLEEP | |
766 | ||
767 | /* Define if you have sched_yield */ | |
768 | #undef HAVE_SCHED_YIELD | |
769 | ||
4b37e99a JJ |
770 | /* Define if you have pthread_mutexattr_t and functions to work with it */ |
771 | #undef HAVE_PTHREAD_MUTEXATTR_T | |
772 | ||
773 | /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ | |
774 | #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER | |
775 | ||
0db9d8d2 | 776 | /* Define if you have pthread_cancel */ |
fb10f04c | 777 | #define HAVE_PTHREAD_CANCEL 1 |
0db9d8d2 | 778 | |
181cbcf4 JJ |
779 | /* Define if you have sigaction() */ |
780 | #define HAVE_SIGACTION 1 | |
781 | ||
782 | /* Define if you have sigemptyset() */ | |
783 | #define HAVE_SIGEMPTYSET 1 | |
784 | ||
97b305b7 JJ |
785 | /* Define if you have the putenv function. */ |
786 | #define HAVE_PUTENV 1 | |
787 | ||
788 | /* Define if you have the setenv function. */ | |
789 | #undef HAVE_SETENV | |
790 | ||
68874acf JJ |
791 | /* Define if you have shl_load() */ |
792 | #undef HAVE_SHL_LOAD | |
793 | ||
33381c82 JJ |
794 | /* define if you have statfs function */ |
795 | #undef HAVE_STATFS | |
796 | ||
4b37e99a JJ |
797 | /* define if you have statvfs function */ |
798 | #undef HAVE_STATVFS | |
799 | ||
fb10f04c JJ |
800 | /* Define if you have strptime() */ |
801 | #define HAVE_STRPTIME 1 | |
802 | ||
0db9d8d2 | 803 | /* Define if you have all functions to set thread priority */ |
fb10f04c | 804 | #define HAVE_THREAD_PRIORITY_FUNCTIONS 1 |
0db9d8d2 JJ |
805 | |
806 | /* Define if you can specify exit functions to a thread */ | |
fb10f04c | 807 | #define HAVE_THREAD_CLEANUP_FUNCTIONS 1 |
0db9d8d2 | 808 | |
68874acf JJ |
809 | /* Define if you have timegm() function */ |
810 | #undef HAVE_TIMEGM | |
0db9d8d2 JJ |
811 | |
812 | /* Define if you have vsnprintf() */ | |
813 | #undef HAVE_VSNPRINTF | |
814 | ||
ec0d6da3 VZ |
815 | /* Define if you have vsnprintf() declaration in the header */ |
816 | #undef HAVE_VSNPRINTF_DECL | |
817 | ||
0db9d8d2 | 818 | /* Define if you have usleep() */ |
508e0acb | 819 | #define HAVE_USLEEP 1 |
0db9d8d2 JJ |
820 | |
821 | /* Define if you have wcslen function */ | |
508e0acb | 822 | #define HAVE_WCSLEN 1 |
0db9d8d2 JJ |
823 | |
824 | /* define if you have vsscanf function */ | |
825 | #undef HAVE_VSSCANF | |
826 | ||
827 | /* The number of bytes in a char. */ | |
828 | #define SIZEOF_CHAR 1 | |
829 | ||
181cbcf4 JJ |
830 | /* The number of bytes in a wchar_t. */ |
831 | #define SIZEOF_WCHAR_T 4 | |
832 | ||
0db9d8d2 JJ |
833 | /* The number of bytes in a int. */ |
834 | #define SIZEOF_INT 4 | |
835 | ||
a369f7c8 VZ |
836 | /* The number of bytes in a pointer. */ |
837 | #define SIZEOF_VOID_P 4 | |
0db9d8d2 JJ |
838 | |
839 | /* The number of bytes in a long. */ | |
840 | #define SIZEOF_LONG 4 | |
841 | ||
842 | /* The number of bytes in a long long. */ | |
843 | #define SIZEOF_LONG_LONG 8 | |
844 | ||
845 | /* The number of bytes in a short. */ | |
846 | #define SIZEOF_SHORT 2 | |
847 | ||
a369f7c8 VZ |
848 | /* The number of bytes in a size_t. */ |
849 | #define SIZEOF_SIZE_T 4 | |
850 | ||
1a0d517e JJ |
851 | /* Define if size_t on your machine is the same type as unsigned int. */ |
852 | #define wxSIZE_T_IS_UINT 1 | |
853 | ||
854 | /* Define if size_t on your machine is the same type as unsigned long. */ | |
855 | #undef wxSIZE_T_IS_ULONG | |
856 | ||
0db9d8d2 | 857 | /* Define if you have the dlopen function. */ |
181cbcf4 JJ |
858 | #define HAVE_DLOPEN 1 |
859 | ||
860 | /* Define if you have the dlerror function. */ | |
861 | #define HAVE_DLERROR 1 | |
0db9d8d2 | 862 | |
4b37e99a JJ |
863 | /* Define if you have Posix fnctl() function. */ |
864 | #define HAVE_FCNTL 1 | |
865 | ||
866 | /* Define if you have BSD flock() function. */ | |
867 | #undef HAVE_FLOCK | |
868 | ||
0db9d8d2 | 869 | /* Define if you have the gethostname function. */ |
508e0acb | 870 | #define HAVE_GETHOSTNAME 1 |
0db9d8d2 JJ |
871 | |
872 | /* Define if you have the inet_addr function. */ | |
508e0acb | 873 | #define HAVE_INET_ADDR 1 |
0db9d8d2 JJ |
874 | |
875 | /* Define if you have the inet_aton function. */ | |
876 | #undef HAVE_INET_ATON | |
877 | ||
4b37e99a JJ |
878 | /* Define if you have the mktemp function. */ |
879 | #define HAVE_MKTEMP 1 | |
880 | ||
881 | /* Define if you have the mkstemp function. */ | |
882 | #define HAVE_MKSTEMP 1 | |
883 | ||
0db9d8d2 JJ |
884 | /* Define if you have the nanosleep function. */ |
885 | #undef HAVE_NANOSLEEP | |
886 | ||
4b37e99a JJ |
887 | /* Define if you have the putenv function. */ |
888 | #define HAVE_PUTENV 1 | |
889 | ||
890 | /* Define if you have the setenv function. */ | |
891 | #undef HAVE_SETENV | |
892 | ||
0db9d8d2 JJ |
893 | /* Define if you have the shl_load function. */ |
894 | #undef HAVE_SHL_LOAD | |
895 | ||
896 | /* Define if you have strtok_r function. */ | |
897 | #undef HAVE_STRTOK_R | |
898 | ||
68874acf | 899 | /* Define if you have thr_setconcurrency function */ |
181cbcf4 | 900 | #undef HAVE_THR_SETCONCURRENCY |
68874acf | 901 | |
0db9d8d2 | 902 | /* Define if you have the uname function. */ |
508e0acb | 903 | #define HAVE_UNAME 1 |
0db9d8d2 JJ |
904 | |
905 | /* Define if you have the usleep function. */ | |
508e0acb | 906 | #define HAVE_USLEEP 1 |
0db9d8d2 | 907 | |
0db9d8d2 JJ |
908 | /* Define if you have the <X11/XKBlib.h> header file. */ |
909 | #undef HAVE_X11_XKBLIB_H | |
910 | ||
9988e82e JJ |
911 | /* Define if you have the fnmatch() function */ |
912 | #undef HAVE_FNMATCH | |
913 | ||
0db9d8d2 JJ |
914 | /* Define if you have the <fnmatch.h> header file. */ |
915 | #undef HAVE_FNMATCH_H | |
916 | ||
917 | /* Define if you have the <iostream> header file. */ | |
918 | #undef HAVE_IOSTREAM | |
919 | ||
920 | /* Define if you have the <linux/joystick.h> header file. */ | |
921 | #undef HAVE_LINUX_JOYSTICK_H | |
922 | ||
923 | /* Define if you have the <sched.h> header file. */ | |
924 | #undef HAVE_SCHED_H | |
925 | ||
0db9d8d2 | 926 | /* Define if you have the <unistd.h> header file. */ |
508e0acb | 927 | #define HAVE_UNISTD_H 1 |
0db9d8d2 | 928 | |
4b37e99a JJ |
929 | /* Define if you have the <fcntl.h> header file. */ |
930 | #define HAVE_FCNTL_H 1 | |
931 | ||
0db9d8d2 | 932 | /* Define if you have the <wchar.h> header file. */ |
508e0acb | 933 | #define HAVE_WCHAR_H 1 |
0db9d8d2 JJ |
934 | |
935 | /* Define if you have the <wcstr.h> header file. */ | |
936 | #undef HAVE_WCSTR_H | |
937 | ||
4b37e99a JJ |
938 | /* Define if you have the <wctype.h> header file. */ |
939 | #undef HAVE_WCTYPE_H | |
940 | ||
35e92fbf | 941 | /* Define if you have the <iconv.h> header file and iconv() symbol. */ |
181cbcf4 JJ |
942 | #define HAVE_ICONV_H 1 |
943 | ||
35e92fbf JJ |
944 | /* Define as "const" if the declaration of iconv() needs const. */ |
945 | #undef ICONV_CONST | |
946 | ||
181cbcf4 JJ |
947 | /* Define if you have the <langinfo.h> header file. */ |
948 | #define HAVE_LANGINFO_H 1 | |
949 | ||
0f02d3d0 JJ |
950 | /* Define if you have the <w32api.h> header file (mingw,cygwin). */ |
951 | #undef HAVE_W32API_H | |
952 | ||
f3858bf5 JJ |
953 | /* Define if you have the <esd.h> header file. */ |
954 | /* #undef HAVE_ESD_H */ | |
955 | ||
9cc454c0 JJ |
956 | /* Define if you have the <sys/soundcard.h> header file. */ |
957 | /* #undef HAVE_SYS_SOUNDCARD_H */ | |
958 | ||
9e4e191a JJ |
959 | /* Define if you have wcsrtombs() function */ |
960 | #define HAVE_WCSRTOMBS 1 | |
961 | ||
fbe47c7b VS |
962 | /* Define this if you have wputc() */ |
963 | #define HAVE_WPUTC 1 | |
964 | ||
965 | /* Define this if you have wputchar() */ | |
966 | #define HAVE_WPUTCHAR 1 | |
967 | ||
968 | /* Define this if you have putws() */ | |
969 | #define HAVE_PUTWS 1 | |
970 | ||
971 | /* Define this if you have fputws() */ | |
972 | #define HAVE_FPUTWS 1 | |
b2ddee86 | 973 | |
1c2d1459 VZ |
974 | /* Define this if you have strcasecmp() function in <string.h> */ |
975 | #define HAVE_STRCASECMP_IN_STRING_H 1 | |
976 | ||
977 | /* Define this if you have strcasecmp() function in <strings.h> */ | |
978 | #undef HAVE_STRCASECMP_IN_STRINGS_H | |
979 | ||
b2ddee86 JJ |
980 | /* Define this if you have wprintf() and related functions */ |
981 | #define HAVE_WPRINTF 1 | |
982 | ||
983 | /* Define this if you have vswprintf() and related functions */ | |
984 | #define HAVE_VSWPRINTF 1 | |
985 | ||
1507adbb JJ |
986 | /* Define this if you have _vsnwprintf */ |
987 | #undef HAVE__VSNWPRINTF | |
988 | ||
68874acf JJ |
989 | /* Define this if you are using gtk and gdk contains support for X11R6 XIM */ |
990 | #undef HAVE_XIM | |
991 | ||
70a7bd90 | 992 | /* Define if fseeko and ftello are available. */ |
f2ba3822 JJ |
993 | #define HAVE_FSEEKO 1 |
994 | ||
995 | /* Define this is you have X11/extensions/shape.h */ | |
996 | #define HAVE_XSHAPE 1 | |
997 | ||
998 | /* Define this if you have type SPBCDATA */ | |
999 | #undef HAVE_SPBCDATA | |
1000 | ||
1001 | /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */ | |
1002 | #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE | |
1003 | ||
1004 | /* Define if you have Pango xft support */ | |
1005 | #undef HAVE_PANGO_XFT | |
70a7bd90 | 1006 | |
b2ddee86 JJ |
1007 | /* --------------------------------------------------------------------- |
1008 | Win32 adjustments section | |
1009 | --------------------------------------------------------------------- | |
1010 | */ | |
1011 | ||
1012 | #ifdef __WIN32__ | |
1013 | ||
1014 | /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil | |
1015 | with wx/msw/setup.h */ | |
1016 | #define wxUSE_XPM_IN_MSW wxUSE_XPM | |
1017 | ||
dbbd41ae JJ |
1018 | #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1 |
1019 | ||
b2ddee86 JJ |
1020 | #endif /* __WIN32__ */ |
1021 | ||
9e4e191a JJ |
1022 | /* --------------------------------------------------------* |
1023 | * This stuff is static, it doesn't get modified directly | |
1024 | * by configure. | |
1025 | */ | |
1026 | ||
1027 | #include "wx/chkconf.h" | |
1028 | ||
1029 | /* | |
1030 | define some constants identifying wxWindows version in more details t | |
1031 | just the version number | |
1032 | */ | |
1033 | ||
1034 | /* wxLogChain class available */ | |
1035 | #define wxHAS_LOG_CHAIN 1 | |
1036 | ||
1037 | /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ | |
1038 | #define wxHAS_WORKING_GTK_DC_BLIT 1 | |
1039 | ||
0db9d8d2 | 1040 | #endif /* __WX_SETUP_H__ */ |