]> git.saurik.com Git - wxWidgets.git/blame - install/unix/setup/setup.hin
Added configure to cvs - there are systems without autoconf!
[wxWidgets.git] / install / unix / setup / setup.hin
CommitLineData
a1a2adef
RR
1/* wx_setup.h
2 This file is in the public domain.
3
4 Descriptive text for the C preprocessor macros that
5 the distributed Autoconf macros can define.
6 No software package will use all of them; autoheader copies the ones
7 your configure.in uses into your configuration header file templates.
8
9 The entries are in sort -df order: alphabetical, case insensitive,
10 ignoring punctuation (such as underscores). Although this order
11 can split up related entries, it makes it easier to check whether
12 a given entry is in the file.
13
14 Leave the following blank line there!! Autoheader needs it. */
15\f
16#ifndef __GTKSETUPH__
17#define __GTKSETUPH__
18
19#ifdef __GNUG__
20#pragma interface
21#endif
22
23/* define the system to compile */
24#undef __WXGTK__
b4e76e0d
RR
25#undef __WXMOTIF__
26#undef __WXQT__
a1a2adef
RR
27#undef __UNIX__
28#undef __LINUX__
29#undef __SGI__
30#undef __HPUX__
31#undef __SYSV__
32#undef __SVR4__
33#undef __AIX__
34#undef __SUN__
35#undef __SOLARIS__
36#undef __SUNOS__
37#undef __ALPHA__
38#undef __OSF__
39#undef __BSD__
40#undef __FREEBSD__
41#undef __VMS__
42#undef __ULTRIX__
43#undef __DATA_GENERAL__
44
45/*
46 * Use zlib
47 */
48#undef USE_ZLIB
49/*
50 * Use gdk_imlib
51 */
52#undef USE_GDK_IMLIB
53/*
54 * Use libpng
55 */
56#undef USE_LIBPNG
57/*
58 * Use iODBC
59 */
60#undef USE_ODBC
61/*
62 * Use Threads
63 */
64#undef USE_THREADS
65/*
66 * Use storable classes
67 */
68#undef USE_STORABLE_CLASSES
69/*
70 * Use automatic translation via gettext() in wxTString
71 */
72#undef USE_AUTOTRANS
73/*
74 * Use font metric files in GetTextExtent for wxPostScriptDC
75 * Use consistent PostScript fonts for AFM and printing (!)
76 */
77#undef USE_AFM_FOR_POSTSCRIPT
78#undef WX_NORMALIZED_PS_FONTS
79/*
80 * Use clipboard
81 */
82#undef USE_CLIPBOARD
83/*
84 * Use wxWindows layout constraint system
85 */
86#undef USE_CONSTRAINTS
87/*
88 * Use the document/view architecture
89 */
90#undef USE_DOC_VIEW_ARCHITECTURE
91/*
92 * Use enhanced dialog
93 */
94#undef USE_ENHANCED_DIALOG
95/*
96 * Use Form panel item placement
97 */
98#undef USE_FORM
99/*
100 * Use fraction class
101 */
102#undef USE_FRACTION
103/*
104 * Use gauge item
105 */
106#undef USE_GAUGE
107/*
108 * Implement a GLCanvas class as an interface to OpenGL, using the GLX
109 * extension to the X11 protocol. You can use the (free) Mesa library
110 * if you don't have a 'real' OpenGL.
111 */
112#undef USE_GLX
113/*
114 * Use wxWindows help facility (needs USE_IPC 1)
115 */
116#undef USE_HELP
117/*
118 * Use iostream.h rather than iostream
119 */
120#undef USE_IOSTREAMH
121/*
122 * Use Interprocess communication
123 */
124#undef USE_IPC
125/*
126 * Use Metafile and Metafile device context
127 */
128#undef USE_METAFILE
129/*
130 * Use PostScript device context
131 */
132#undef USE_POSTSCRIPT
133/*
134 * Use wxConfig system
135 */
136#undef USE_WXCONFIG
137/*
138 * Use the print/preview architecture
139 */
140#undef USE_PRINTING_ARCHITECTURE
141/*
142 * Use Prolog IO
143 */
144#undef USE_PROLOGIO
145/*
146 * Use Remote Procedure Call (Needs USE_IPC and USE_PROLOGIO)
147 */
148#undef USE_RPC
149/*
150 * Use wxGetResource & wxWriteResource (change .Xdefaults)
151 */
152#undef USE_RESOURCES
153/*
154 * Use scrollbar item
155 */
156#undef USE_SCROLLBAR
157/*
158 * Use time and date classes
159 */
160#undef USE_TIMEDATE
161/*
162 * Use toolbar, use Xt port toolbar (3D look)
163 */
164#undef USE_TOOLBAR
165#undef USE_XT_TOOLBAR
166/*
167 * Enables old type checking mechanism (wxSubType)
168 */
169#undef USE_TYPETREE
170/*
171 * Use virtual list box item
172 */
173#undef USE_VLBOX
174/*
175 * Use wxWindows resource loading (.wxr-files) (Needs USE_PROLOGIO 1)
176 */
177#undef USE_WX_RESOURCES
178/*
179 * Use wxGraph
180 */
181#undef USE_WXGRAPH
182/*
183 * Use wxTree
184 */
185/*
186 * Use Apple Ieee-double converter
187 */
188#undef USE_APPLE_IEEE
189
190/********************** DO NOT CHANGE BELOW THIS POINT **********************/
191
192/**************************** WXDEBUGGING FEATURES ****************************/
193
194/* Compatibility with 1.66 API.
195 Level 0: no backward compatibility, all new features
196 Level 1: wxDC, OnSize (etc.) compatibility, but
197 some new features such as event tables */
198#define WXWIN_COMPATIBILITY 1
199/*
200 * Enables debugging: memory tracing, assert, etc., contains debug level
201 */
202#undef WXDEBUG
203/*
204 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
205 * WARNING: this code may not work with all architectures, especially
206 * if alignment is an issue.
207 */
208#undef USE_MEMORY_TRACING
209/*
210 * Enable debugging version of global memory operators new and delete
211 * Disable it, If this causes problems (e.g. link errors)
212 */
213#undef USE_GLOBAL_MEMORY_OPERATORS
214/*
215 * If WXDEBUG && USE_MEMORY_TRACING && USE_GLOBAL_MEMORY_OPERATORS
216 * used to debug the memory allocation of wxWindows Xt port code
217 */
218#define USE_INTERNAL_MEMORY_TRACING 0
219/*
220 * Matthews garbage collection (used for MrEd?)
221 */
222#define WXGARBAGE_COLLECTION_ON 0
223
224/**************************** COMPILER FEATURES *****************************/
225
226/*
227 * Disable this if your compiler can't cope
228 * with omission of prototype parameters.
229 */
230#define REMOVE_UNUSED_ARG 1
231/*
232 * The const keyword is being introduced more in wxWindows.
233 * You can use this setting to maintain backward compatibility.
234 * If 0: will use const wherever possible.
235 * If 1: will use const only where necessary
236 * for precompiled headers to work.
237 * If 2: will be totally backward compatible, but precompiled
238 * headers may not work and program size will be larger.
239 */
240#define CONST_COMPATIBILITY 0
241
242/************************ WINDOWS 3.1 COMPATIBILITY *************************/
243
244/*
245 * Normalize X drawing code to behave exactly as MSW.
246 */
247#define WX_STANDARD_GRAPHICS 0
248
249/******************* other stuff **********************************/
250/*
251 * Support image loading for wxBitmap (wxImage is needed for this)
252 */
253#define USE_IMAGE_LOADING 0
254#define WXIMAGE_INCLUDE "../../utils/image/src/wx_image.h"
255/*
256 * Use splines
257 */
258#define USE_SPLINES 1
259
260/*
261 * USE_DYNAMIC_CLASSES is TRUE for the Xt port
262 */
263#define USE_DYNAMIC_CLASSES 1
264/*
265 * USE_EXTENDED_STATICS is FALSE for the Xt port
266*/
267#define USE_EXTENDED_STATICS 0
268
269/*************************** IMAKEFILE EVALUATIOS ***************************/
270
271#if USE_XPM
272 #define USE_XPM_IN_X 1
273#else
274 #define USE_XPM_IN_X 0
275#endif
276#if USE_IMAGE_LOADING
277 #define USE_IMAGE_LOADING_IN_X 1
278#else
279 #define USE_IMAGE_LOADING_IN_X 0
280#endif
281
282/* here comes the system-specific stuff */
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 your system has its own `getloadavg' function. */
351#undef HAVE_GETLOADAVG
352
353/* Define if you have the getmntent function. */
354#undef HAVE_GETMNTENT
355
356/* Define if the `long double' type works. */
357#undef HAVE_LONG_DOUBLE
358
359/* Define if you support file names longer than 14 characters. */
360#undef HAVE_LONG_FILE_NAMES
361
362/* Define if you have a working `mmap' system call. */
363#undef HAVE_MMAP
364
365/* Define if system calls automatically restart after interruption
366 by a signal. */
367#undef HAVE_RESTARTABLE_SYSCALLS
368
369/* Define if your struct stat has st_blksize. */
370#undef HAVE_ST_BLKSIZE
371
372/* Define if your struct stat has st_blocks. */
373#undef HAVE_ST_BLOCKS
374
375/* Define if you have the strcoll function and it is properly defined. */
376#undef HAVE_STRCOLL
377
378/* Define if your struct stat has st_rdev. */
379#undef HAVE_ST_RDEV
380
381/* Define if you have the strftime function. */
382#undef HAVE_STRFTIME
383
384/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
385#undef HAVE_SYS_WAIT_H
386
387/* Define if your struct tm has tm_zone. */
388#undef HAVE_TM_ZONE
389
390/* Define if you don't have tm_zone but do have the external array
391 tzname. */
392#undef HAVE_TZNAME
393
394/* Define if you have <unistd.h>. */
395#undef HAVE_UNISTD_H
396
397/* Define if utime(file, NULL) sets file's timestamp to the present. */
398#undef HAVE_UTIME_NULL
399
400/* Define if you have <vfork.h>. */
401#undef HAVE_VFORK_H
402
403/* Define if you have the vprintf function. */
404#undef HAVE_VPRINTF
405
406/* Define if you have the wait3 system call. */
407#undef HAVE_WAIT3
408
409/* Define as __inline if that's what the C compiler calls it. */
410#ifndef __cplusplus
411#undef inline
412#endif
413
414/* Define if major, minor, and makedev are declared in <mkdev.h>. */
415#undef MAJOR_IN_MKDEV
416
417/* Define if major, minor, and makedev are declared in <sysmacros.h>. */
418#undef MAJOR_IN_SYSMACROS
419
420/* Define if on MINIX. */
421#undef _MINIX
422
423/* Define to `int' if <sys/types.h> doesn't define. */
424#undef mode_t
425
426/* Define if you don't have <dirent.h>, but have <ndir.h>. */
427#undef NDIR
428
429/* Define if you have <memory.h>, and <string.h> doesn't declare the
430 mem* functions. */
431#undef NEED_MEMORY_H
432
433/* Define if your struct nlist has an n_un member. */
434#undef NLIST_NAME_UNION
435
436/* Define if you have <nlist.h>. */
437#undef NLIST_STRUCT
438
439/* Define if your C compiler doesn't accept -c and -o together. */
440#undef NO_MINUS_C_MINUS_O
441
442/* Define to `long' if <sys/types.h> doesn't define. */
443#undef off_t
444
445/* Define to `int' if <sys/types.h> doesn't define. */
446#undef pid_t
447
448/* Define if the system does not provide POSIX.1 features except
449 with this defined. */
450#undef _POSIX_1_SOURCE
451
452/* Define if you need to in order for stat and other things to work. */
453#undef _POSIX_SOURCE
454
455/* Define as the return type of signal handlers (int or void). */
456#undef RETSIGTYPE
457
458/* Define if the setvbuf function takes the buffering type as its second
459 argument and the buffer pointer as the third, as on System V
460 before release 3. */
461#undef SETVBUF_REVERSED
462
463/* Define SIZESOF for some Objects */
464#undef SIZEOF_INT
465#undef SIZEOF_INT_P
466#undef SIZEOF_LONG
467
468/* Define to `unsigned' if <sys/types.h> doesn't define. */
469#undef size_t
470
471/* If using the C implementation of alloca, define if you know the
472 direction of stack growth for your system; otherwise it will be
473 automatically deduced at run-time.
474 STACK_DIRECTION > 0 => grows toward higher addresses
475 STACK_DIRECTION < 0 => grows toward lower addresses
476 STACK_DIRECTION = 0 => direction of growth unknown
477 */
478#undef STACK_DIRECTION
479
480/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
481#undef STAT_MACROS_BROKEN
482
483/* Define if you have the ANSI C header files. */
484#undef STDC_HEADERS
485
486/* Define on System V Release 4. */
487#undef SVR4
488
489/* Define on BSD */
490#undef BSD
491
492/* Define on System V */
493#undef SYSV
494
495/* Define if you don't have <dirent.h>, but have <sys/dir.h>. */
496#undef SYSDIR
497
498/* Define if you don't have <dirent.h>, but have <sys/ndir.h>. */
499#undef SYSNDIR
500
501/* Define if `sys_siglist' is declared by <signal.h>. */
502#undef SYS_SIGLIST_DECLARED
503
504/* Define if you can safely include both <sys/time.h> and <time.h>. */
505#undef TIME_WITH_SYS_TIME
506
507/* Define if your <sys/time.h> declares struct tm. */
508#undef TM_IN_SYS_TIME
509
510/* Define to `int' if <sys/types.h> doesn't define. */
511#undef uid_t
512
513/* Define for Encore UMAX. */
514#undef UMAX
515
516/* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
517 instead of <sys/cpustats.h>. */
518#undef UMAX4_3
519
520/* Define if you do not have <strings.h>, index, bzero, etc.. */
521#undef USG
522
523/* Define if the system is System V Release 4 */
524#undef SVR4
525
526/* Define vfork as fork if vfork does not work. */
527#undef vfork
528
529/* Define if the closedir function returns void instead of int. */
530#undef VOID_CLOSEDIR
531
532/* Define if your processor stores words with the most significant
533 byte first (like Motorola and SPARC, unlike Intel and VAX). */
534#undef WORDS_BIGENDIAN
535
536/* Define if lex declares yytext as a char * by default, not a char[]. */
537#undef YYTEXT_POINTER
538
539#endif /* __GTKSETUPH__ */
540
541\f
542/* Leave that blank line there!! Autoheader needs it.
543 If you're adding to this file, keep in mind:
544 The entries are in sort -df order: alphabetical, case insensitive,
545 ignoring punctuation (such as underscores). */