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