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