]> git.saurik.com Git - wxWidgets.git/blob - setup.h.in
Whole lot of stuff for new wxFileDialog
[wxWidgets.git] / setup.h.in
1
2 /* This define (__WX_SETUP_H__) is used both to insure setup.h is included
3 * only once and to indicate that we are building using configure. */
4 #ifndef __WX_SETUP_H__
5 #define __WX_SETUP_H__
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11
12 /* Define to empty if the keyword does not work. */
13 #undef const
14
15 /* Define to `int' if <sys/types.h> doesn't define. */
16 #undef gid_t
17
18 /* Define if you don't have vprintf but do have _doprnt. */
19 #undef HAVE_DOPRNT
20
21 /* Define if you have the vprintf function. */
22 #undef HAVE_VPRINTF
23
24 /* Define as __inline if that's what the C compiler calls it. */
25 #undef inline
26
27 /* Define to `int' if <sys/types.h> doesn't define. */
28 #undef mode_t
29
30 /* Define to `long' if <sys/types.h> doesn't define. */
31 #undef off_t
32
33 /* Define to `int' if <sys/types.h> doesn't define. */
34 #undef pid_t
35
36 /* Define to `unsigned' if <sys/types.h> doesn't define. */
37 #undef size_t
38
39 /* Define if you have the ANSI C header files. */
40 #undef STDC_HEADERS
41
42 /* Define to `int' if <sys/types.h> doesn't define. */
43 #undef uid_t
44
45 /* Define if your processor stores words with the most significant
46 byte first (like Motorola and SPARC, unlike Intel and VAX). */
47 #undef WORDS_BIGENDIAN
48
49 /* Define if the X Window System is missing or not being used. */
50 #undef X_DISPLAY_MISSING
51
52 /* Define if lex declares yytext as a char * by default, not a char[]. */
53 #undef YYTEXT_POINTER
54
55 #undef __WXGTK12__
56
57 /*
58 * Define to 1 for Unix[-like] system
59 */
60 #define wxUSE_UNIX 0
61
62 #undef __UNIX__
63 #undef __LINUX__
64 #undef __SGI__
65 #undef __HPUX__
66 #undef __SYSV__
67 #undef __SVR4__
68 #undef __AIX__
69 #undef __SUN__
70 #undef __SOLARIS__
71 #undef __SUNOS__
72 #undef __ALPHA__
73 #undef __OSF__
74 #undef __BSD__
75 #undef __FREEBSD__
76 #undef __VMS__
77 #undef __ULTRIX__
78 #undef __DATA_GENERAL__
79 #undef __EMX__
80 #undef _GNU_SOURCE
81
82 #undef __WINDOWS__
83 #undef __WIN95__
84 #undef __WIN32__
85 #undef __GNUWIN32__
86 #undef WINVER
87
88 /*
89 * Supports bool type
90 */
91 #undef HAVE_BOOL
92
93 /*
94 * Use zlib
95 */
96 #define wxUSE_ZLIB 0
97 /*
98 * Use libpng
99 */
100 #define wxUSE_LIBPNG 0
101 /*
102 * Use libjpeg
103 */
104 #define wxUSE_LIBJPEG 0
105 /*
106 * Use libgif
107 */
108 #define wxUSE_LIBGIF 0
109 /*
110 * Use iODBC
111 */
112 #define wxUSE_ODBC 0
113 /*
114 * Use Threads
115 */
116 #define wxUSE_THREADS 0
117 /*
118 * Have glibc2
119 */
120 #define wxHAVE_GLIBC2 0
121 /*
122 * Use libXpm
123 */
124 #define wxHAVE_LIB_XPM 0
125 /*
126 * Use OpenGL
127 */
128 #define wxUSE_OPENGL 0
129
130 /*
131 * Use GUI
132 */
133 #define wxUSE_GUI 1
134 /*
135 * Defined if !wxUSE_GUI
136 */
137 #undef wxUSE_NOGUI
138
139 /*
140 * Use constraints mechanism
141 */
142 #define wxUSE_CONSTRAINTS 0
143
144 /*
145 * Use validators
146 */
147 #define wxUSE_VALIDATORS 0
148
149 /*
150 * Use accelerators
151 */
152 #define wxUSE_ACCEL 0
153
154 /*
155 * Use wxTextEntryDialog
156 */
157 #define wxUSE_TEXTDLG 0
158
159 /*
160 * Use startup tips
161 */
162 #define wxUSE_STARTUP_TIPS 0
163
164 /*
165 * Use progress dialog
166 */
167 #define wxUSE_PROGRESSDLG 0
168
169 /*
170 * Use directory chooser dialog
171 */
172 #define wxUSE_DIRDLG 0
173
174 /*
175 * Joystick support (Linux/GTK only)
176 */
177 #define wxUSE_JOYSTICK 0
178
179 /*
180 * Use this control
181 */
182 #define wxUSE_CARET 0
183 /*
184 * Use this control
185 */
186 #define wxUSE_BMPBUTTON 0
187 /*
188 * Use this control
189 */
190 #define wxUSE_CHECKBOX 0
191 /*
192 * Use this control
193 */
194 #define wxUSE_CHECKLISTBOX 0
195 /*
196 * Use this control
197 */
198 #define wxUSE_COMBOBOX 0
199 /*
200 * Use this control
201 */
202 #define wxUSE_CHOICE 0
203 /*
204 * Use this control
205 */
206 #define wxUSE_GAUGE 0
207 /*
208 * Use this control
209 */
210 #define wxUSE_GRID 0
211 /*
212 * Use this control
213 */
214 #define wxUSE_IMAGLIST 0
215 /*
216 * Use this control
217 */
218 #define wxUSE_LISTBOX 0
219 /*
220 * Use this control
221 */
222 #define wxUSE_LISTCTRL 0
223 /*
224 * Use this control
225 */
226 #define wxUSE_NOTEBOOK 0
227 /*
228 * Use this control
229 */
230 #define wxUSE_RADIOBOX 0
231 /*
232 * Use this control
233 */
234 #define wxUSE_RADIOBTN 0
235 /*
236 * Use this control
237 */
238 #define wxUSE_SASH 0
239 /*
240 * Use this control
241 */
242 #define wxUSE_SCROLLBAR 0
243 /*
244 * Use this control
245 */
246 #define wxUSE_SLIDER 0
247 /*
248 * Use this control
249 */
250 #define wxUSE_SPINBTN 0
251 /*
252 * Use this control
253 */
254 #define wxUSE_SPLITTER 0
255 /*
256 * Use this control
257 */
258 #define wxUSE_STATBMP 0
259 /*
260 * Use this control
261 */
262 #define wxUSE_STATBOX 0
263 /*
264 * Use this control
265 */
266 #define wxUSE_STATLINE 0
267 /*
268 * Use this control
269 */
270 #define wxUSE_STATUSBAR 0
271 /*
272 * Use Tab dialog class - obsolete, use wxNotebook instead
273 */
274 #define wxUSE_TAB_DIALOG 0
275 /* compatibility */
276 #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
277 /*
278 * Use this control
279 */
280 #define wxUSE_TOOLBAR 0
281
282 #if defined(__WXWINE__) || defined(__GNUWIN32__)
283 #if wxUSE_TOOLBAR
284 #define wxUSE_BUTTONBAR 1
285 #endif
286 #endif
287
288 /*
289 * Use this control
290 */
291 #define wxUSE_TREECTRL 0
292
293 /*
294 * Use wxLongLong (a.k.a. int64) class
295 */
296 #define wxUSE_LONGLONG 0
297
298 /*
299 * Use wxFile class
300 */
301 #define wxUSE_FILE 0
302 /*
303 * Use wxTextFile class
304 */
305 #define wxUSE_TEXTFILE 0
306 /*
307 * Use log classes and logging functions
308 */
309 #define wxUSE_LOG 0
310 /*
311 * Use time and date classes
312 */
313 #define wxUSE_TIMEDATE 0
314 /*
315 * Use wave class
316 */
317 #define wxUSE_WAVE 0
318 /*
319 * Use config system
320 */
321 #define wxUSE_CONFIG 0
322 /*
323 * Use intl system
324 */
325 #define wxUSE_INTL 0
326 /*
327 * Use streams
328 */
329 #define wxUSE_STREAMS 0
330 /*
331 * Use class serialization
332 */
333 #define wxUSE_SERIAL 0
334 /*
335 * Use sockets
336 */
337 #define wxUSE_SOCKETS 0
338 /*
339 * Use standard C++ streams if 1. If 0, use wxWin
340 * streams implementation.
341 */
342 #define wxUSE_STD_IOSTREAM 0
343 /*
344 * wxLibrary class
345 */
346 #define wxUSE_DYNLIB_CLASS 0
347
348 /*
349 * 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 * Compile wxString with wide character (Unicode) support?
365 */
366 #define wxUSE_UNICODE 0
367
368 /*
369 * Work around a bug in GNU libc 5.x wcstombs() implementation.
370 *
371 * Note that you must link your programs with libc.a if you enable this and you
372 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
373 * thread-safe version of wcstombs()).
374 */
375 #define wxUSE_WCSRTOMBS 0
376
377 /*
378 * On some platforms overloading on size_t/int doesn't work, yet we'd like
379 * to define both size_t and int version of wxString::operator[] because it
380 * should really be size_t, but a lot of old, broken code uses int indices.
381 */
382 #define wxUSE_SIZE_T_STRING_OPERATOR 0
383
384 /*
385 * Use the new experimental implementation of wxString::Printf()?
386 *
387 * Warning: enabling this may cause internal compiler errors with gcc!
388 */
389 #define wxUSE_EXPERIMENTAL_PRINTF 0
390
391 /*
392 * Use Interprocess communication
393 */
394 #define wxUSE_IPC 0
395 /*
396 * Use wxGetResource & wxWriteResource (change .Xdefaults)
397 */
398 #define wxUSE_X_RESOURCES 0
399 /*
400 * Use clipboard
401 */
402 #define wxUSE_CLIPBOARD 0
403 /*
404 * Use tooltips
405 */
406 #define wxUSE_TOOLTIPS 0
407 /*
408 * Use dnd
409 */
410 #define wxUSE_DRAG_AND_DROP 0
411 /*
412 * Use spline
413 */
414 #define wxUSE_SPLINES 0
415 /*
416 * Use wxLibrary class
417 */
418 #define wxUSE_DYNLIB_CLASS 0
419
420 /*
421 * Use the mdi architecture
422 */
423 #define wxUSE_MDI_ARCHITECTURE 0
424 /*
425 * Use the document/view architecture
426 */
427 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
428 /*
429 * Use the print/preview architecture
430 */
431 #define wxUSE_PRINTING_ARCHITECTURE 0
432
433 /*
434 * Use Prolog IO
435 */
436 #define wxUSE_PROLOGIO 0
437 /*
438 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
439 */
440 #define wxUSE_RESOURCES 0
441
442 /* for compatibility */
443 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
444
445 /*
446 * Use wxWindows help facility (needs wxUSE_IPC 1)
447 */
448 #define wxUSE_HELP 0
449 /*
450 * Use iostream.h rather than iostream
451 */
452 #define wxUSE_IOSTREAMH 0
453 /*
454 * Use Apple Ieee-double converter
455 */
456 #define wxUSE_APPLE_IEEE 0
457 /*
458 * Compatibility with 1.66 API.
459 * Level 0: no backward compatibility, all new features
460 * Level 1: wxDC, OnSize (etc.) compatibility, but
461 * some new features such as event tables
462 */
463 #define WXWIN_COMPATIBILITY 0
464 /*
465 * Compatibility with 2.0 API.
466 */
467 #define WXWIN_COMPATIBILITY_2 1
468 /*
469 * Enables debugging: memory tracing, assert, etc., contains debug level
470 */
471 #define WXDEBUG 0
472 /*
473 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
474 * WARNING: this code may not work with all architectures, especially
475 * if alignment is an issue.
476 */
477 #define wxUSE_MEMORY_TRACING 0
478 /*
479 * Enable debugging version of global memory operators new and delete
480 * Disable it, If this causes problems (e.g. link errors)
481 */
482 #define wxUSE_DEBUG_NEW_ALWAYS 0
483 /*
484 * VZ: What does this one do? (FIXME)
485 */
486 #define wxUSE_DEBUG_CONTEXT 0
487 /*
488 * In debug mode, causes new to be defined to
489 * be WXDEBUG_NEW (see object.h). If this causes
490 * problems (e.g. link errors), set this to 0.
491 */
492 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
493 /*
494 * Matthews garbage collection (used for MrEd?)
495 */
496 #define WXGARBAGE_COLLECTION_ON 0
497 /*
498 * Use splines
499 */
500 #define wxUSE_SPLINES 0
501 /*
502 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
503 */
504 #define wxUSE_DYNAMIC_CLASSES 1
505
506 /*
507 * Support for metafiles
508 */
509 #define wxUSE_METAFILE 0
510
511 /*
512 * wxMiniFrame
513 */
514 #define wxUSE_MINIFRAME 0
515
516 /*
517 * wxHTML
518 */
519 #define wxUSE_HTML 0
520
521 /*
522 * (virtual) filesystems code
523 */
524 #define wxUSE_FS_INET 0
525 #define wxUSE_FS_ZIP 0
526
527 /*
528 * A class that shows info window when app is busy
529 * (works exactly like wxBusyCursor)
530 */
531 #define wxUSE_BUSYINFO 0
532
533 /*
534 * Zip stream for accessing files stored inside .zip archives
535 */
536 #define wxUSE_ZIPSTREAM 0
537
538
539 /*
540 * Disable this if your compiler can't cope
541 * with omission of prototype parameters.
542 */
543 #define REMOVE_UNUSED_ARG 1
544 /*
545 * The const keyword is being introduced more in wxWindows.
546 * You can use this setting to maintain backward compatibility.
547 * If 0: will use const wherever possible.
548 * If 1: will use const only where necessary
549 * for precompiled headers to work.
550 * If 2: will be totally backward compatible, but precompiled
551 * headers may not work and program size will be larger.
552 */
553 #define CONST_COMPATIBILITY 0
554
555 /* The type of 3rd argument to getsockname() - usually size_t or int */
556 #undef SOCKLEN_T
557
558 /* Define if you have dlopen() */
559 #undef HAVE_DLOPEN
560
561 /* Define if you have nanosleep() */
562 #undef HAVE_NANOSLEEP
563
564 /* Define if you have sched_yield */
565 #undef HAVE_SCHED_YIELD
566
567 /* Define if you have pthread_cancel */
568 #undef HAVE_PTHREAD_CANCEL
569
570 /* Define if you have all functions to set thread priority */
571 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
572
573 /* Define if you can specify exit functions to a thread */
574 #undef HAVE_THREAD_CLEANUP_FUNCTIONS
575
576 /* Define if you have shl_load() */
577 #undef HAVE_SHL_LOAD
578
579 /* Define if you have vsnprintf() */
580 #undef HAVE_VSNPRINTF
581
582 /* Define if you have usleep() */
583 #undef HAVE_USLEEP
584
585 /* Define if you have wcslen function */
586 #undef HAVE_WCSLEN
587
588 /* define if you have vsscanf function */
589 #undef HAVE_VSSCANF
590
591 /* The number of bytes in a char. */
592 #undef SIZEOF_CHAR
593
594 /* The number of bytes in a int. */
595 #undef SIZEOF_INT
596
597 /* The number of bytes in a int *. */
598 #undef SIZEOF_INT_P
599
600 /* The number of bytes in a long. */
601 #undef SIZEOF_LONG
602
603 /* The number of bytes in a long long. */
604 #undef SIZEOF_LONG_LONG
605
606 /* The number of bytes in a short. */
607 #undef SIZEOF_SHORT
608
609 /* Define if you have the dlopen function. */
610 #undef HAVE_DLOPEN
611
612 /* Define if you have the gethostname function. */
613 #undef HAVE_GETHOSTNAME
614
615 /* Define if you have the inet_addr function. */
616 #undef HAVE_INET_ADDR
617
618 /* Define if you have the inet_aton function. */
619 #undef HAVE_INET_ATON
620
621 /* Define if you have the nanosleep function. */
622 #undef HAVE_NANOSLEEP
623
624 /* Define if you have the shl_load function. */
625 #undef HAVE_SHL_LOAD
626
627 /* Define if you have the uname function. */
628 #undef HAVE_UNAME
629
630 /* Define if you have the usleep function. */
631 #undef HAVE_USLEEP
632
633 /* Define if you have the vfork function. */
634 #undef HAVE_VFORK
635
636 /* Define if you have the vsnprintf function. */
637 #undef HAVE_VSNPRINTF
638
639 /* Define if you have the <X11/XKBlib.h> header file. */
640 #undef HAVE_X11_XKBLIB_H
641
642 /* Define if you have the <fnmatch.h> header file. */
643 #undef HAVE_FNMATCH_H
644
645 /* Define if you have the <iostream> header file. */
646 #undef HAVE_IOSTREAM
647
648 /* Define if you have the <linux/joystick.h> header file. */
649 #undef HAVE_LINUX_JOYSTICK_H
650
651 /* Define if you have the <sched.h> header file. */
652 #undef HAVE_SCHED_H
653
654 /* Define if you have the <strings.h> header file. */
655 #undef HAVE_STRINGS_H
656
657 /* Define if you have the <unistd.h> header file. */
658 #undef HAVE_UNISTD_H
659
660 /* Define if you have the <wchar.h> header file. */
661 #undef HAVE_WCHAR_H
662
663 /* Define if you have the <wcstr.h> header file. */
664 #undef HAVE_WCSTR_H
665
666 #endif /* __WX_SETUP_H__ */