]>
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 #if defined(_MSC_VER) || \
165 (defined(__BORLANDC__) && __BORLANDC__ >= 0x0550)
166 #define wxUSE_ON_FATAL_EXCEPTION 0
168 #define wxUSE_ON_FATAL_EXCEPTION 0
172 #ifndef wxUSE_UNICODE
173 #define wxUSE_UNICODE 0
176 #define wxUSE_UNICODE_MSLU 0
178 #define wxUSE_WCHAR_T 0
181 #define wxUSE_EXCEPTIONS 0
183 #define wxUSE_EXTENDED_RTTI 0
189 #define wxUSE_LOGWINDOW 0
191 #define wxUSE_LOGGUI 0
193 #define wxUSE_LOG_DIALOG 0
195 #define wxUSE_CMDLINE_PARSER 0
197 #define wxUSE_THREADS 0
199 #define wxUSE_STREAMS 0
201 #define wxUSE_STD_IOSTREAM 0
204 #define wxUSE_LONGLONG 0
207 #define wxUSE_FFILE 0
209 #define wxUSE_FSVOLUME 0
211 #define wxUSE_TEXTBUFFER 0
213 #define wxUSE_TEXTFILE 0
217 #define wxUSE_DATETIME 0
219 #define wxUSE_TIMER 0
221 #define wxUSE_STOPWATCH 0
223 #define wxUSE_CONFIG 0
225 #define wxUSE_CONFIG_NATIVE 0
227 #define wxUSE_DIALUP_MANAGER 0
229 #define wxUSE_DYNLIB_CLASS 0
231 #define wxUSE_DYNAMIC_LOADER 0
233 #define wxUSE_SOCKETS 0
235 #define wxUSE_FILESYSTEM 0
237 #define wxUSE_FS_ZIP 0
239 #define wxUSE_FS_INET 0
241 #define wxUSE_ZIPSTREAM 0
245 #define wxUSE_APPLE_IEEE 0
247 #define wxUSE_JOYSTICK 0
249 #define wxUSE_FONTMAP 0
251 #define wxUSE_MIMETYPE 0
253 #define wxUSE_PROTOCOL 0
255 #define wxUSE_PROTOCOL_FILE 0
256 #define wxUSE_PROTOCOL_FTP 0
257 #define wxUSE_PROTOCOL_HTTP 0
261 #define wxUSE_URL_NATIVE 0
263 #define wxUSE_REGEX 0
265 #define wxUSE_SYSTEM_OPTIONS 0
267 #define wxUSE_SOUND 0
269 #define wxUSE_MEDIACTRL 0
271 #define wxUSE_QUICKTIME 0
273 #define wxUSE_DIRECTSHOW 0
284 #define wxUSE_CONTROLS 0
286 #define wxUSE_POPUPWIN 0
288 #define wxUSE_TIPWINDOW 0
290 #define wxUSE_BUTTON 0
291 #define wxUSE_BMPBUTTON 0
292 #define wxUSE_CALENDARCTRL 0
293 #define wxUSE_CHECKBOX 0
294 #define wxUSE_CHECKLISTBOX 0
295 #define wxUSE_CHOICE 0
296 #define wxUSE_COMBOBOX 0
297 #define wxUSE_DATEPICKCTRL 0
298 #define wxUSE_GAUGE 0
299 #define wxUSE_LISTBOX 0
300 #define wxUSE_LISTCTRL 0
301 #define wxUSE_RADIOBOX 0
302 #define wxUSE_RADIOBTN 0
303 #define wxUSE_SCROLLBAR 0
304 #define wxUSE_SLIDER 0
305 #define wxUSE_SPINBTN 0
306 #define wxUSE_SPINCTRL 0
307 #define wxUSE_STATBOX 0
308 #define wxUSE_STATLINE 0
309 #define wxUSE_STATTEXT 0
310 #define wxUSE_STATBMP 0
311 #define wxUSE_TEXTCTRL 0
312 #define wxUSE_TOGGLEBTN 0
313 #define wxUSE_TREECTRL 0
315 #define wxUSE_STATUSBAR 0
317 #if defined(__WXMSW__) || defined(__WXMAC__)
318 #define wxUSE_NATIVE_STATUSBAR 0
320 #define wxUSE_NATIVE_STATUSBAR 0
323 #define wxUSE_TOOLBAR 0
324 #define wxUSE_TOOLBAR_NATIVE 0
326 #define wxUSE_NOTEBOOK 0
328 #define wxUSE_LISTBOOK 0
330 #define wxUSE_CHOICEBOOK 0
332 #define wxUSE_TAB_DIALOG 0
336 #define wxUSE_MINIFRAME 0
339 #define wxUSE_ACCEL 0
341 #define wxUSE_HOTKEY 0
343 #define wxUSE_CARET 0
345 #define wxUSE_DISPLAY 0
347 #define wxUSE_GEOMETRY 0
349 #define wxUSE_IMAGLIST 0
351 #define wxUSE_MENUS 0
355 #define wxUSE_SPLITTER 0
357 #define wxUSE_TOOLTIPS 0
359 #define wxUSE_VALIDATORS 0
362 #define wxUSE_COMMON_DIALOGS 0
364 #define wxUSE_BUSYINFO 0
366 #define wxUSE_CHOICEDLG 0
368 #define wxUSE_COLOURDLG 0
370 #define wxUSE_DIRDLG 0
373 #define wxUSE_FILEDLG 0
375 #define wxUSE_FINDREPLDLG 0
377 #define wxUSE_FONTDLG 0
379 #define wxUSE_MSGDLG 0
381 #define wxUSE_PROGRESSDLG 0
383 #define wxUSE_STARTUP_TIPS 0
385 #define wxUSE_TEXTDLG 0
387 #define wxUSE_NUMBERDLG 0
389 #define wxUSE_SPLASH 0
391 #define wxUSE_WIZARDDLG 0
394 #define wxUSE_METAFILE 0
395 #define wxUSE_ENH_METAFILE 0
396 #define wxUSE_WIN_METAFILES_ALWAYS 0
401 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
403 #define wxUSE_MDI_ARCHITECTURE 0
405 #define wxUSE_PRINTING_ARCHITECTURE 0
409 #define wxUSE_GLCANVAS 0
412 #define wxUSE_CLIPBOARD 0
414 #define wxUSE_DATAOBJ 0
416 #define wxUSE_DRAG_AND_DROP 0
418 #define wxUSE_ACCESSIBILITY 0
421 #define wxUSE_SNGLINST_CHECKER 0
423 #define wxUSE_DRAGIMAGE 0
429 #define wxUSE_MS_HTML_HELP 0
432 #define wxUSE_WXHTML_HELP 0
434 #define wxUSE_RESOURCES 0
436 #define wxUSE_CONSTRAINTS 0
439 #define wxUSE_SPLINES 0
442 #define wxUSE_MOUSEWHEEL 0
446 #define wxUSE_POSTSCRIPT 0
448 #define wxUSE_AFM_FOR_POSTSCRIPT 0
450 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
455 #define wxODBC_FWD_ONLY_CURSORS 0
457 #define wxODBC_BACKWARD_COMPATABILITY 0
460 #define REMOVE_UNUSED_ARG 0
462 #define wxUSE_IOSTREAMH 0
466 #define wxUSE_IMAGE 0
468 #define wxUSE_LIBPNG 0
470 #define wxUSE_LIBJPEG 0
472 #define wxUSE_LIBTIFF 0
484 #define wxUSE_ICO_CUR 0
486 #define wxUSE_PALETTE 0
488 /* --- end common options --- */
490 /* for some features we don't have dedicated configure switches, so just choose
491 * the common values automatically */
492 #if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__)
493 #define wxUSE_OWNER_DRAWN 1
496 #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
497 #define wxUSE_RICHEDIT 1
499 #define wxUSE_RICHEDIT 0
508 * Define if your compiler supports the explicit keyword
513 * Define if your compiler supports const_cast<>()
515 #undef HAVE_CONST_CAST
518 * Define if your compiler supports reinterpret_cast<>()
520 #undef HAVE_REINTERPRET_CAST
523 * Define if your compiler supports static_cast<>()
525 #undef HAVE_STATIC_CAST
528 * Define if your compiler has C99 va_copy
533 * Define if va_list type is an array
535 #undef VA_LIST_IS_ARRAY
538 * Define if your compiler has std::wstring
540 #undef HAVE_STD_WSTRING
542 * Define if your compiler has compliant std::string::compare
544 #undef HAVE_STD_STRING_COMPARE
546 * Define if your compiler has <hash_map>
550 * Define if your compiler has <ext/hash_map>
552 #undef HAVE_EXT_HASH_MAP
554 * Define if your compiler has std::hash_map/hash_set
556 #undef HAVE_STD_HASH_MAP
558 * Define if your compiler has __gnu_cxx::hash_map/hash_set
560 #undef HAVE_GNU_CXX_HASH_MAP
563 * The built-in regex supports advanced REs in additional to POSIX's basic
564 * and extended. Your system regex probably won't support this, and in this
565 * case WX_NO_REGEX_ADVANCED should be defined.
567 #undef WX_NO_REGEX_ADVANCED
569 * Use SDL for audio (Unix)
571 #define wxUSE_LIBSDL 0
573 * Use GNOME print for printing under GTK+ 2.0
575 #define wxUSE_LIBGNOMEPRINT 0
579 #define wxUSE_BUILTIN_IODBC 0
583 #define wxUSE_FREETYPE 0
587 #define wxHAVE_GLIBC2 0
591 #define wxHAVE_LIB_XPM 0
593 * Use consistent PostScript fonts for AFM and printing (!)
595 #define wxUSE_NORMALIZED_PS_FONTS 0
598 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
603 #define wxUSE_OPENGL 0
606 * Set to 1 to compile MS Windows XP theme engine support
608 #define wxUSE_UXTHEME 1
611 * Set to 1 to auto-adapt to MS Windows XP themes where possible
612 * (notably, wxNotebook pages)
614 #define wxUSE_UXTHEME_AUTO 1
617 * Work around a bug in GNU libc 5.x wcstombs() implementation.
619 * Note that you must link your programs with libc.a if you enable this and you
620 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
621 * thread-safe version of wcstombs()).
623 #define wxUSE_WCSRTOMBS 0
626 * Use the new experimental implementation of wxString::Printf()?
628 * Warning: enabling this may cause internal compiler errors with gcc!
630 #define wxUSE_EXPERIMENTAL_PRINTF 0
633 * Use wxGetResource & wxWriteResource (change .Xdefaults)
635 #define wxUSE_X_RESOURCES 0
641 /* for compatibility */
642 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
645 * Use MS HTML Help via libmspack (Unix)
647 #define wxUSE_LIBMSPACK 0
650 * Matthews garbage collection (used for MrEd?)
652 #define WXGARBAGE_COLLECTION_ON 0
657 #define wxUSE_WEBKIT 0
660 * The const keyword is being introduced more in wxWindows.
661 * You can use this setting to maintain backward compatibility.
662 * If 0: will use const wherever possible.
663 * If 1: will use const only where necessary
664 * for precompiled headers to work.
665 * If 2: will be totally backward compatible, but precompiled
666 * headers may not work and program size will be larger.
668 #define CONST_COMPATIBILITY 0
670 /* define with the name of timezone variable */
673 /* The type of 3rd argument to getsockname() - usually size_t or int */
676 /* The type of 5th argument to getsockopt() - usually size_t or int */
679 /* The type of statvfs(2) argument */
682 /* The signal handler prototype */
683 #undef wxTYPE_SA_HANDLER
685 /* gettimeofday() usually takes 2 arguments, but some really old systems might
686 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
687 #undef WX_GETTIMEOFDAY_NO_TZ
689 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
690 #undef WX_GMTOFF_IN_TM
692 /* Define if you have poll(2) function */
695 /* Define if you have pw_gecos field in struct passwd */
698 /* Define if you have dlopen() */
701 /* Define if you have gettimeofday() */
702 #undef HAVE_GETTIMEOFDAY
704 /* Define if you have ftime() */
707 /* Define if you have support for large (64 bit size) files */
708 #undef HAVE_LARGEFILE_SUPPORT
710 /* Define if you have localtime() */
711 #undef HAVE_LOCALTIME
713 /* Define if you have nanosleep() */
714 #undef HAVE_NANOSLEEP
716 /* Define if you have sched_yield */
717 #undef HAVE_SCHED_YIELD
719 /* Define if you have pthread_mutexattr_t and functions to work with it */
720 #undef HAVE_PTHREAD_MUTEXATTR_T
722 /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
723 #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
725 /* Define if you have pthread_cancel */
726 #undef HAVE_PTHREAD_CANCEL
728 /* Define if you have sigaction() */
729 #undef HAVE_SIGACTION
731 /* Define if you have sigemptyset() */
732 #undef HAVE_SIGEMPTYSET
734 /* Define if you have shl_load() */
737 /* define if you have statfs function */
740 /* define if you have statvfs function */
743 /* Define if you have strptime() */
746 /* Define if you have all functions to set thread priority */
747 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
749 /* Define if you can specify exit functions to a thread */
750 #undef HAVE_THREAD_CLEANUP_FUNCTIONS
752 /* Define if you have timegm() function */
755 /* Define if you have vsnprintf() */
756 #undef HAVE_VSNPRINTF
758 /* Define if you have vsnprintf() declaration in the header */
759 #undef HAVE_VSNPRINTF_DECL
761 /* Define if you have usleep() */
764 /* Define if you have wcslen function */
767 /* define if you have vsscanf function */
770 /* The number of bytes in a char. */
773 /* The number of bytes in a wchar_t. */
774 #undef SIZEOF_WCHAR_T
776 /* The number of bytes in a int. */
779 /* The number of bytes in a pointer. */
782 /* The number of bytes in a long. */
785 /* The number of bytes in a long long. */
786 #undef SIZEOF_LONG_LONG
788 /* The number of bytes in a short. */
791 /* The number of bytes in a size_t. */
794 /* Define if size_t on your machine is the same type as unsigned int. */
795 #undef wxSIZE_T_IS_UINT
797 /* Define if size_t on your machine is the same type as unsigned long. */
798 #undef wxSIZE_T_IS_ULONG
800 /* Define if you have the dlopen function. */
803 /* Define if you have the dlerror function. */
806 /* Define if you have Posix fnctl() function. */
809 /* Define if you have BSD flock() function. */
812 /* Define if you have the gethostname function. */
813 #undef HAVE_GETHOSTNAME
815 /* Define if you have the inet_addr function. */
816 #undef HAVE_INET_ADDR
818 /* Define if you have the inet_aton function. */
819 #undef HAVE_INET_ATON
821 /* Define if you have the mktemp function. */
824 /* Define if you have the mkstemp function. */
827 /* Define if you have the nanosleep function. */
828 #undef HAVE_NANOSLEEP
830 /* Define if you have the putenv function. */
833 /* Define if you have the setenv function. */
836 /* Define if you have the shl_load function. */
839 /* Define if you have strtok_r function. */
842 /* Define if you have thr_setconcurrency function */
843 #undef HAVE_THR_SETCONCURRENCY
845 /* Define if you have the uname function. */
848 /* Define if you have the usleep function. */
851 /* Define if you have the <X11/XKBlib.h> header file. */
852 #undef HAVE_X11_XKBLIB_H
854 /* Define if you have the <X11/extensions/xf86vmode.h> header file. */
855 #undef HAVE_X11_EXTENSIONS_XF86VMODE_H
857 /* Define if you have the fnmatch() function */
860 /* Define if you have the <fnmatch.h> header file. */
861 #undef HAVE_FNMATCH_H
863 /* Define if you have the <iostream> header file. */
866 /* Define if you have the <linux/joystick.h> header file. */
867 #undef HAVE_LINUX_JOYSTICK_H
869 /* Define if you have the <sched.h> header file. */
872 /* Define if you have the <unistd.h> header file. */
875 /* Define if you have the <fcntl.h> header file. */
878 /* Define if you have the <wchar.h> header file. */
881 /* Define if you have the <wcstr.h> header file. */
884 /* Define if you have the <wctype.h> header file. */
887 /* Define if you have the <iconv.h> header file and iconv() symbol. */
890 /* Define as "const" if the declaration of iconv() needs const. */
893 /* Define if you have the <langinfo.h> header file. */
894 #undef HAVE_LANGINFO_H
896 /* Define if you have the <w32api.h> header file (mingw,cygwin). */
899 /* Define if you have the <esd.h> header file. */
902 /* Define if you have the <sys/soundcard.h> header file. */
903 #undef HAVE_SYS_SOUNDCARD_H
905 /* Define if you have a CD-ROM interface known to mmedia. */
906 #undef HAVE_KNOWN_CDROM_INTERFACE
908 /* Define if you have wcsrtombs() function */
909 #undef HAVE_WCSRTOMBS
911 /* Define this if you have wputc() */
914 /* Define this if you have wputchar() */
917 /* Define this if you have putws() */
920 /* Define this if you have fputws() */
923 /* Define this if you have strcasecmp() function in <string.h> */
924 #undef HAVE_STRCASECMP_IN_STRING_H
926 /* Define this if you have strcasecmp() function in <strings.h> */
927 #undef HAVE_STRCASECMP_IN_STRINGS_H
929 /* Define this if you have wprintf() and related functions */
932 /* Define this if you have wprintf() and related functions */
933 #undef HAVE_VSWPRINTF
935 /* Define this if you have _vsnwprintf */
936 #undef HAVE__VSNWPRINTF
938 /* Define if fseeko and ftello are available. */
941 /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
944 /* Define this if you have X11/extensions/shape.h */
947 /* Define this if you have type SPBCDATA */
950 /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
951 #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
953 /* Define if you have Pango xft support */
954 #undef HAVE_PANGO_XFT
956 /* -------------------------------------------------------------------------
957 Win32 adjustments section
958 ------------------------------------------------------------------------- */
962 /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility
963 with wx/msw/setup.h */
964 #define wxUSE_XPM_IN_MSW wxUSE_XPM
966 #endif /* __WIN32__ */
968 /* --------------------------------------------------------*
969 * This stuff is static, it doesn't get modified directly
973 #include "wx/chkconf.h"
976 define some constants identifying wxWindows version in more details than
977 just the version number
980 /* wxLogChain class available */
981 #define wxHAS_LOG_CHAIN
983 /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
984 #undef wxHAS_WORKING_GTK_DC_BLIT
987 #endif /* __WX_SETUP_H__ */