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