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