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