]> git.saurik.com Git - wxWidgets.git/blame - src/gtk/setup/setup.hin
GTK
[wxWidgets.git] / src / gtk / setup / setup.hin
CommitLineData
c801d85f
KB
1/* wx_setup.h
2 This file is in the public domain.
3
4 Descriptive text for the C preprocessor macros that
5 the distributed Autoconf macros can define.
6 No software package will use all of them; autoheader copies the ones
7 your configure.in uses into your configuration header file templates.
8
9 The entries are in sort -df order: alphabetical, case insensitive,
10 ignoring punctuation (such as underscores). Although this order
11 can split up related entries, it makes it easier to check whether
12 a given entry is in the file.
13
14 Leave the following blank line there!! Autoheader needs it. */
15\f
16#ifndef __GTKSETUPH__
17#define __GTKSETUPH__
18
19#ifdef __GNUG__
20#pragma interface
21#endif
22
23/* define the system to compile */
24#undef __GTK__
25#undef __UNIX__
26#undef __LINUX__
27#undef __SGI__
28#undef __HPUX__
29#undef __SYSV__
30#undef __SVR4__
31#undef __AIX__
32#undef __SUN__
33#undef __SOLARIS__
34#undef __SUNOS__
35#undef __ALPHA__
36#undef __OSF__
37#undef __BSD__
38#undef __FREEBSD__
39#undef __VMS__
40#undef __ULTRIX__
41#undef __DATA_GENERAL__
42
43/*
44 * Use zlib
45 */
46#undef USE_ZLIB
47/*
48 * Use gdk_imlib
49 */
50#undef USE_GDK_IMLIB
51/*
52 * Use libpng
53 */
54#undef USE_LIBPNG
55/*
56 * Use Threads
57 */
58#undef USE_THREADS
59#undef USE_THREADS_POSIX
60#undef USE_THREADS_SGI
61/*
62 * Use storable classes
63 */
64#undef USE_STORABLE_CLASSES
65/*
66 * Use automatic translation via gettext() in wxTString
67 */
68#undef USE_AUTOTRANS
69/*
70 * Use font metric files in GetTextExtent for wxPostScriptDC
71 * Use consistent PostScript fonts for AFM and printing (!)
72 */
73#undef USE_AFM_FOR_POSTSCRIPT
74#undef WX_NORMALIZED_PS_FONTS
75/*
76 * Use clipboard
77 */
78#undef USE_CLIPBOARD
79/*
80 * Use wxWindows layout constraint system
81 */
82#undef USE_CONSTRAINTS
83/*
84 * Use the document/view architecture
85 */
86#undef USE_DOC_VIEW_ARCHITECTURE
87/*
88 * Use enhanced dialog
89 */
90#undef USE_ENHANCED_DIALOG
91/*
92 * Use Form panel item placement
93 */
94#undef USE_FORM
95/*
96 * Use fraction class
97 */
98#undef USE_FRACTION
99/*
100 * Use gauge item
101 */
102#undef USE_GAUGE
103/*
104 * Implement a GLCanvas class as an interface to OpenGL, using the GLX
105 * extension to the X11 protocol. You can use the (free) Mesa library
106 * if you don't have a 'real' OpenGL.
107 */
108#undef USE_GLX
109/*
110 * Use wxWindows help facility (needs USE_IPC 1)
111 */
112#undef USE_HELP
113/*
114 * Use iostream.h rather than iostream
115 */
116#undef USE_IOSTREAMH
117/*
118 * Use Interprocess communication
119 */
120#undef USE_IPC
121/*
122 * Use Metafile and Metafile device context
123 */
124#undef USE_METAFILE
125/*
126 * Use PostScript device context
127 */
128#undef USE_POSTSCRIPT
129/*
130 * Use the print/preview architecture
131 */
132#undef USE_PRINTING_ARCHITECTURE
133/*
134 * Use Prolog IO
135 */
136#undef USE_PROLOGIO
137/*
138 * Use Remote Procedure Call (Needs USE_IPC and USE_PROLOGIO)
139 */
140#undef USE_RPC
141/*
142 * Use wxGetResource & wxWriteResource (change .Xdefaults)
143 */
144#undef USE_RESOURCES
145/*
146 * Use scrollbar item
147 */
148#undef USE_SCROLLBAR
149/*
150 * Use time and date classes
151 */
152#undef USE_TIMEDATE
153/*
154 * Use toolbar, use Xt port toolbar (3D look)
155 */
156#undef USE_TOOLBAR
157#undef USE_XT_TOOLBAR
158/*
159 * Enables old type checking mechanism (wxSubType)
160 */
161#undef USE_TYPETREE
162/*
163 * Use virtual list box item
164 */
165#undef USE_VLBOX
166/*
167 * Use wxWindows resource loading (.wxr-files) (Needs USE_PROLOGIO 1)
168 */
169#undef USE_WX_RESOURCES
170/*
171 * Use wxGraph
172 */
173#undef USE_WXGRAPH
174/*
175 * Use wxTree
176 */
177
178/********************** DO NOT CHANGE BELOW THIS POINT **********************/
179
180/**************************** DEBUGGING FEATURES ****************************/
181
182/* Compatibility with 1.66 API.
183 Level 0: no backward compatibility, all new features
184 Level 1: wxDC, OnSize (etc.) compatibility, but
185 some new features such as event tables */
186#define WXWIN_COMPATIBILITY 1
187/*
188 * Enables debugging: memory tracing, assert, etc.
189 */
190#undef DEBUG
191/*
192 * Enables debugging version of wxObject::new and wxObject::delete (IF DEBUG)
193 * WARNING: this code may not work with all architectures, especially
194 * if alignment is an issue.
195 */
196#undef USE_MEMORY_TRACING
197/*
198 * Enable debugging version of global memory operators new and delete
199 * Disable it, If this causes problems (e.g. link errors)
200 */
201#undef USE_GLOBAL_MEMORY_OPERATORS
202/*
203 * If WXDEBUG && USE_MEMORY_TRACING && USE_GLOBAL_MEMORY_OPERATORS
204 * used to debug the memory allocation of wxWindows Xt port code
205 */
206#define USE_INTERNAL_MEMORY_TRACING 0
207/*
208 * Matthews garbage collection (used for MrEd?)
209 */
210#define WXGARBAGE_COLLECTION_ON 0
211
212/**************************** COMPILER FEATURES *****************************/
213
214/*
215 * Disable this if your compiler can't cope
216 * with omission of prototype parameters.
217 */
218#define REMOVE_UNUSED_ARG 1
219/*
220 * The const keyword is being introduced more in wxWindows.
221 * You can use this setting to maintain backward compatibility.
222 * If 0: will use const wherever possible.
223 * If 1: will use const only where necessary
224 * for precompiled headers to work.
225 * If 2: will be totally backward compatible, but precompiled
226 * headers may not work and program size will be larger.
227 */
228#define CONST_COMPATIBILITY 0
229
230/************************ WINDOWS 3.1 COMPATIBILITY *************************/
231
232/*
233 * Normalize X drawing code to behave exactly as MSW.
234 */
235#define WX_STANDARD_GRAPHICS 0
236
237/******************* other stuff **********************************/
238/*
239 * Support image loading for wxBitmap (wxImage is needed for this)
240 */
241#define USE_IMAGE_LOADING 0
242#define WXIMAGE_INCLUDE "../../utils/image/src/wx_image.h"
243/*
244 * Use splines
245 */
246#define USE_SPLINES 1
247
248/*
249 * USE_DYNAMIC_CLASSES is TRUE for the Xt port
250 */
251#define USE_DYNAMIC_CLASSES 1
252/*
253 * USE_EXTENDED_STATICS is FALSE for the Xt port
254*/
255#define USE_EXTENDED_STATICS 0
256
257/*************************** IMAKEFILE EVALUATIOS ***************************/
258
259#if USE_XPM
260 #define USE_XPM_IN_X 1
261#else
262 #define USE_XPM_IN_X 0
263#endif
264#if USE_IMAGE_LOADING
265 #define USE_IMAGE_LOADING_IN_X 1
266#else
267 #define USE_IMAGE_LOADING_IN_X 0
268#endif
269
270/* here comes the system-specific stuff */
271
272/* acconfig.h
273 This file is in the public domain.
274
275 Descriptive text for the C preprocessor macros that
276 the distributed Autoconf macros can define.
277 No software package will use all of them; autoheader copies the ones
278 your configure.in uses into your configuration header file templates.
279
280 The entries are in sort -df order: alphabetical, case insensitive,
281 ignoring punctuation (such as underscores). Although this order
282 can split up related entries, it makes it easier to check whether
283 a given entry is in the file. */
284
285/* Define if on AIX 3.
286 System headers sometimes define this.
287 We just want to avoid a redefinition error message. */
288#ifndef _ALL_SOURCE
289#undef _ALL_SOURCE
290#endif
291
292/* Define if using alloca.c. */
293#undef C_ALLOCA
294
295/* Define if type char is unsigned and you are not using gcc. */
296#ifndef __CHAR_UNSIGNED__
297#undef __CHAR_UNSIGNED__
298#endif
299
300/* Define if the closedir function returns void instead of int. */
301#undef CLOSEDIR_VOID
302
303/* Define to empty if the keyword does not work. */
304#undef const
305
306/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
307 This function is required for alloca.c support on those systems. */
308#undef CRAY_STACKSEG_END
309
310/* Define for DGUX with <sys/dg_sys_info.h>. */
311#undef DGUX
312
313/* Define if you have <dirent.h>. */
314#undef DIRENT
315
316/* Define to the type of elements in the array set by `getgroups'.
317 Usually this is either `int' or `gid_t'. */
318#undef GETGROUPS_T
319
320/* Define if the `getloadavg' function needs to be run setuid or setgid. */
321#undef GETLOADAVG_PRIVILEGED
322
323/* Define if the `getpgrp' function takes no argument. */
324#undef GETPGRP_VOID
325
326/* Define to `int' if <sys/types.h> doesn't define. */
327#undef gid_t
328
329/* Define if you have alloca, as a function or macro. */
330#undef HAVE_ALLOCA
331
332/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
333#undef HAVE_ALLOCA_H
334
335/* Define if you don't have vprintf but do have _doprnt. */
336#undef HAVE_DOPRNT
337
338/* Define if your system has its own `getloadavg' function. */
339#undef HAVE_GETLOADAVG
340
341/* Define if you have the getmntent function. */
342#undef HAVE_GETMNTENT
343
344/* Define if the `long double' type works. */
345#undef HAVE_LONG_DOUBLE
346
347/* Define if you support file names longer than 14 characters. */
348#undef HAVE_LONG_FILE_NAMES
349
350/* Define if you have a working `mmap' system call. */
351#undef HAVE_MMAP
352
353/* Define if system calls automatically restart after interruption
354 by a signal. */
355#undef HAVE_RESTARTABLE_SYSCALLS
356
357/* Define if your struct stat has st_blksize. */
358#undef HAVE_ST_BLKSIZE
359
360/* Define if your struct stat has st_blocks. */
361#undef HAVE_ST_BLOCKS
362
363/* Define if you have the strcoll function and it is properly defined. */
364#undef HAVE_STRCOLL
365
366/* Define if your struct stat has st_rdev. */
367#undef HAVE_ST_RDEV
368
369/* Define if you have the strftime function. */
370#undef HAVE_STRFTIME
371
372/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
373#undef HAVE_SYS_WAIT_H
374
375/* Define if your struct tm has tm_zone. */
376#undef HAVE_TM_ZONE
377
378/* Define if you don't have tm_zone but do have the external array
379 tzname. */
380#undef HAVE_TZNAME
381
382/* Define if you have <unistd.h>. */
383#undef HAVE_UNISTD_H
384
385/* Define if utime(file, NULL) sets file's timestamp to the present. */
386#undef HAVE_UTIME_NULL
387
388/* Define if you have <vfork.h>. */
389#undef HAVE_VFORK_H
390
391/* Define if you have the vprintf function. */
392#undef HAVE_VPRINTF
393
394/* Define if you have the wait3 system call. */
395#undef HAVE_WAIT3
396
397/* Define as __inline if that's what the C compiler calls it. */
398#ifndef __cplusplus
399#undef inline
400#endif
401
402/* Define if major, minor, and makedev are declared in <mkdev.h>. */
403#undef MAJOR_IN_MKDEV
404
405/* Define if major, minor, and makedev are declared in <sysmacros.h>. */
406#undef MAJOR_IN_SYSMACROS
407
408/* Define if on MINIX. */
409#undef _MINIX
410
411/* Define to `int' if <sys/types.h> doesn't define. */
412#undef mode_t
413
414/* Define if you don't have <dirent.h>, but have <ndir.h>. */
415#undef NDIR
416
417/* Define if you have <memory.h>, and <string.h> doesn't declare the
418 mem* functions. */
419#undef NEED_MEMORY_H
420
421/* Define if your struct nlist has an n_un member. */
422#undef NLIST_NAME_UNION
423
424/* Define if you have <nlist.h>. */
425#undef NLIST_STRUCT
426
427/* Define if your C compiler doesn't accept -c and -o together. */
428#undef NO_MINUS_C_MINUS_O
429
430/* Define to `long' if <sys/types.h> doesn't define. */
431#undef off_t
432
433/* Define to `int' if <sys/types.h> doesn't define. */
434#undef pid_t
435
436/* Define if the system does not provide POSIX.1 features except
437 with this defined. */
438#undef _POSIX_1_SOURCE
439
440/* Define if you need to in order for stat and other things to work. */
441#undef _POSIX_SOURCE
442
443/* Define as the return type of signal handlers (int or void). */
444#undef RETSIGTYPE
445
446/* Define if the setvbuf function takes the buffering type as its second
447 argument and the buffer pointer as the third, as on System V
448 before release 3. */
449#undef SETVBUF_REVERSED
450
451/* Define SIZESOF for some Objects */
452#undef SIZEOF_INT
453#undef SIZEOF_INT_P
454#undef SIZEOF_LONG
455
456/* Define to `unsigned' if <sys/types.h> doesn't define. */
457#undef size_t
458
459/* If using the C implementation of alloca, define if you know the
460 direction of stack growth for your system; otherwise it will be
461 automatically deduced at run-time.
462 STACK_DIRECTION > 0 => grows toward higher addresses
463 STACK_DIRECTION < 0 => grows toward lower addresses
464 STACK_DIRECTION = 0 => direction of growth unknown
465 */
466#undef STACK_DIRECTION
467
468/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
469#undef STAT_MACROS_BROKEN
470
471/* Define if you have the ANSI C header files. */
472#undef STDC_HEADERS
473
474/* Define on System V Release 4. */
475#undef SVR4
476
477/* Define on BSD */
478#undef BSD
479
480/* Define on System V */
481#undef SYSV
482
483/* Define if you don't have <dirent.h>, but have <sys/dir.h>. */
484#undef SYSDIR
485
486/* Define if you don't have <dirent.h>, but have <sys/ndir.h>. */
487#undef SYSNDIR
488
489/* Define if `sys_siglist' is declared by <signal.h>. */
490#undef SYS_SIGLIST_DECLARED
491
492/* Define if you can safely include both <sys/time.h> and <time.h>. */
493#undef TIME_WITH_SYS_TIME
494
495/* Define if your <sys/time.h> declares struct tm. */
496#undef TM_IN_SYS_TIME
497
498/* Define to `int' if <sys/types.h> doesn't define. */
499#undef uid_t
500
501/* Define for Encore UMAX. */
502#undef UMAX
503
504/* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
505 instead of <sys/cpustats.h>. */
506#undef UMAX4_3
507
508/* Define if you do not have <strings.h>, index, bzero, etc.. */
509#undef USG
510
511/* Define if the system is System V Release 4 */
512#undef SVR4
513
514/* Define vfork as fork if vfork does not work. */
515#undef vfork
516
517/* Define if the closedir function returns void instead of int. */
518#undef VOID_CLOSEDIR
519
520/* Define if your processor stores words with the most significant
521 byte first (like Motorola and SPARC, unlike Intel and VAX). */
522#undef WORDS_BIGENDIAN
523
524/* Define if lex declares yytext as a char * by default, not a char[]. */
525#undef YYTEXT_POINTER
526
527#endif /* __GTKSETUPH__ */
528
529\f
530/* Leave that blank line there!! Autoheader needs it.
531 If you're adding to this file, keep in mind:
532 The entries are in sort -df order: alphabetical, case insensitive,
533 ignoring punctuation (such as underscores). */