]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/setup.h
1 /* ../../include/wx/gtk/setup.h. Generated automatically by configure. */
3 This file is in the public domain.
5 Descriptive text for the C preprocessor macros that
6 the distributed Autoconf macros can define.
7 No software package will use all of them; autoheader copies the ones
8 your configure.in uses into your configuration header file templates.
10 The entries are in sort -df order: alphabetical, case insensitive,
11 ignoring punctuation (such as underscores). Although this order
12 can split up related entries, it makes it easier to check whether
13 a given entry is in the file.
15 Leave the following blank line there!! Autoheader needs it. */
24 /* define the system to compile */
34 /* #undef __SOLARIS__ */
35 /* #undef __SUNOS__ */
36 /* #undef __ALPHA__ */
39 /* #undef __FREEBSD__ */
41 /* #undef __ULTRIX__ */
42 /* #undef __DATA_GENERAL__ */
51 #define USE_GDK_IMLIB 1
59 /* #undef USE_THREADS */
60 /* #undef USE_THREADS_POSIX */
61 /* #undef USE_THREADS_SGI */
63 * Use storable classes
65 #define USE_STORABLE_CLASSES 1
67 * Use automatic translation via gettext() in wxTString
69 #define USE_AUTOTRANS 1
71 * Use font metric files in GetTextExtent for wxPostScriptDC
72 * Use consistent PostScript fonts for AFM and printing (!)
74 #define USE_AFM_FOR_POSTSCRIPT 1
75 #define WX_NORMALIZED_PS_FONTS 1
79 /* #undef USE_CLIPBOARD */
81 * Use wxWindows layout constraint system
83 #define USE_CONSTRAINTS 1
85 * Use the document/view architecture
87 #define USE_DOC_VIEW_ARCHITECTURE 1
91 /* #undef USE_ENHANCED_DIALOG */
93 * Use Form panel item placement
99 #define USE_FRACTION 1
105 * Implement a GLCanvas class as an interface to OpenGL, using the GLX
106 * extension to the X11 protocol. You can use the (free) Mesa library
107 * if you don't have a 'real' OpenGL.
111 * Use wxWindows help facility (needs USE_IPC 1)
113 /* #undef USE_HELP */
115 * Use iostream.h rather than iostream
117 #define USE_IOSTREAMH 1
119 * Use Interprocess communication
123 * Use Metafile and Metafile device context
125 /* #undef USE_METAFILE */
127 * Use PostScript device context
129 #define USE_POSTSCRIPT 1
131 * Use the print/preview architecture
133 #define USE_PRINTING_ARCHITECTURE 1
137 /* #undef USE_PROLOGIO */
139 * Use Remote Procedure Call (Needs USE_IPC and USE_PROLOGIO)
143 * Use wxGetResource & wxWriteResource (change .Xdefaults)
145 #define USE_RESOURCES 1
149 #define USE_SCROLLBAR 1
151 * Use time and date classes
153 #define USE_TIMEDATE 1
155 * Use toolbar, use Xt port toolbar (3D look)
157 #define USE_TOOLBAR 1
158 #define USE_XT_TOOLBAR
160 * Enables old type checking mechanism (wxSubType)
162 /* #undef USE_TYPETREE */
164 * Use virtual list box item
166 /* #undef USE_VLBOX */
168 * Use wxWindows resource loading (.wxr-files) (Needs USE_PROLOGIO 1)
170 #define USE_WX_RESOURCES 1
174 /* #undef USE_WXGRAPH */
180 * Use wxConfig profile management classes (wxFileConfig only under Unix)
182 #define USE_WXCONFIG 1
184 /********************** DO NOT CHANGE BELOW THIS POINT **********************/
186 /**************************** DEBUGGING FEATURES ****************************/
188 /* Compatibility with 1.66 API.
189 Level 0: no backward compatibility, all new features
190 Level 1: wxDC, OnSize (etc.) compatibility, but
191 some new features such as event tables */
192 #define WXWIN_COMPATIBILITY 1
194 * Enables debugging: memory tracing, assert, etc.
198 * Enables debugging version of wxObject::new and wxObject::delete (IF DEBUG)
199 * WARNING: this code may not work with all architectures, especially
200 * if alignment is an issue.
202 /* #undef USE_MEMORY_TRACING */
204 * Enable debugging version of global memory operators new and delete
205 * Disable it, If this causes problems (e.g. link errors)
207 /* #undef USE_GLOBAL_MEMORY_OPERATORS */
209 * If WXDEBUG && USE_MEMORY_TRACING && USE_GLOBAL_MEMORY_OPERATORS
210 * used to debug the memory allocation of wxWindows Xt port code
212 #define USE_INTERNAL_MEMORY_TRACING 0
214 * Matthews garbage collection (used for MrEd?)
216 #define WXGARBAGE_COLLECTION_ON 0
218 /**************************** COMPILER FEATURES *****************************/
221 * Disable this if your compiler can't cope
222 * with omission of prototype parameters.
224 #define REMOVE_UNUSED_ARG 1
226 * The const keyword is being introduced more in wxWindows.
227 * You can use this setting to maintain backward compatibility.
228 * If 0: will use const wherever possible.
229 * If 1: will use const only where necessary
230 * for precompiled headers to work.
231 * If 2: will be totally backward compatible, but precompiled
232 * headers may not work and program size will be larger.
234 #define CONST_COMPATIBILITY 0
236 /************************ WINDOWS 3.1 COMPATIBILITY *************************/
239 * Normalize X drawing code to behave exactly as MSW.
241 #define WX_STANDARD_GRAPHICS 0
243 /******************* other stuff **********************************/
245 * Support image loading for wxBitmap (wxImage is needed for this)
247 #define USE_IMAGE_LOADING 0
248 #define WXIMAGE_INCLUDE "../../utils/image/src/wx_image.h"
252 #define USE_SPLINES 1
255 * USE_DYNAMIC_CLASSES is TRUE for the Xt port
257 #define USE_DYNAMIC_CLASSES 1
259 * USE_EXTENDED_STATICS is FALSE for the Xt port
261 #define USE_EXTENDED_STATICS 0
263 /*************************** IMAKEFILE EVALUATIOS ***************************/
266 #define USE_XPM_IN_X 1
268 #define USE_XPM_IN_X 0
270 #if USE_IMAGE_LOADING
271 #define USE_IMAGE_LOADING_IN_X 1
273 #define USE_IMAGE_LOADING_IN_X 0
276 /* here comes the system-specific stuff */
279 This file is in the public domain.
281 Descriptive text for the C preprocessor macros that
282 the distributed Autoconf macros can define.
283 No software package will use all of them; autoheader copies the ones
284 your configure.in uses into your configuration header file templates.
286 The entries are in sort -df order: alphabetical, case insensitive,
287 ignoring punctuation (such as underscores). Although this order
288 can split up related entries, it makes it easier to check whether
289 a given entry is in the file. */
291 /* Define if on AIX 3.
292 System headers sometimes define this.
293 We just want to avoid a redefinition error message. */
295 /* #undef _ALL_SOURCE */
298 /* Define if using alloca.c. */
299 /* #undef C_ALLOCA */
301 /* Define if type char is unsigned and you are not using gcc. */
302 #ifndef __CHAR_UNSIGNED__
303 /* #undef __CHAR_UNSIGNED__ */
306 /* Define if the closedir function returns void instead of int. */
307 /* #undef CLOSEDIR_VOID */
309 /* Define to empty if the keyword does not work. */
312 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
313 This function is required for alloca.c support on those systems. */
314 /* #undef CRAY_STACKSEG_END */
316 /* Define for DGUX with <sys/dg_sys_info.h>. */
319 /* Define if you have <dirent.h>. */
322 /* Define to the type of elements in the array set by `getgroups'.
323 Usually this is either `int' or `gid_t'. */
324 #define GETGROUPS_T gid_t
326 /* Define if the `getloadavg' function needs to be run setuid or setgid. */
327 /* #undef GETLOADAVG_PRIVILEGED */
329 /* Define if the `getpgrp' function takes no argument. */
330 /* #undef GETPGRP_VOID */
332 /* Define to `int' if <sys/types.h> doesn't define. */
335 /* Define if you have alloca, as a function or macro. */
336 /* #undef HAVE_ALLOCA */
338 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
339 /* #undef HAVE_ALLOCA_H */
341 /* Define if you don't have vprintf but do have _doprnt. */
342 /* #undef HAVE_DOPRNT */
344 /* Define if your system has its own `getloadavg' function. */
345 /* #undef HAVE_GETLOADAVG */
347 /* Define if you have the getmntent function. */
348 /* #undef HAVE_GETMNTENT */
350 /* Define if the `long double' type works. */
351 #define HAVE_LONG_DOUBLE 1
353 /* Define if you support file names longer than 14 characters. */
354 #define HAVE_LONG_FILE_NAMES 1
356 /* Define if you have a working `mmap' system call. */
357 /* #undef HAVE_MMAP */
359 /* Define if system calls automatically restart after interruption
361 /* #undef HAVE_RESTARTABLE_SYSCALLS */
363 /* Define if your struct stat has st_blksize. */
364 #define HAVE_ST_BLKSIZE 1
366 /* Define if your struct stat has st_blocks. */
367 #define HAVE_ST_BLOCKS 1
369 /* Define if you have the strcoll function and it is properly defined. */
370 /* #undef HAVE_STRCOLL */
372 /* Define if your struct stat has st_rdev. */
373 #define HAVE_ST_RDEV 1
375 /* Define if you have the strftime function. */
376 /* #undef HAVE_STRFTIME */
378 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
379 #define HAVE_SYS_WAIT_H 1
381 /* Define if your struct tm has tm_zone. */
382 /* #undef HAVE_TM_ZONE */
384 /* Define if you don't have tm_zone but do have the external array
386 #define HAVE_TZNAME 1
388 /* Define if you have <unistd.h>. */
389 /* #undef HAVE_UNISTD_H */
391 /* Define if utime(file, NULL) sets file's timestamp to the present. */
392 /* #undef HAVE_UTIME_NULL */
394 /* Define if you have <vfork.h>. */
395 /* #undef HAVE_VFORK_H */
397 /* Define if you have the vprintf function. */
398 /* #undef HAVE_VPRINTF */
400 /* Define if you have the wait3 system call. */
401 /* #undef HAVE_WAIT3 */
403 /* Define as __inline if that's what the C compiler calls it. */
408 /* Define if major, minor, and makedev are declared in <mkdev.h>. */
409 /* #undef MAJOR_IN_MKDEV */
411 /* Define if major, minor, and makedev are declared in <sysmacros.h>. */
412 /* #undef MAJOR_IN_SYSMACROS */
414 /* Define if on MINIX. */
417 /* Define to `int' if <sys/types.h> doesn't define. */
420 /* Define if you don't have <dirent.h>, but have <ndir.h>. */
423 /* Define if you have <memory.h>, and <string.h> doesn't declare the
425 /* #undef NEED_MEMORY_H */
427 /* Define if your struct nlist has an n_un member. */
428 /* #undef NLIST_NAME_UNION */
430 /* Define if you have <nlist.h>. */
431 /* #undef NLIST_STRUCT */
433 /* Define if your C compiler doesn't accept -c and -o together. */
434 /* #undef NO_MINUS_C_MINUS_O */
436 /* Define to `long' if <sys/types.h> doesn't define. */
439 /* Define to `int' if <sys/types.h> doesn't define. */
442 /* Define if the system does not provide POSIX.1 features except
443 with this defined. */
444 /* #undef _POSIX_1_SOURCE */
446 /* Define if you need to in order for stat and other things to work. */
447 /* #undef _POSIX_SOURCE */
449 /* Define as the return type of signal handlers (int or void). */
450 #define RETSIGTYPE void
452 /* Define if the setvbuf function takes the buffering type as its second
453 argument and the buffer pointer as the third, as on System V
455 /* #undef SETVBUF_REVERSED */
457 /* Define SIZESOF for some Objects */
459 #define SIZEOF_INT_P 4
460 #define SIZEOF_LONG 4
462 /* Define to `unsigned' if <sys/types.h> doesn't define. */
465 /* If using the C implementation of alloca, define if you know the
466 direction of stack growth for your system; otherwise it will be
467 automatically deduced at run-time.
468 STACK_DIRECTION > 0 => grows toward higher addresses
469 STACK_DIRECTION < 0 => grows toward lower addresses
470 STACK_DIRECTION = 0 => direction of growth unknown
472 /* #undef STACK_DIRECTION */
474 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
475 /* #undef STAT_MACROS_BROKEN */
477 /* Define if you have the ANSI C header files. */
478 #define STDC_HEADERS 1
480 /* Define on System V Release 4. */
486 /* Define on System V */
489 /* Define if you don't have <dirent.h>, but have <sys/dir.h>. */
492 /* Define if you don't have <dirent.h>, but have <sys/ndir.h>. */
495 /* Define if `sys_siglist' is declared by <signal.h>. */
496 /* #undef SYS_SIGLIST_DECLARED */
498 /* Define if you can safely include both <sys/time.h> and <time.h>. */
499 #define TIME_WITH_SYS_TIME 1
501 /* Define if your <sys/time.h> declares struct tm. */
502 /* #undef TM_IN_SYS_TIME */
504 /* Define to `int' if <sys/types.h> doesn't define. */
507 /* Define for Encore UMAX. */
510 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
511 instead of <sys/cpustats.h>. */
514 /* Define if you do not have <strings.h>, index, bzero, etc.. */
517 /* Define if the system is System V Release 4 */
520 /* Define vfork as fork if vfork does not work. */
523 /* Define if the closedir function returns void instead of int. */
524 /* #undef VOID_CLOSEDIR */
526 /* Define if your processor stores words with the most significant
527 byte first (like Motorola and SPARC, unlike Intel and VAX). */
528 /* #undef WORDS_BIGENDIAN */
530 /* Define if lex declares yytext as a char * by default, not a char[]. */
531 #define YYTEXT_POINTER 1
533 #endif /* __GTKSETUPH__ */
536 /* Leave that blank line there!! Autoheader needs it.
537 If you're adding to this file, keep in mind:
538 The entries are in sort -df order: alphabetical, case insensitive,
539 ignoring punctuation (such as underscores). */