]>
git.saurik.com Git - wxWidgets.git/blob - setup.h.in
1 /* This define (__WX_SETUP_H__) is used both to ensure setup.h is included
2 * only once and to indicate that we are building using configure. */
10 /* never undefine inline or const keywords for C++ compilation */
13 /* Define to empty if the keyword does not work. */
16 /* Define as __inline if that's what the C compiler calls it. */
19 #endif /* __cplusplus */
21 /* fill in with the string wxGetOsDescription() will return */
22 #undef WXWIN_OS_DESCRIPTION
24 /* the installation location prefix from configure */
25 #undef wxINSTALL_PREFIX
27 /* Define to `int' if <sys/types.h> doesn't define. */
30 /* Define to `int' if <sys/types.h> doesn't define. */
33 /* Define to `long' if <sys/types.h> doesn't define. */
36 /* Define to `int' if <sys/types.h> doesn't define. */
39 /* Define to `unsigned' if <sys/types.h> doesn't define. */
42 /* Define if ssize_t type is available. */
45 /* Define if you have the ANSI C header files. */
48 /* Define this to get extra features from GNU libc. */
51 /* Define to `int' if <sys/types.h> doesn't define. */
54 /* Define if your processor stores words with the most significant
55 byte first (like Motorola and SPARC, unlike Intel and VAX). */
56 #undef WORDS_BIGENDIAN
58 /* Define this if your version of GTK+ is greater than 1.2 */
61 /* Define this if your version of GTK+ is greater than 1.2.7 */
64 /* Define this if your version of GTK+ is greater than 2.0 */
67 /* Define this if your version of GTK+ is greater than 2.4 */
70 /* Define this if you want to use GPE features */
73 /* Define this if your version of Motif is greater than 2.0 */
77 * Define to 1 for Unix[-like] system
106 /* NanoX (with wxX11) */
107 #define wxUSE_NANOX 0
109 /* PowerPC Darwin & Mac OS X */
113 /* MS-DOS with DJGPP */
116 /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
140 /* --- start common options --- */
148 #define WXWIN_COMPATIBILITY_2_2 0
150 #define WXWIN_COMPATIBILITY_2_4 0
152 #define wxDIALOG_UNIT_COMPATIBILITY 0
156 #define wxUSE_DEBUG_CONTEXT 0
158 #define wxUSE_MEMORY_TRACING 0
160 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
162 #define wxUSE_DEBUG_NEW_ALWAYS 0
164 #define wxUSE_ON_FATAL_EXCEPTION 0
166 #define wxUSE_STACKWALKER 0
168 #define wxUSE_DEBUGREPORT 0
171 #ifndef wxUSE_UNICODE
172 #define wxUSE_UNICODE 0
175 #define wxUSE_UNICODE_MSLU 0
177 #define wxUSE_WCHAR_T 0
180 #define wxUSE_EXCEPTIONS 0
182 #define wxUSE_EXTENDED_RTTI 0
188 #define wxUSE_LOGWINDOW 0
190 #define wxUSE_LOGGUI 0
192 #define wxUSE_LOG_DIALOG 0
194 #define wxUSE_CMDLINE_PARSER 0
196 #define wxUSE_THREADS 0
198 #define wxUSE_STREAMS 0
200 #define wxUSE_STD_IOSTREAM 0
203 #define wxUSE_LONGLONG 0
206 #define wxUSE_FFILE 0
208 #define wxUSE_FSVOLUME 0
210 #define wxUSE_STDPATHS 0
212 #define wxUSE_TEXTBUFFER 0
214 #define wxUSE_TEXTFILE 0
218 #define wxUSE_DATETIME 0
220 #define wxUSE_TIMER 0
222 #define wxUSE_STOPWATCH 0
224 #define wxUSE_CONFIG 0
226 #define wxUSE_CONFIG_NATIVE 0
228 #define wxUSE_DIALUP_MANAGER 0
230 #define wxUSE_DYNLIB_CLASS 0
232 #define wxUSE_DYNAMIC_LOADER 0
234 #define wxUSE_SOCKETS 0
236 #define wxUSE_FILESYSTEM 0
238 #define wxUSE_FS_ZIP 0
240 #define wxUSE_FS_INET 0
242 #define wxUSE_ARCHIVE_STREAMS 0
244 #define wxUSE_ZIPSTREAM 0
248 #define wxUSE_APPLE_IEEE 0
250 #define wxUSE_JOYSTICK 0
252 #define wxUSE_FONTMAP 0
254 #define wxUSE_MIMETYPE 0
256 #define wxUSE_PROTOCOL 0
258 #define wxUSE_PROTOCOL_FILE 0
259 #define wxUSE_PROTOCOL_FTP 0
260 #define wxUSE_PROTOCOL_HTTP 0
264 #define wxUSE_URL_NATIVE 0
266 #define wxUSE_REGEX 0
268 #define wxUSE_SYSTEM_OPTIONS 0
270 #define wxUSE_SOUND 0
272 #define wxUSE_MEDIACTRL 0
274 #define wxUSE_QUICKTIME 0
276 #define wxUSE_DIRECTSHOW 0
278 #define wxUSE_GSTREAMER 0
289 #define wxUSE_CONTROLS 0
291 #define wxUSE_POPUPWIN 0
293 #define wxUSE_TIPWINDOW 0
295 #define wxUSE_BUTTON 0
296 #define wxUSE_BMPBUTTON 0
297 #define wxUSE_CALENDARCTRL 0
298 #define wxUSE_CHECKBOX 0
299 #define wxUSE_CHECKLISTBOX 0
300 #define wxUSE_CHOICE 0
301 #define wxUSE_COMBOBOX 0
302 #define wxUSE_DATEPICKCTRL 0
303 #define wxUSE_GAUGE 0
304 #define wxUSE_LISTBOX 0
305 #define wxUSE_LISTCTRL 0
306 #define wxUSE_RADIOBOX 0
307 #define wxUSE_RADIOBTN 0
308 #define wxUSE_SCROLLBAR 0
309 #define wxUSE_SLIDER 0
310 #define wxUSE_SPINBTN 0
311 #define wxUSE_SPINCTRL 0
312 #define wxUSE_STATBOX 0
313 #define wxUSE_STATLINE 0
314 #define wxUSE_STATTEXT 0
315 #define wxUSE_STATBMP 0
316 #define wxUSE_TEXTCTRL 0
317 #define wxUSE_TOGGLEBTN 0
318 #define wxUSE_TREECTRL 0
320 #define wxUSE_STATUSBAR 0
322 #define wxUSE_NATIVE_STATUSBAR 0
324 #define wxUSE_TOOLBAR 0
325 #define wxUSE_TOOLBAR_NATIVE 0
327 #define wxUSE_NOTEBOOK 0
329 #define wxUSE_LISTBOOK 0
331 #define wxUSE_CHOICEBOOK 0
333 #define wxUSE_TAB_DIALOG 0
337 #define wxUSE_MINIFRAME 0
340 #define wxUSE_ACCEL 0
342 #define wxUSE_HOTKEY 0
344 #define wxUSE_CARET 0
346 #define wxUSE_DISPLAY 0
348 #define wxUSE_GEOMETRY 0
350 #define wxUSE_IMAGLIST 0
352 #define wxUSE_MENUS 0
356 #define wxUSE_SPLITTER 0
358 #define wxUSE_TOOLTIPS 0
360 #define wxUSE_VALIDATORS 0
363 #define wxUSE_COMMON_DIALOGS 0
365 #define wxUSE_BUSYINFO 0
367 #define wxUSE_CHOICEDLG 0
369 #define wxUSE_COLOURDLG 0
371 #define wxUSE_DIRDLG 0
374 #define wxUSE_FILEDLG 0
376 #define wxUSE_FINDREPLDLG 0
378 #define wxUSE_FONTDLG 0
380 #define wxUSE_MSGDLG 0
382 #define wxUSE_PROGRESSDLG 0
384 #define wxUSE_STARTUP_TIPS 0
386 #define wxUSE_TEXTDLG 0
388 #define wxUSE_NUMBERDLG 0
390 #define wxUSE_SPLASH 0
392 #define wxUSE_WIZARDDLG 0
395 #define wxUSE_METAFILE 0
396 #define wxUSE_ENH_METAFILE 0
397 #define wxUSE_WIN_METAFILES_ALWAYS 0
402 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
404 #define wxUSE_MDI_ARCHITECTURE 0
406 #define wxUSE_PRINTING_ARCHITECTURE 0
410 #define wxUSE_GLCANVAS 0
413 #define wxUSE_CLIPBOARD 0
415 #define wxUSE_DATAOBJ 0
417 #define wxUSE_DRAG_AND_DROP 0
419 #define wxUSE_ACCESSIBILITY 0
422 #define wxUSE_SNGLINST_CHECKER 0
424 #define wxUSE_DRAGIMAGE 0
430 #define wxUSE_MS_HTML_HELP 0
433 #define wxUSE_WXHTML_HELP 0
435 #define wxUSE_RESOURCES 0
437 #define wxUSE_CONSTRAINTS 0
440 #define wxUSE_SPLINES 0
443 #define wxUSE_MOUSEWHEEL 0
447 #define wxUSE_POSTSCRIPT 0
449 #define wxUSE_AFM_FOR_POSTSCRIPT 0
454 #define wxODBC_FWD_ONLY_CURSORS 0
456 #define wxODBC_BACKWARD_COMPATABILITY 0
459 #define REMOVE_UNUSED_ARG 0
461 #define wxUSE_IOSTREAMH 0
465 #define wxUSE_IMAGE 0
467 #define wxUSE_LIBPNG 0
469 #define wxUSE_LIBJPEG 0
471 #define wxUSE_LIBTIFF 0
483 #define wxUSE_ICO_CUR 0
485 #define wxUSE_PALETTE 0
487 /* --- end common options --- */
489 /* for some features we don't have dedicated configure switches, so just choose
490 * the common values automatically */
491 #if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__)
492 #define wxUSE_OWNER_DRAWN 1
495 #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
496 #define wxUSE_RICHEDIT 1
498 #define wxUSE_RICHEDIT 0
507 * Define if your compiler supports the explicit keyword
512 * Define if your compiler supports const_cast<>()
514 #undef HAVE_CONST_CAST
517 * Define if your compiler supports reinterpret_cast<>()
519 #undef HAVE_REINTERPRET_CAST
522 * Define if your compiler supports static_cast<>()
524 #undef HAVE_STATIC_CAST
527 * Define if your compiler has C99 va_copy
532 * Define if va_list type is an array
534 #undef VA_LIST_IS_ARRAY
537 * Define if your compiler has std::wstring
539 #undef HAVE_STD_WSTRING
541 * Define if your compiler has compliant std::string::compare
543 #undef HAVE_STD_STRING_COMPARE
545 * Define if your compiler has <hash_map>
549 * Define if your compiler has <ext/hash_map>
551 #undef HAVE_EXT_HASH_MAP
553 * Define if your compiler has std::hash_map/hash_set
555 #undef HAVE_STD_HASH_MAP
557 * Define if your compiler has __gnu_cxx::hash_map/hash_set
559 #undef HAVE_GNU_CXX_HASH_MAP
562 * The built-in regex supports advanced REs in additional to POSIX's basic
563 * and extended. Your system regex probably won't support this, and in this
564 * case WX_NO_REGEX_ADVANCED should be defined.
566 #undef WX_NO_REGEX_ADVANCED
568 * Use SDL for audio (Unix)
570 #define wxUSE_LIBSDL 0
572 * Use GNOME print for printing under GTK+ 2.0
574 #define wxUSE_LIBGNOMEPRINT 0
578 #define wxUSE_BUILTIN_IODBC 0
582 #define wxUSE_FREETYPE 0
586 #define wxHAVE_GLIBC2 0
590 #define wxHAVE_LIB_XPM 0
592 * Use consistent PostScript fonts for AFM and printing (!)
594 #define wxUSE_NORMALIZED_PS_FONTS 0
597 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
602 #define wxUSE_OPENGL 0
605 * Set to 1 to compile MS Windows XP theme engine support
607 #define wxUSE_UXTHEME 1
610 * Set to 1 to auto-adapt to MS Windows XP themes where possible
611 * (notably, wxNotebook pages)
613 #define wxUSE_UXTHEME_AUTO 1
616 * Work around a bug in GNU libc 5.x wcstombs() implementation.
618 * Note that you must link your programs with libc.a if you enable this and you
619 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
620 * thread-safe version of wcstombs()).
622 #define wxUSE_WCSRTOMBS 0
625 * Use the new experimental implementation of wxString::Printf()?
627 * Warning: enabling this may cause internal compiler errors with gcc!
629 #define wxUSE_EXPERIMENTAL_PRINTF 0
632 * Use wxGetResource & wxWriteResource (change .Xdefaults)
634 #define wxUSE_X_RESOURCES 0
640 /* for compatibility */
641 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
644 * Use MS HTML Help via libmspack (Unix)
646 #define wxUSE_LIBMSPACK 0
649 * Matthews garbage collection (used for MrEd?)
651 #define WXGARBAGE_COLLECTION_ON 0
656 #define wxUSE_WEBKIT 0
659 * The const keyword is being introduced more in wxWindows.
660 * You can use this setting to maintain backward compatibility.
661 * If 0: will use const wherever possible.
662 * If 1: will use const only where necessary
663 * for precompiled headers to work.
664 * If 2: will be totally backward compatible, but precompiled
665 * headers may not work and program size will be larger.
667 #define CONST_COMPATIBILITY 0
669 /* define with the name of timezone variable */
672 /* The type of 3rd argument to getsockname() - usually size_t or int */
675 /* The type of 5th argument to getsockopt() - usually size_t or int */
678 /* The type of statvfs(2) argument */
681 /* The signal handler prototype */
682 #undef wxTYPE_SA_HANDLER
684 /* gettimeofday() usually takes 2 arguments, but some really old systems might
685 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
686 #undef WX_GETTIMEOFDAY_NO_TZ
688 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
689 #undef WX_GMTOFF_IN_TM
691 /* Define if you have poll(2) function */
694 /* Define if you have pw_gecos field in struct passwd */
697 /* Define if you have __cxa_demangle() in <cxxabi.h> */
698 #undef HAVE_CXA_DEMANGLE
700 /* Define if you have dlopen() */
703 /* Define if you have gettimeofday() */
704 #undef HAVE_GETTIMEOFDAY
706 /* Define if you have ftime() */
709 /* Define if you have support for large (64 bit size) files */
710 #undef HAVE_LARGEFILE_SUPPORT
712 /* Define if you have localtime() */
713 #undef HAVE_LOCALTIME
715 /* Define if you have nanosleep() */
716 #undef HAVE_NANOSLEEP
718 /* Define if you have sched_yield */
719 #undef HAVE_SCHED_YIELD
721 /* Define if you have pthread_mutexattr_t and functions to work with it */
722 #undef HAVE_PTHREAD_MUTEXATTR_T
724 /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
725 #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
727 /* Define if you have pthread_cancel */
728 #undef HAVE_PTHREAD_CANCEL
730 /* Define if you have sigaction() */
731 #undef HAVE_SIGACTION
733 /* Define if you have sigemptyset() */
734 #undef HAVE_SIGEMPTYSET
736 /* Define if you have shl_load() */
739 /* define if you have statfs function */
742 /* define if you have statvfs function */
745 /* Define if you have strptime() */
748 /* Define if you have all functions to set thread priority */
749 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
751 /* Define if you can specify exit functions to a thread */
752 #undef HAVE_THREAD_CLEANUP_FUNCTIONS
754 /* Define if you have timegm() function */
757 /* Define if you have vsnprintf() */
758 #undef HAVE_VSNPRINTF
760 /* Define if you have vsnprintf() declaration in the header */
761 #undef HAVE_VSNPRINTF_DECL
763 /* Define if you have usleep() */
766 /* Define if you have wcslen function */
769 /* define if you have vsscanf function */
772 /* The number of bytes in a char. */
775 /* The number of bytes in a wchar_t. */
776 #undef SIZEOF_WCHAR_T
778 /* The number of bytes in a int. */
781 /* The number of bytes in a pointer. */
784 /* The number of bytes in a long. */
787 /* The number of bytes in a long long. */
788 #undef SIZEOF_LONG_LONG
790 /* The number of bytes in a short. */
793 /* The number of bytes in a size_t. */
796 /* Define if size_t on your machine is the same type as unsigned int. */
797 #undef wxSIZE_T_IS_UINT
799 /* Define if size_t on your machine is the same type as unsigned long. */
800 #undef wxSIZE_T_IS_ULONG
802 /* Define if you have the dlopen function. */
805 /* Define if you have the dlerror function. */
808 /* Define if you have Posix fnctl() function. */
811 /* Define if you have BSD flock() function. */
814 /* Define if you have the gethostname function. */
815 #undef HAVE_GETHOSTNAME
817 /* Define if you have the inet_addr function. */
818 #undef HAVE_INET_ADDR
820 /* Define if you have the inet_aton function. */
821 #undef HAVE_INET_ATON
823 /* Define if you have the mktemp function. */
826 /* Define if you have the mkstemp function. */
829 /* Define if you have the nanosleep function. */
830 #undef HAVE_NANOSLEEP
832 /* Define if you have the putenv function. */
835 /* Define if you have the setenv function. */
838 /* Define if you have the shl_load function. */
841 /* Define if you have strtok_r function. */
844 /* Define if you have thr_setconcurrency function */
845 #undef HAVE_THR_SETCONCURRENCY
847 /* Define if you have the uname function. */
850 /* Define if you have the usleep function. */
853 /* Define if you have the <X11/XKBlib.h> header file. */
854 #undef HAVE_X11_XKBLIB_H
856 /* Define if you have the <X11/extensions/xf86vmode.h> header file. */
857 #undef HAVE_X11_EXTENSIONS_XF86VMODE_H
859 /* Define if you have the fnmatch() function */
862 /* Define if you have the <fnmatch.h> header file. */
863 #undef HAVE_FNMATCH_H
865 /* Define if you have the <iostream> header file. */
868 /* Define if you have the <linux/joystick.h> header file. */
869 #undef HAVE_LINUX_JOYSTICK_H
871 /* Define if you have the <sched.h> header file. */
874 /* Define if you have the <unistd.h> header file. */
877 /* Define if you have the <fcntl.h> header file. */
880 /* Define if you have the <wchar.h> header file. */
883 /* Define if you have the <wcstr.h> header file. */
886 /* Define if you have the <wctype.h> header file. */
889 /* Define if you have the <iconv.h> header file and iconv() symbol. */
892 /* Define as "const" if the declaration of iconv() needs const. */
895 /* Define if you have the <langinfo.h> header file. */
896 #undef HAVE_LANGINFO_H
898 /* Define if you have the <w32api.h> header file (mingw,cygwin). */
901 /* Define if you have the <esd.h> header file. */
904 /* Define if you have the <sys/soundcard.h> header file. */
905 #undef HAVE_SYS_SOUNDCARD_H
907 /* Define if you have a CD-ROM interface known to mmedia. */
908 #undef HAVE_KNOWN_CDROM_INTERFACE
910 /* Define if you have wcsrtombs() function */
911 #undef HAVE_WCSRTOMBS
913 /* Define this if you have wputc() */
916 /* Define this if you have wputchar() */
919 /* Define this if you have putws() */
922 /* Define this if you have fputws() */
925 /* Define this if you have strcasecmp() function in <string.h> */
926 #undef HAVE_STRCASECMP_IN_STRING_H
928 /* Define this if you have strcasecmp() function in <strings.h> */
929 #undef HAVE_STRCASECMP_IN_STRINGS_H
931 /* Define this if you have wprintf() and related functions */
934 /* Define this if you have wprintf() and related functions */
935 #undef HAVE_VSWPRINTF
937 /* Define this if you have _vsnwprintf */
938 #undef HAVE__VSNWPRINTF
940 /* Define if fseeko and ftello are available. */
943 /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
946 /* Define this if you have X11/extensions/shape.h */
949 /* Define this if you have type SPBCDATA */
952 /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
953 #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
955 /* Define if you have Pango xft support */
956 #undef HAVE_PANGO_XFT
958 /* -------------------------------------------------------------------------
959 Win32 adjustments section
960 ------------------------------------------------------------------------- */
964 /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility
965 with wx/msw/setup.h */
966 #define wxUSE_XPM_IN_MSW wxUSE_XPM
968 // Set to 0 to disable PostScript print/preview architecture code under Windows
969 // (just use Windows printing).
970 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
972 #endif /* __WIN32__ */
974 /* --------------------------------------------------------*
975 * This stuff is static, it doesn't get modified directly
979 #include "wx/chkconf.h"
982 define some constants identifying wxWindows version in more details than
983 just the version number
986 /* wxLogChain class available */
987 #define wxHAS_LOG_CHAIN
989 /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
990 #undef wxHAS_WORKING_GTK_DC_BLIT
993 #endif /* __WX_SETUP_H__ */