]>
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. */
6 /* never undefine inline or const keywords for C++ compilation */
9 /* Define to empty if the keyword does not work. */
12 /* Define as __inline if that's what the C compiler calls it. */
15 #endif /* __cplusplus */
17 /* fill in with the string wxGetOsDescription() will return */
18 #undef WXWIN_OS_DESCRIPTION
20 /* the installation location prefix from configure */
21 #undef wxINSTALL_PREFIX
23 /* Define to `int' if <sys/types.h> doesn't define. */
26 /* Define to `int' if <sys/types.h> doesn't define. */
29 /* Define to `long' if <sys/types.h> doesn't define. */
32 /* Define to `int' if <sys/types.h> doesn't define. */
35 /* Define to `unsigned' if <sys/types.h> doesn't define. */
38 /* Define if ssize_t type is available. */
41 /* Define if you have the ANSI C header files. */
44 /* Define this to get extra features from GNU libc. */
49 /* Define to `int' if <sys/types.h> doesn't define. */
52 /* Define if your processor stores words with the most significant
53 byte first (like Motorola and SPARC, unlike Intel and VAX). */
54 #undef WORDS_BIGENDIAN
56 /* Define this if your version of GTK+ is greater than 1.2 */
59 /* Define this if your version of GTK+ is greater than 1.2.7 */
62 /* Define this if your version of GTK+ is greater than 2.0 */
65 /* Define this if your version of GTK+ is greater than 2.4 */
68 /* Define this if you want to use GPE features */
71 /* Define this if your version of Motif is greater than 2.0 */
74 /* Define this if you are using Lesstif */
78 * Define to 1 for Unix[-like] system
107 /* NanoX (with wxX11) */
108 #define wxUSE_NANOX 0
110 /* PowerPC Darwin & Mac OS X */
114 /* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
117 /* MS-DOS with DJGPP */
120 /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
144 /* --- start common options --- */
151 #define WXWIN_COMPATIBILITY_2_4 0
153 #define WXWIN_COMPATIBILITY_2_6 0
155 #define wxDIALOG_UNIT_COMPATIBILITY 0
159 #define wxUSE_DEBUG_CONTEXT 0
161 #define wxUSE_MEMORY_TRACING 0
163 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
165 #define wxUSE_DEBUG_NEW_ALWAYS 0
167 #define wxUSE_ON_FATAL_EXCEPTION 0
169 #define wxUSE_STACKWALKER 0
171 #define wxUSE_DEBUGREPORT 0
174 #ifndef wxUSE_UNICODE
175 #define wxUSE_UNICODE 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
203 #define wxUSE_STD_STRING 0
206 #define wxUSE_LONGLONG 0
209 #define wxUSE_FFILE 0
211 #define wxUSE_FSVOLUME 0
213 #define wxUSE_STDPATHS 0
215 #define wxUSE_TEXTBUFFER 0
217 #define wxUSE_TEXTFILE 0
221 #define wxUSE_DATETIME 0
223 #define wxUSE_TIMER 0
225 #define wxUSE_STOPWATCH 0
227 #define wxUSE_CONFIG 0
229 #define wxUSE_CONFIG_NATIVE 0
231 #define wxUSE_DIALUP_MANAGER 0
233 #define wxUSE_DYNLIB_CLASS 0
235 #define wxUSE_DYNAMIC_LOADER 0
237 #define wxUSE_SOCKETS 0
239 #define wxUSE_FILESYSTEM 0
241 #define wxUSE_FS_ZIP 0
243 #define wxUSE_FS_INET 0
245 #define wxUSE_ARCHIVE_STREAMS 0
247 #define wxUSE_ZIPSTREAM 0
251 #define wxUSE_APPLE_IEEE 0
253 #define wxUSE_JOYSTICK 0
255 #define wxUSE_FONTMAP 0
257 #define wxUSE_MIMETYPE 0
259 #define wxUSE_PROTOCOL 0
261 #define wxUSE_PROTOCOL_FILE 0
262 #define wxUSE_PROTOCOL_FTP 0
263 #define wxUSE_PROTOCOL_HTTP 0
267 #define wxUSE_URL_NATIVE 0
269 #define wxUSE_REGEX 0
271 #define wxUSE_SYSTEM_OPTIONS 0
273 #define wxUSE_SOUND 0
275 #define wxUSE_MEDIACTRL 0
277 #define wxUSE_GSTREAMER 0
288 #define wxUSE_CONTROLS 0
290 #define wxUSE_POPUPWIN 0
292 #define wxUSE_TIPWINDOW 0
294 #define wxUSE_BUTTON 0
295 #define wxUSE_BMPBUTTON 0
296 #define wxUSE_CALENDARCTRL 0
297 #define wxUSE_CHECKBOX 0
298 #define wxUSE_CHECKLISTBOX 0
299 #define wxUSE_CHOICE 0
300 #define wxUSE_COMBOBOX 0
301 #define wxUSE_DATEPICKCTRL 0
302 #define wxUSE_GAUGE 0
303 #define wxUSE_LISTBOX 0
304 #define wxUSE_LISTCTRL 0
305 #define wxUSE_RADIOBOX 0
306 #define wxUSE_RADIOBTN 0
307 #define wxUSE_SCROLLBAR 0
308 #define wxUSE_SLIDER 0
309 #define wxUSE_SPINBTN 0
310 #define wxUSE_SPINCTRL 0
311 #define wxUSE_STATBOX 0
312 #define wxUSE_STATLINE 0
313 #define wxUSE_STATTEXT 0
314 #define wxUSE_STATBMP 0
315 #define wxUSE_TEXTCTRL 0
316 #define wxUSE_TOGGLEBTN 0
317 #define wxUSE_TREECTRL 0
319 #define wxUSE_STATUSBAR 0
321 #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_TREEBOOK 0
334 #define wxUSE_TAB_DIALOG 0
338 #define wxUSE_MINIFRAME 0
341 #define wxUSE_ACCEL 0
343 #define wxUSE_HOTKEY 0
345 #define wxUSE_CARET 0
347 #define wxUSE_DISPLAY 0
349 #define wxUSE_GEOMETRY 0
351 #define wxUSE_IMAGLIST 0
353 #define wxUSE_MENUS 0
357 #define wxUSE_SPLITTER 0
359 #define wxUSE_TOOLTIPS 0
361 #define wxUSE_VALIDATORS 0
364 #define wxUSE_COMMON_DIALOGS 0
366 #define wxUSE_BUSYINFO 0
368 #define wxUSE_CHOICEDLG 0
370 #define wxUSE_COLOURDLG 0
372 #define wxUSE_DIRDLG 0
375 #define wxUSE_FILEDLG 0
377 #define wxUSE_FINDREPLDLG 0
379 #define wxUSE_FONTDLG 0
381 #define wxUSE_MSGDLG 0
383 #define wxUSE_PROGRESSDLG 0
385 #define wxUSE_STARTUP_TIPS 0
387 #define wxUSE_TEXTDLG 0
389 #define wxUSE_NUMBERDLG 0
391 #define wxUSE_SPLASH 0
393 #define wxUSE_WIZARDDLG 0
396 #define wxUSE_METAFILE 0
397 #define wxUSE_ENH_METAFILE 0
398 #define wxUSE_WIN_METAFILES_ALWAYS 0
403 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
405 #define wxUSE_MDI_ARCHITECTURE 0
407 #define wxUSE_PRINTING_ARCHITECTURE 0
411 #define wxUSE_GLCANVAS 0
413 #define wxUSE_RICHTEXT 0
416 #define wxUSE_CLIPBOARD 0
418 #define wxUSE_DATAOBJ 0
420 #define wxUSE_DRAG_AND_DROP 0
422 #define wxUSE_ACCESSIBILITY 0
425 #define wxUSE_SNGLINST_CHECKER 0
427 #define wxUSE_DRAGIMAGE 0
433 #define wxUSE_MS_HTML_HELP 0
436 #define wxUSE_WXHTML_HELP 0
438 #define wxUSE_RESOURCES 0
440 #define wxUSE_CONSTRAINTS 0
443 #define wxUSE_SPLINES 0
446 #define wxUSE_MOUSEWHEEL 0
450 #define wxUSE_POSTSCRIPT 0
452 #define wxUSE_AFM_FOR_POSTSCRIPT 0
457 #define wxODBC_FWD_ONLY_CURSORS 0
459 #define wxODBC_BACKWARD_COMPATABILITY 0
462 #define REMOVE_UNUSED_ARG 0
464 #define wxUSE_IOSTREAMH 0
468 #define wxUSE_IMAGE 0
470 #define wxUSE_LIBPNG 0
472 #define wxUSE_LIBJPEG 0
474 #define wxUSE_LIBTIFF 0
486 #define wxUSE_ICO_CUR 0
488 #define wxUSE_PALETTE 0
490 /* --- end common options --- */
492 /* for some features we don't have dedicated configure switches, so just choose
493 * the common values automatically */
494 #if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__)
495 #define wxUSE_OWNER_DRAWN 1
497 #define wxUSE_OWNER_DRAWN 0
500 #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
501 #define wxUSE_RICHEDIT 1
502 #define wxUSE_RICHEDIT2 1
504 #define wxUSE_RICHEDIT 0
505 #define wxUSE_RICHEDIT2 0
508 #define wxUSE_UNICODE_MSLU 0
510 #define wxUSE_DC_CACHEING 0
512 #define wxUSE_GADGETS 0
520 * Define if your compiler supports the explicit keyword
525 * Define if your compiler supports const_cast<>()
527 #undef HAVE_CONST_CAST
530 * Define if your compiler supports reinterpret_cast<>()
532 #undef HAVE_REINTERPRET_CAST
535 * Define if your compiler supports static_cast<>()
537 #undef HAVE_STATIC_CAST
540 * Define if your compiler has C99 va_copy
545 * Define if va_list type is an array
547 #undef VA_LIST_IS_ARRAY
550 * Define if your compiler has std::wstring
552 #undef HAVE_STD_WSTRING
554 * Define if your compiler has compliant std::string::compare
556 #undef HAVE_STD_STRING_COMPARE
558 * Define if your compiler has <hash_map>
562 * Define if your compiler has <ext/hash_map>
564 #undef HAVE_EXT_HASH_MAP
566 * Define if your compiler has std::hash_map/hash_set
568 #undef HAVE_STD_HASH_MAP
570 * Define if your compiler has __gnu_cxx::hash_map/hash_set
572 #undef HAVE_GNU_CXX_HASH_MAP
575 * The built-in regex supports advanced REs in additional to POSIX's basic
576 * and extended. Your system regex probably won't support this, and in this
577 * case WX_NO_REGEX_ADVANCED should be defined.
579 #undef WX_NO_REGEX_ADVANCED
581 * Use SDL for audio (Unix)
583 #define wxUSE_LIBSDL 0
586 * Compile sound backends as plugins
588 #define wxUSE_PLUGINS 0
591 * Use GNOME print for printing under GTK+ 2.0
593 #define wxUSE_LIBGNOMEPRINT 0
597 #define wxUSE_BUILTIN_IODBC 0
601 #define wxUSE_FREETYPE 0
605 #define wxHAVE_GLIBC2 0
609 #define wxHAVE_LIB_XPM 0
611 * Define if you have pthread_cleanup_push/pop()
613 #undef wxHAVE_PTHREAD_CLEANUP
615 * Use consistent PostScript fonts for AFM and printing (!)
617 #define wxUSE_NORMALIZED_PS_FONTS 0
620 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
625 #define wxUSE_OPENGL 0
628 * Set to 1 to compile MS Windows XP theme engine support
630 #define wxUSE_UXTHEME 1
633 * Set to 1 to auto-adapt to MS Windows XP themes where possible
634 * (notably, wxNotebook pages)
636 #define wxUSE_UXTHEME_AUTO 1
639 * Work around a bug in GNU libc 5.x wcstombs() implementation.
641 * Note that you must link your programs with libc.a if you enable this and you
642 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
643 * thread-safe version of wcstombs()).
645 #define wxUSE_WCSRTOMBS 0
648 * Use the new experimental implementation of wxString::Printf()?
650 * Warning: enabling this may cause internal compiler errors with gcc!
652 #define wxUSE_EXPERIMENTAL_PRINTF 0
655 * Use wxGetResource & wxWriteResource (change .Xdefaults)
657 #define wxUSE_X_RESOURCES 0
663 /* for compatibility */
664 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
667 * Use MS HTML Help via libmspack (Unix)
669 #define wxUSE_LIBMSPACK 0
672 * Matthews garbage collection (used for MrEd?)
674 #define WXGARBAGE_COLLECTION_ON 0
679 #define wxUSE_WEBKIT 0
682 * The const keyword is being introduced more in wxWindows.
683 * You can use this setting to maintain backward compatibility.
684 * If 0: will use const wherever possible.
685 * If 1: will use const only where necessary
686 * for precompiled headers to work.
687 * If 2: will be totally backward compatible, but precompiled
688 * headers may not work and program size will be larger.
690 #define CONST_COMPATIBILITY 0
692 /* define with the name of timezone variable */
695 /* The type of 3rd argument to getsockname() - usually size_t or int */
698 /* The type of 5th argument to getsockopt() - usually size_t or int */
701 /* The type of statvfs(2) argument */
704 /* The signal handler prototype */
705 #undef wxTYPE_SA_HANDLER
707 /* gettimeofday() usually takes 2 arguments, but some really old systems might
708 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
709 #undef WX_GETTIMEOFDAY_NO_TZ
711 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
712 #undef WX_GMTOFF_IN_TM
714 /* Define if you have poll(2) function */
717 /* Define if you have pw_gecos field in struct passwd */
720 /* Define if you have __cxa_demangle() in <cxxabi.h> */
721 #undef HAVE_CXA_DEMANGLE
723 /* Define if you have dlopen() */
726 /* Define if you have gettimeofday() */
727 #undef HAVE_GETTIMEOFDAY
729 /* Define if fsync() is available */
732 /* Define if you have ftime() */
735 /* Define if you have support for large (64 bit size) files */
736 #undef HAVE_LARGEFILE_SUPPORT
738 /* Define if you have localtime() */
739 #undef HAVE_LOCALTIME
741 /* Define if you have nanosleep() */
742 #undef HAVE_NANOSLEEP
744 /* Define if you have sched_yield */
745 #undef HAVE_SCHED_YIELD
747 /* Define if you have pthread_mutexattr_t and functions to work with it */
748 #undef HAVE_PTHREAD_MUTEXATTR_T
750 /* Define if you have pthread_mutexattr_settype() declaration */
751 #undef HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL
753 /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
754 #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
756 /* Define if you have pthread_cancel */
757 #undef HAVE_PTHREAD_CANCEL
759 /* Define if you have pthread_attr_setstacksize */
760 #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
762 /* Define if you have sigaction() */
763 #undef HAVE_SIGACTION
765 /* Define if you have sigemptyset() */
766 #undef HAVE_SIGEMPTYSET
768 /* Define if you have shl_load() */
771 /* Define if you have snprintf() */
774 /* Define if you have snprintf() declaration in the header */
775 #undef HAVE_SNPRINTF_DECL
777 /* Define if you have a _broken_ snprintf() declaration in the header,
778 * with 'char*' for the 3rd parameter instead of 'const char*' */
779 #undef HAVE_BROKEN_SNPRINTF_DECL
781 /* define if you have statfs function */
784 /* define if you have statfs prototype */
785 #undef HAVE_STATFS_DECL
787 /* define if you have statvfs function */
790 /* Define if you have strptime() */
793 /* Define if strptime() is declared in headers */
794 #undef HAVE_STRPTIME_DECL
796 /* Define if you have all functions to set thread priority */
797 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
799 /* Define if you have timegm() function */
802 /* Define if you have vsnprintf() */
803 #undef HAVE_VSNPRINTF
805 /* Define if you have vsnprintf() declaration in the header */
806 #undef HAVE_VSNPRINTF_DECL
808 /* Define if you have a _broken_ vsnprintf() declaration in the header,
809 * with 'char*' for the 3rd parameter instead of 'const char*' */
810 #undef HAVE_BROKEN_VSNPRINTF_DECL
812 /* Define if you have usleep() */
815 /* Define if you have wcslen function */
818 /* define if you have vsscanf function */
821 /* The number of bytes in a char. */
824 /* The number of bytes in a wchar_t. */
825 #undef SIZEOF_WCHAR_T
827 /* The number of bytes in a int. */
830 /* The number of bytes in a pointer. */
833 /* The number of bytes in a long. */
836 /* The number of bytes in a long long. */
837 #undef SIZEOF_LONG_LONG
839 /* The number of bytes in a short. */
842 /* The number of bytes in a size_t. */
845 /* Define if size_t on your machine is the same type as unsigned int. */
846 #undef wxSIZE_T_IS_UINT
848 /* Define if size_t on your machine is the same type as unsigned long. */
849 #undef wxSIZE_T_IS_ULONG
851 /* Define if you have the dlopen function. */
854 /* Define if you have the dlerror function. */
857 /* Define if you have Posix fnctl() function. */
860 /* Define if you have BSD flock() function. */
863 /* Define if you have the gethostname function. */
864 #undef HAVE_GETHOSTNAME
866 /* Define if you have the inet_addr function. */
867 #undef HAVE_INET_ADDR
869 /* Define if you have the inet_aton function. */
870 #undef HAVE_INET_ATON
872 /* Define if you have the mktemp function. */
875 /* Define if you have the mkstemp function. */
878 /* Define if you have the nanosleep function. */
879 #undef HAVE_NANOSLEEP
881 /* Define if you have the putenv function. */
884 /* Define if you have the setenv function. */
887 /* Define if you have the shl_load function. */
890 /* Define if you have strtok_r function. */
893 /* Define if you have thr_setconcurrency function */
894 #undef HAVE_THR_SETCONCURRENCY
896 /* Define if you have the uname function. */
899 /* Define if you have the usleep function. */
902 /* Define if you have the <X11/XKBlib.h> header file. */
903 #undef HAVE_X11_XKBLIB_H
905 /* Define if you have the <X11/extensions/xf86vmode.h> header file. */
906 #undef HAVE_X11_EXTENSIONS_XF86VMODE_H
908 /* Define if you have the fnmatch() function */
911 /* Define if you have the <fnmatch.h> header file. */
912 #undef HAVE_FNMATCH_H
914 /* Define if you have the <iostream> header file. */
917 /* Define if you have the <linux/joystick.h> header file. */
918 #undef HAVE_LINUX_JOYSTICK_H
920 /* Define if you have the <sched.h> header file. */
923 /* Define if you have the <unistd.h> header file. */
926 /* Define if you have the <fcntl.h> header file. */
929 /* Define if you have the <wchar.h> header file. */
932 /* Define if you have the <wcstr.h> header file. */
935 /* Define if you have the <wctype.h> header file. */
938 /* Define if you have the <iconv.h> header file and iconv() symbol. */
941 /* Define as "const" if the declaration of iconv() needs const. */
944 /* Define if you have the <langinfo.h> header file. */
945 #undef HAVE_LANGINFO_H
947 /* Define if you have the <w32api.h> header file (mingw,cygwin). */
950 /* Define if you have the <esd.h> header file. */
953 /* Define if you have the <sys/soundcard.h> header file. */
954 #undef HAVE_SYS_SOUNDCARD_H
956 /* Define if you have a CD-ROM interface known to mmedia. */
957 #undef HAVE_KNOWN_CDROM_INTERFACE
959 /* Define if you have wcsrtombs() function */
960 #undef HAVE_WCSRTOMBS
962 /* Define this if you have wputc() */
965 /* Define this if you have wputchar() */
968 /* Define this if you have putws() */
971 /* Define this if you have fputws() */
974 /* Define this if you have strcasecmp() function in <string.h> */
975 #undef HAVE_STRCASECMP_IN_STRING_H
977 /* Define this if you have strcasecmp() function in <strings.h> */
978 #undef HAVE_STRCASECMP_IN_STRINGS_H
980 /* Define this if you have wprintf() and related functions */
983 /* Define this if you have wprintf() and related functions */
984 #undef HAVE_VSWPRINTF
986 /* Define this if you have _vsnwprintf */
987 #undef HAVE__VSNWPRINTF
989 /* Define if fseeko and ftello are available. */
992 /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
995 /* Define this if you have X11/extensions/shape.h */
998 /* Define this if you have type SPBCDATA */
1001 /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
1002 #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
1004 /* Define if gtk_icon_size_lookup is missing from the GTK+ headers */
1005 #undef NEED_GTK_ICON_SIZE_LOOKUP
1007 /* Define if you have Pango xft support */
1008 #undef HAVE_PANGO_XFT
1010 /* -------------------------------------------------------------------------
1011 Win32 adjustments section
1012 ------------------------------------------------------------------------- */
1016 /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility
1017 with wx/msw/setup.h */
1018 #define wxUSE_XPM_IN_MSW wxUSE_XPM
1020 // Set to 0 to disable PostScript print/preview architecture code under Windows
1021 // (just use Windows printing).
1022 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
1024 #endif /* __WIN32__ */
1026 /* --------------------------------------------------------*
1027 * This stuff is static, it doesn't get modified directly
1031 #include "wx/chkconf.h"
1034 define some constants identifying wxWindows version in more details than
1035 just the version number
1038 /* wxLogChain class available */
1039 #define wxHAS_LOG_CHAIN
1041 /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1042 #undef wxHAS_WORKING_GTK_DC_BLIT
1045 #endif /* __WX_SETUP_H__ */