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