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