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