1 /* ./include/wx/motif/setup.h. Generated automatically by configure. */
4 Do not edit this file. It is autogenerated by configure.
6 Leave the following blank line there!! Autoheader needs it. */
9 /* ------------------------------------------------------------------------ */
10 /* Features as requested by configure */
11 /* ------------------------------------------------------------------------ */
20 /* define the system to compile */
29 /* #undef __SOLARIS__ */
30 /* #undef __SUNOS__ */
31 /* #undef __ALPHA__ */
34 /* #undef __FREEBSD__ */
36 /* #undef __ULTRIX__ */
37 /* #undef __DATA_GENERAL__ */
39 /* ------------------------------------------------------------------------ */
40 /* compiler options */
41 /* ------------------------------------------------------------------------ */
48 /* ------------------------------------------------------------------------ */
50 /* ------------------------------------------------------------------------ */
59 #define wxUSE_LIBPNG 1
63 #define wxUSE_LIBJPEG 0
67 #define wxUSE_LIBGIF 0
75 #define wxUSE_THREADS 0
79 #define wxHAVE_GLIBC2 1
83 #define wxHAVE_LIB_XPM 0
87 /* ------------------------------------------------------------------------ */
88 /* GUI control options (always enabled in wxGTK) */
89 /* ------------------------------------------------------------------------ */
97 #define wxUSE_COMBOBOX 1
101 #define wxUSE_SCROLLBAR 1
105 #define wxUSE_RADIOBUTTON 1
109 #define wxUSE_TOOLBAR 1
111 /* ------------------------------------------------------------------------ */
112 /* non-GUI options */
113 /* ------------------------------------------------------------------------ */
116 * Use time and date classes
118 #define wxUSE_TIMEDATE 1
122 #define wxUSE_CONFIG 1
130 #define wxUSE_STREAMS 1
132 * Use class serialization
134 #define wxUSE_SERIAL 0
138 #define wxUSE_SOCKETS 1
140 * Use standard C++ streams if 1. If 0, use wxWin
141 * streams implementation.
143 #define wxUSE_STD_IOSTREAM 1
145 * Use constraints mechanism
147 #define wxUSE_CONSTRAINTS 1
149 /* ------------------------------------------------------------------------ */
151 /* ------------------------------------------------------------------------ */
154 * Use font metric files in GetTextExtent for wxPostScriptDC
155 * Use consistent PostScript fonts for AFM and printing (!)
157 #define wxUSE_AFM_FOR_POSTSCRIPT 1
158 #define WX_NORMALIZED_PS_FONTS 1
160 * Use PostScript device context
162 #define wxUSE_POSTSCRIPT 1
164 /* ------------------------------------------------------------------------ */
165 /* wxString options */
166 /* ------------------------------------------------------------------------ */
169 * Compile wxString with wide character (Unicode) support?
171 #define wxUSE_UNICODE 1
174 * Work around a bug in GNU libc 5.x wcstombs() implementation.
176 * Note that you must link your programs with libc.a if you enable this and you
177 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
178 * thread-safe version of wcstombs()).
180 #define wxUSE_WCSRTOMBS 0
183 * On some platforms overloading on size_t/int doesn't work, yet we'd like
184 * to define both size_t and int version of wxString::operator[] because it
185 * should really be size_t, but a lot of old, broken code uses int indices.
187 #define wxUSE_SIZE_T_STRING_OPERATOR 1
189 /* ------------------------------------------------------------------------ */
191 /* ------------------------------------------------------------------------ */
194 * Use Interprocess communication
198 * Use wxGetResource & wxWriteResource (change .Xdefaults)
200 #define wxUSE_RESOURCES 1
204 #define wxUSE_CLIPBOARD 1
208 #define wxUSE_TOOLTIPS 0
212 #define wxUSE_DRAG_AND_DROP 0
214 * Use wxLibrary class
216 #define wxUSE_DYNLIB_CLASS 0
218 /* ------------------------------------------------------------------------ */
219 /* architecture options */
220 /* ------------------------------------------------------------------------ */
223 * Use the mdi architecture
225 #define wxUSE_MDI_ARCHITECTURE 1
227 * Use the document/view architecture
229 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
231 * Use the print/preview architecture
233 #define wxUSE_PRINTING_ARCHITECTURE 1
235 /* ------------------------------------------------------------------------ */
236 /* Prolog and wxWindows' resource system options */
237 /* ------------------------------------------------------------------------ */
242 #define wxUSE_PROLOGIO 1
244 * Use Remote Procedure Call (Needs wxUSE_IPC and wxUSE_PROLOGIO)
248 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
250 #define wxUSE_WX_RESOURCES 1
252 /* ------------------------------------------------------------------------ */
254 /* ------------------------------------------------------------------------ */
257 * Use wxWindows help facility (needs wxUSE_IPC 1)
261 * Use iostream.h rather than iostream
263 #define wxUSE_IOSTREAMH 1
265 * Use Apple Ieee-double converter
267 #define wxUSE_APPLE_IEEE 1
268 /* Compatibility with 1.66 API.
269 Level 0: no backward compatibility, all new features
270 Level 1: wxDC, OnSize (etc.) compatibility, but
271 some new features such as event tables */
272 #define WXWIN_COMPATIBILITY 0
274 * Enables debugging: memory tracing, assert, etc., contains debug level
278 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
279 * WARNING: this code may not work with all architectures, especially
280 * if alignment is an issue.
282 #define wxUSE_MEMORY_TRACING 0
284 * Enable debugging version of global memory operators new and delete
285 * Disable it, If this causes problems (e.g. link errors)
287 #define wxUSE_DEBUG_NEW_ALWAYS 1
289 * In debug mode, causes new to be defined to
290 * be WXDEBUG_NEW (see object.h). If this causes
291 * problems (e.g. link errors), set this to 0.
293 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
295 * Matthews garbage collection (used for MrEd?)
297 #define WXGARBAGE_COLLECTION_ON 0
301 #define wxUSE_SPLINES 1
303 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
305 #define wxUSE_DYNAMIC_CLASSES 1
307 * Disable this if your compiler can't cope
308 * with omission of prototype parameters.
310 #define REMOVE_UNUSED_ARG 1
312 * The const keyword is being introduced more in wxWindows.
313 * You can use this setting to maintain backward compatibility.
314 * If 0: will use const wherever possible.
315 * If 1: will use const only where necessary
316 * for precompiled headers to work.
317 * If 2: will be totally backward compatible, but precompiled
318 * headers may not work and program size will be larger.
320 #define CONST_COMPATIBILITY 0
322 /* ------------------------------------------------------------------------ */
323 /* System-specific stuff */
324 /* ------------------------------------------------------------------------ */
327 This file is in the public domain.
329 Descriptive text for the C preprocessor macros that
330 the distributed Autoconf macros can define.
331 No software package will use all of them; autoheader copies the ones
332 your configure.in uses into your configuration header file templates.
334 The entries are in sort -df order: alphabetical, case insensitive,
335 ignoring punctuation (such as underscores). Although this order
336 can split up related entries, it makes it easier to check whether
337 a given entry is in the file. */
339 /* Define if on AIX 3.
340 System headers sometimes define this.
341 We just want to avoid a redefinition error message. */
343 /* #undef _ALL_SOURCE */
346 /* Define if using alloca.c. */
347 /* #undef C_ALLOCA */
349 /* Define if type char is unsigned and you are not using gcc. */
350 #ifndef __CHAR_UNSIGNED__
351 /* #undef __CHAR_UNSIGNED__ */
354 /* Define if the closedir function returns void instead of int. */
355 /* #undef CLOSEDIR_VOID */
357 /* Define to empty if the keyword does not work. */
360 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
361 This function is required for alloca.c support on those systems. */
362 /* #undef CRAY_STACKSEG_END */
364 /* Define for DGUX with <sys/dg_sys_info.h>. */
367 /* Define if you have <dirent.h>. */
370 /* Define to the type of elements in the array set by `getgroups'.
371 Usually this is either `int' or `gid_t'. */
372 #define GETGROUPS_T gid_t
374 /* The type of 3rd argument to getsockname() - usually size_t or int */
375 #define SOCKLEN_T size_t
377 /* Define if the `getloadavg' function needs to be run setuid or setgid. */
378 /* #undef GETLOADAVG_PRIVILEGED */
380 /* Define if the `getpgrp' function takes no argument. */
381 /* #undef GETPGRP_VOID */
383 /* Define to `int' if <sys/types.h> doesn't define. */
386 /* Define if you have alloca, as a function or macro. */
387 /* #undef HAVE_ALLOCA */
389 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
390 /* #undef HAVE_ALLOCA_H */
392 /* Define if you don't have vprintf but do have _doprnt. */
393 /* #undef HAVE_DOPRNT */
395 /* Define if you have sched.h */
396 #define HAVE_SCHED_H 0
398 /* Define if you have strings.h */
399 #define HAVE_STRINGS_H 1
401 /* Define if you have vprintf() */
402 #define HAVE_VPRINTF 1
404 /* Define if you have dlopen() */
405 /* #undef HAVE_DLOPEN */
407 /* Define if you have shl_load() */
408 /* #undef HAVE_SHL_LOAD */
410 /* Define if you have vsnprintf() */
411 #define HAVE_VSNPRINTF 1
413 /* Define if you have usleep() */
414 #define HAVE_USLEEP 1
416 /* Define if you have nanosleep() */
417 #define HAVE_NANOSLEEP 0
419 /* Define if you have vfork() */
422 /* Define if you have uname() */
425 /* Define if you have gethostname() */
426 /* #undef HAVE_GETHOSTNAME */
428 /* Define if you have sched_yield */
429 #define HAVE_SCHED_YIELD 1
431 /* Define if you have pthread_cancel */
432 #define HAVE_PTHREAD_CANCEL 1
434 /* Define if you have all functions to set thread priority */
435 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
437 /* Define if your system has its own `getloadavg' function. */
438 /* #undef HAVE_GETLOADAVG */
440 /* Define if you have the getmntent function. */
441 /* #undef HAVE_GETMNTENT */
443 /* Define if the `long double' type works. */
444 #define HAVE_LONG_DOUBLE 1
446 /* Define if you support file names longer than 14 characters. */
447 #define HAVE_LONG_FILE_NAMES 1
449 /* Define if you have a working `mmap' system call. */
450 /* #undef HAVE_MMAP */
452 /* Define if system calls automatically restart after interruption
454 /* #undef HAVE_RESTARTABLE_SYSCALLS */
456 /* Define if your struct stat has st_blksize. */
457 #define HAVE_ST_BLKSIZE 1
459 /* Define if your struct stat has st_blocks. */
460 #define HAVE_ST_BLOCKS 1
462 /* Define if you have the strcoll function and it is properly defined. */
463 /* #undef HAVE_STRCOLL */
465 /* Define if your struct stat has st_rdev. */
466 #define HAVE_ST_RDEV 1
468 /* Define if you have the strftime function. */
469 /* #undef HAVE_STRFTIME */
471 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
472 #define HAVE_SYS_WAIT_H 1
474 /* Define if your struct tm has tm_zone. */
475 #define HAVE_TM_ZONE 1
477 /* Define if you don't have tm_zone but do have the external array
479 /* #undef HAVE_TZNAME */
481 /* Define if you have <unistd.h>. */
482 #define HAVE_UNISTD_H 1
484 /* Define if you have <fnmatch.h>. */
485 #define HAVE_FNMATCH_H 1
487 /* Define if utime(file, NULL) sets file's timestamp to the present. */
488 /* #undef HAVE_UTIME_NULL */
490 /* Define if you have <vfork.h>. */
491 /* #undef HAVE_VFORK_H */
493 /* Define if you have the vprintf function. */
494 #define HAVE_VPRINTF 1
496 /* Define if you have the wait3 system call. */
497 /* #undef HAVE_WAIT3 */
499 /* Define as __inline if that's what the C compiler calls it. */
504 /* Define if major, minor, and makedev are declared in <mkdev.h>. */
505 /* #undef MAJOR_IN_MKDEV */
507 /* Define if major, minor, and makedev are declared in <sysmacros.h>. */
508 /* #undef MAJOR_IN_SYSMACROS */
510 /* Define if on MINIX. */
513 /* Define to `int' if <sys/types.h> doesn't define. */
516 /* Define if you don't have <dirent.h>, but have <ndir.h>. */
519 /* Define if you have <memory.h>, and <string.h> doesn't declare the
521 /* #undef NEED_MEMORY_H */
523 /* Define if your struct nlist has an n_un member. */
524 /* #undef NLIST_NAME_UNION */
526 /* Define if you have <nlist.h>. */
527 /* #undef NLIST_STRUCT */
529 /* Define if your C compiler doesn't accept -c and -o together. */
530 /* #undef NO_MINUS_C_MINUS_O */
532 /* Define to `long' if <sys/types.h> doesn't define. */
535 /* Define to `int' if <sys/types.h> doesn't define. */
538 /* Define if the system does not provide POSIX.1 features except
539 with this defined. */
540 /* #undef _POSIX_1_SOURCE */
542 /* Define if you need to in order for stat and other things to work. */
543 /* #undef _POSIX_SOURCE */
545 /* Define as the return type of signal handlers (int or void). */
546 #define RETSIGTYPE void
548 /* Define if the setvbuf function takes the buffering type as its second
549 argument and the buffer pointer as the third, as on System V
551 /* #undef SETVBUF_REVERSED */
553 /* Define SIZESOF for some Objects */
555 #define SIZEOF_INT_P 4
556 #define SIZEOF_LONG 4
557 #define SIZEOF_LONG_LONG 8
559 /* Define to `unsigned' if <sys/types.h> doesn't define. */
562 /* If using the C implementation of alloca, define if you know the
563 direction of stack growth for your system; otherwise it will be
564 automatically deduced at run-time.
565 STACK_DIRECTION > 0 => grows toward higher addresses
566 STACK_DIRECTION < 0 => grows toward lower addresses
567 STACK_DIRECTION = 0 => direction of growth unknown
569 /* #undef STACK_DIRECTION */
571 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
572 /* #undef STAT_MACROS_BROKEN */
574 /* Define if you have the ANSI C header files. */
575 #define STDC_HEADERS 1
577 /* Define on System V Release 4. */
583 /* Define on System V */
586 /* Define if you don't have <dirent.h>, but have <sys/dir.h>. */
589 /* Define if you don't have <dirent.h>, but have <sys/ndir.h>. */
592 /* Define if `sys_siglist' is declared by <signal.h>. */
593 /* #undef SYS_SIGLIST_DECLARED */
595 /* Define if you can safely include both <sys/time.h> and <time.h>. */
596 #define TIME_WITH_SYS_TIME 1
598 /* Define if your <sys/time.h> declares struct tm. */
599 /* #undef TM_IN_SYS_TIME */
601 /* Define to `int' if <sys/types.h> doesn't define. */
604 /* Define for Encore UMAX. */
607 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
608 instead of <sys/cpustats.h>. */
611 /* Define if you do not have <strings.h>, index, bzero, etc.. */
614 /* Define if the system is System V Release 4 */
617 /* Define vfork as fork if vfork does not work. */
620 /* Define if the closedir function returns void instead of int. */
621 /* #undef VOID_CLOSEDIR */
623 /* Define if your processor stores words with the most significant
624 byte first (like Motorola and SPARC, unlike Intel and VAX). */
625 /* #undef WORDS_BIGENDIAN */
627 /* Define if lex declares yytext as a char * by default, not a char[]. */
628 #define YYTEXT_POINTER 1
630 #endif /* __GTKSETUPH__ */
633 /* Leave that blank line there!! Autoheader needs it.
634 If you're adding to this file, keep in mind:
635 The entries are in sort -df order: alphabetical, case insensitive,
636 ignoring punctuation (such as underscores). */