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