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