]>
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 you have the ANSI C header files. */
45 /* Define this to get extra features from GNU libc. */
48 /* Define to `int' if <sys/types.h> doesn't define. */
51 /* Define if your processor stores words with the most significant
52 byte first (like Motorola and SPARC, unlike Intel and VAX). */
53 #undef WORDS_BIGENDIAN
55 /* Define this if your version of GTK+ is greater than 1.2 */
58 /* Define this if your version of GTK+ is greater than 1.2.7 */
61 /* Define this if your version of GTK+ is greater than 1.3 */
65 * Define to 1 for Unix[-like] system
88 #undef __DATA_GENERAL__
91 /* NanoX (with wxX11) */
94 /* PowerPC Darwin & Mac OS X */
97 /* MS-DOS with DJGPP */
100 /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
113 /* enable native status bar under Win32 */
114 #if defined(__WIN95__) && !defined(__WXUNIVERSAL__)
115 #define wxUSE_NATIVE_STATUSBAR 1
116 #define wxUSE_OWNER_DRAWN 1
119 #if defined(__WXPM__)
120 #define wxUSE_OWNER_DRAWN 1
123 /* enable rich edit under Win32 */
124 #if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__)
125 #define wxUSE_RICHEDIT 1
127 #define wxUSE_RICHEDIT 0
136 * Define if your compiler supports the explicit keyword
143 #define wxUSE_REGEX 0
151 #define wxUSE_LIBPNG 0
155 #define wxUSE_LIBJPEG 0
159 #define wxUSE_LIBTIFF 0
164 #define wxODBC_FWD_ONLY_CURSORS 1
165 #define wxODBC_BACKWARD_COMPATABILITY 0
169 #define wxUSE_FREETYPE 0
173 #define wxUSE_THREADS 0
177 #define wxHAVE_GLIBC2 0
181 #define wxHAVE_LIB_XPM 0
185 #define wxUSE_OPENGL 0
186 #define wxUSE_GLCANVAS 0
193 * Don't use GUI (defined to 1 when compiling/using base only)
195 #define wxUSE_NOGUI 0
198 * Catch fatal program exceptions
200 #define wxUSE_ON_FATAL_EXCEPTION 0
203 * Use wxSingleInstanceChecker class
205 #define wxUSE_SNGLINST_CHECKER 0
208 * Use constraints mechanism
210 #define wxUSE_CONSTRAINTS 0
215 #define wxUSE_VALIDATORS 0
220 #define wxUSE_CONTROLS 0
223 Use wxPopupWindow (useful in wxUniv only for now)
225 #define wxUSE_POPUPWIN 0
230 #define wxUSE_TIPWINDOW 0
235 #define wxUSE_ACCEL 0
240 #define wxUSE_CALENDARCTRL 0
245 #define wxUSE_FILEDLG 0
248 * Use wxFindReplaceDialog
250 #define wxUSE_FINDREPLDLG 0
255 #define wxUSE_FONTDLG 0
258 * Use wxMimeTypesManager and related classes
260 #define wxUSE_MIMETYPE 0
263 * Use wxSystemOptions
265 #define wxUSE_SYSTEM_OPTIONS 0
268 * Use wxMessageDialog (and wxMessageBox)
270 #define wxUSE_MSGDLG 0
273 * Use wxNumberEntryDialog
275 #define wxUSE_NUMBERDLG 0
278 * Use wxTextEntryDialog
280 #define wxUSE_TEXTDLG 0
285 #define wxUSE_STARTUP_TIPS 0
288 * Use progress dialog
290 #define wxUSE_PROGRESSDLG 0
295 #define wxUSE_CHOICEDLG 0
298 * Use colour picker dialog
300 #define wxUSE_COLOURDLG 0
303 * Use directory chooser dialog
305 #define wxUSE_DIRDLG 0
308 * Use wxDragImage class
310 #define wxUSE_DRAGIMAGE 0
313 * Use property sheet classes
315 #define wxUSE_PROPSHEET 0
320 #define wxUSE_WIZARDDLG 0
325 #define wxUSE_SPLASH 0
328 * Joystick support (Linux/GTK only)
330 #define wxUSE_JOYSTICK 0
335 #define wxUSE_BUTTON 0
339 #define wxUSE_CARET 0
343 #define wxUSE_BMPBUTTON 0
347 #define wxUSE_CHECKBOX 0
351 #define wxUSE_CHECKLISTBOX 0
355 #define wxUSE_COMBOBOX 0
359 #define wxUSE_CHOICE 0
363 #define wxUSE_GAUGE 0
371 #define wxUSE_NEW_GRID 0
373 * Use the new prototype wxGrid classes
374 * (wxUSE_GRID must also be defined)
376 #define wxUSE_IMAGLIST 0
380 #define wxUSE_LISTBOX 0
384 #define wxUSE_LISTCTRL 0
386 * Use wxMenuBar, wxMenuItem and wxMenu
388 #define wxUSE_MENUS 0
392 #define wxUSE_NOTEBOOK 0
396 #define wxUSE_RADIOBOX 0
400 #define wxUSE_RADIOBTN 0
408 #define wxUSE_SCROLLBAR 0
412 #define wxUSE_SLIDER 0
416 #define wxUSE_SPINBTN 0
420 #define wxUSE_SPINCTRL 0
424 #define wxUSE_SPLITTER 0
428 #define wxUSE_STATBMP 0
432 #define wxUSE_STATBOX 0
436 #define wxUSE_STATLINE 0
440 #define wxUSE_STATTEXT 0
444 #define wxUSE_STATUSBAR 0
448 #define wxUSE_TOGGLEBTN 0
450 * Use Tab dialog class - obsolete, use wxNotebook instead
452 #define wxUSE_TAB_DIALOG 0
454 #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
459 #define wxUSE_TEXTCTRL 0
464 #define wxUSE_TOOLBAR 0
467 * If 1, use the native toolbar, otherwise use the generic version
468 * (wxToolBarSimple) which may also be use together with the native one.
470 #define wxUSE_TOOLBAR_NATIVE 0
473 * Use generic wxToolBar instead of/together with the native one?
475 #define wxUSE_TOOLBAR_SIMPLE 0
477 #if defined(__WXWINE__) || defined(__GNUWIN32__) || defined(__WXPM__)
479 #define wxUSE_BUTTONBAR 1
484 * Use wxTreeLayout class
486 #define wxUSE_TREELAYOUT 0
491 #define wxUSE_TREECTRL 0
494 * Use wxLongLong (a.k.a. int64) class
496 #define wxUSE_LONGLONG 0
499 * Use geometry classes
501 #define wxUSE_GEOMETRY 0
504 * Use wxCmdLineParser class
506 #define wxUSE_CMDLINE_PARSER 0
510 #define wxUSE_DATETIME 0
518 #define wxUSE_FFILE 0
520 * Use wxFSVolume class
522 #define wxUSE_FSVOLUME 1
525 * Use wxTextBuffer class
527 #define wxUSE_TEXTBUFFER 0
529 * Use wxTextFile class
531 #define wxUSE_TEXTFILE 0
534 * Use log classes and logging functions
540 #define wxUSE_LOGWINDOW 0
542 * Use standard GUI logger
544 #define wxUSE_LOGGUI 0
546 * Use old log dialog instead of new wxLogGui
548 #define wxUSE_LOG_DIALOG 0
552 #define wxUSE_STOPWATCH 0
554 * Use time and date classes
556 #define wxUSE_TIMEDATE 0
564 #define wxUSE_CONFIG 0
566 * Use font mapping/conversion classes
568 #define wxUSE_FONTMAP 0
574 * Use wxProtocol and related classes
576 #define wxUSE_PROTOCOL 0
577 #define wxUSE_PROTOCOL_FILE 0
578 #define wxUSE_PROTOCOL_FTP 0
579 #define wxUSE_PROTOCOL_HTTP 0
583 #define wxUSE_STREAMS 0
587 #define wxUSE_SOCKETS 0
591 #define wxUSE_DIALUP_MANAGER 0
593 * Use standard C++ streams if 1. If 0, use wxWin
594 * streams implementation.
596 #define wxUSE_STD_IOSTREAM 0
600 #define wxUSE_DYNLIB_CLASS 0
604 #define wxUSE_DYNAMIC_LOADER 0
609 #define wxUSE_TIMER 0
612 * Use font metric files in GetTextExtent for wxPostScriptDC
613 * Use consistent PostScript fonts for AFM and printing (!)
615 #define wxUSE_AFM_FOR_POSTSCRIPT 0
616 #define wxUSE_NORMALIZED_PS_FONTS 0
619 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
622 * Use PostScript device context
624 #define wxUSE_POSTSCRIPT 0
627 * Compile wxString with some Unicode (wide character) support?
629 #define wxUSE_WCHAR_T 0
632 * Compile wxWindows in Unicode mode (Win32 only for now)?
634 #define wxUSE_UNICODE 0
637 * Use MS Layer for Unicode on Win9X (Win32 only)?
639 #define wxUSE_UNICODE_MSLU 0
647 * Work around a bug in GNU libc 5.x wcstombs() implementation.
649 * Note that you must link your programs with libc.a if you enable this and you
650 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
651 * thread-safe version of wcstombs()).
653 #define wxUSE_WCSRTOMBS 0
656 * Use the new experimental implementation of wxString::Printf()?
658 * Warning: enabling this may cause internal compiler errors with gcc!
660 #define wxUSE_EXPERIMENTAL_PRINTF 0
663 * Use Interprocess communication
667 * Use wxGetResource & wxWriteResource (change .Xdefaults)
669 #define wxUSE_X_RESOURCES 0
673 #define wxUSE_CLIPBOARD 0
677 #define wxUSE_DATAOBJ 0
681 #define wxUSE_TOOLTIPS 0
685 #define wxUSE_DRAG_AND_DROP 0
693 #define wxUSE_SPLINES 0
696 * Use the mdi architecture
698 #define wxUSE_MDI_ARCHITECTURE 0
700 * Use the document/view architecture
702 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
704 * Use the print/preview architecture
706 #define wxUSE_PRINTING_ARCHITECTURE 0
711 #define wxUSE_PROLOGIO 0
713 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
715 #define wxUSE_RESOURCES 0
717 /* for compatibility */
718 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
721 * Use wxWindows help facility
725 * Use built-in HTML-based help controller
727 #define wxUSE_WXHTML_HELP 0
729 * Use MS HTML Help controller (win32)
731 #define wxUSE_MS_HTML_HELP 0
734 * Use iostream.h rather than iostream
736 #define wxUSE_IOSTREAMH 0
738 * Use Apple Ieee-double converter
740 #define wxUSE_APPLE_IEEE 0
742 * Compatibility with 2.0 API.
744 #define WXWIN_COMPATIBILITY_2 0
746 * Compatibility with 2.2 API
748 #define WXWIN_COMPATIBILITY_2_2 0
750 * Enables debugging: memory tracing, assert, etc., contains debug level
754 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
755 * WARNING: this code may not work with all architectures, especially
756 * if alignment is an issue.
758 #define wxUSE_MEMORY_TRACING 0
760 * Enable debugging version of global memory operators new and delete
761 * Disable it, If this causes problems (e.g. link errors)
763 #define wxUSE_DEBUG_NEW_ALWAYS 0
765 * VZ: What does this one do? (FIXME)
767 #define wxUSE_DEBUG_CONTEXT 0
769 * In debug mode, causes new to be defined to
770 * be WXDEBUG_NEW (see object.h). If this causes
771 * problems (e.g. link errors), set this to 0.
773 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
775 * Matthews garbage collection (used for MrEd?)
777 #define WXGARBAGE_COLLECTION_ON 0
781 #define wxUSE_SPLINES 0
783 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
785 #define wxUSE_DYNAMIC_CLASSES 1
788 * Support for metafiles
790 #define wxUSE_METAFILE 0
791 #define wxUSE_ENH_METAFILE 0
796 #define wxUSE_MINIFRAME 0
804 * (virtual) filesystems code
806 #define wxUSE_FILESYSTEM 0
807 #define wxUSE_FS_INET 0
808 #define wxUSE_FS_ZIP 0
811 * A class that shows info window when app is busy
812 * (works exactly like wxBusyCursor)
814 #define wxUSE_BUSYINFO 0
817 * Zip stream for accessing files stored inside .zip archives
819 #define wxUSE_ZIPSTREAM 0
824 #define wxUSE_PALETTE 0
829 #define wxUSE_IMAGE 0
832 * GIF image format support
837 * PCX image format support
842 * IFF image format support
847 * PNM image format support
852 * XPM image format support
857 * MS ICO (and CUR,ANI derivatives) image format support (on any platform)
859 #define wxUSE_ICO_CUR 0
862 * Disable this if your compiler can't cope
863 * with omission of prototype parameters.
865 #define REMOVE_UNUSED_ARG 1
867 * The const keyword is being introduced more in wxWindows.
868 * You can use this setting to maintain backward compatibility.
869 * If 0: will use const wherever possible.
870 * If 1: will use const only where necessary
871 * for precompiled headers to work.
872 * If 2: will be totally backward compatible, but precompiled
873 * headers may not work and program size will be larger.
875 #define CONST_COMPATIBILITY 0
877 /* define with the name of timezone variable */
880 /* The type of 3rd argument to getsockname() - usually size_t or int */
883 /* The signal handler prototype */
884 #undef wxTYPE_SA_HANDLER
886 /* gettimeofday() usually takes 2 arguments, but some really old systems might
887 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
888 #undef WX_GETTIMEOFDAY_NO_TZ
890 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
891 #undef WX_GMTOFF_IN_TM
893 /* Define if you have pw_gecos field in struct passwd */
896 /* Define if you have dlopen() */
899 /* Define if you have gettimeofday() */
900 #undef HAVE_GETTIMEOFDAY
902 /* Define if you have ftime() */
905 /* Define if you have support for large (64 bit size) files */
906 #undef HAVE_LARGEFILE_SUPPORT
908 /* Required by HAVE_LARGEFILE_SUPPORT on some systems */
909 #undef _FILE_OFFSET_BITS
914 /* Define if you have localtime() */
915 #undef HAVE_LOCALTIME
917 /* Define if you have nanosleep() */
918 #undef HAVE_NANOSLEEP
920 /* Define if you have sched_yield */
921 #undef HAVE_SCHED_YIELD
923 /* Define if you have pthread_mutexattr_t and functions to work with it */
924 #undef HAVE_PTHREAD_MUTEXATTR_T
926 /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
927 #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
929 /* Define if you have pthread_cancel */
930 #undef HAVE_PTHREAD_CANCEL
932 /* Define if you have sigaction() */
933 #undef HAVE_SIGACTION
935 /* Define if you have sigemptyset() */
936 #undef HAVE_SIGEMPTYSET
938 /* Define if you have shl_load() */
941 /* define if you have statfs function */
944 /* define if you have statvfs function */
947 /* Define if you have strptime() */
950 /* Define if you have all functions to set thread priority */
951 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
953 /* Define if you can specify exit functions to a thread */
954 #undef HAVE_THREAD_CLEANUP_FUNCTIONS
956 /* Define if you have timegm() function */
959 /* Define if you have vsnprintf() */
960 #undef HAVE_VSNPRINTF
962 /* Define if you have usleep() */
965 /* Define if you have wcslen function */
968 /* define if you have vsscanf function */
971 /* The number of bytes in a char. */
974 /* The number of bytes in a wchar_t. */
975 #undef SIZEOF_WCHAR_T
977 /* The number of bytes in a int. */
980 /* The number of bytes in a int *. */
983 /* The number of bytes in a long. */
986 /* The number of bytes in a long long. */
987 #undef SIZEOF_LONG_LONG
989 /* The number of bytes in a short. */
992 /* Define if size_t on your machine is the same type as unsigned int. */
993 #undef wxSIZE_T_IS_UINT
995 /* Define if size_t on your machine is the same type as unsigned long. */
996 #undef wxSIZE_T_IS_ULONG
998 /* Define if you have the dlopen function. */
1001 /* Define if you have the dlerror function. */
1004 /* Define if you have Posix fnctl() function. */
1007 /* Define if you have BSD flock() function. */
1010 /* Define if you have the gethostname function. */
1011 #undef HAVE_GETHOSTNAME
1013 /* Define if you have the inet_addr function. */
1014 #undef HAVE_INET_ADDR
1016 /* Define if you have the inet_aton function. */
1017 #undef HAVE_INET_ATON
1019 /* Define if you have the mktemp function. */
1022 /* Define if you have the mkstemp function. */
1025 /* Define if you have the nanosleep function. */
1026 #undef HAVE_NANOSLEEP
1028 /* Define if you have the putenv function. */
1031 /* Define if you have the setenv function. */
1034 /* Define if you have the shl_load function. */
1035 #undef HAVE_SHL_LOAD
1037 /* Define if you have strtok_r function. */
1038 #undef HAVE_STRTOK_R
1040 /* Define if you have thr_setconcurrency function */
1041 #undef HAVE_THR_SETCONCURRENCY
1043 /* Define if you have the uname function. */
1046 /* Define if you have the usleep function. */
1049 /* Define if you have the vfork function. */
1052 /* Define if you have the <X11/XKBlib.h> header file. */
1053 #undef HAVE_X11_XKBLIB_H
1055 /* Define if you have the fnmatch() function */
1058 /* Define if you have the <fnmatch.h> header file. */
1059 #undef HAVE_FNMATCH_H
1061 /* Define if you have the <iostream> header file. */
1062 #undef HAVE_IOSTREAM
1064 /* Define if you have the <linux/joystick.h> header file. */
1065 #undef HAVE_LINUX_JOYSTICK_H
1067 /* Define if you have the <sched.h> header file. */
1070 /* Define if you have the <strings.h> header file. */
1071 #undef HAVE_STRINGS_H
1073 /* Define if you have the <unistd.h> header file. */
1074 #undef HAVE_UNISTD_H
1076 /* Define if you have the <fcntl.h> header file. */
1079 /* Define if you have the <wchar.h> header file. */
1082 /* Define if you have the <wcstr.h> header file. */
1085 /* Define if you have the <wctype.h> header file. */
1086 #undef HAVE_WCTYPE_H
1088 /* Define if you have the <iconv.h> header file and iconv() symbol. */
1091 /* Define as "const" if the declaration of iconv() needs const. */
1094 /* Define if you have the <langinfo.h> header file. */
1095 #undef HAVE_LANGINFO_H
1097 /* Define if you have the <w32api.h> header file (mingw,cygwin). */
1098 #undef HAVE_W32API_H
1100 /* Define if you have wcsrtombs() function */
1101 #undef HAVE_WCSRTOMBS
1103 /* Define this if you have fputws() and putwc() */
1106 /* Define this if you have wprintf() and related functions */
1109 /* Define this if you have wprintf() and related functions */
1110 #undef HAVE_VSWPRINTF
1112 /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
1116 /* -------------------------------------------------------------------------
1117 Win32 adjustments section
1118 ------------------------------------------------------------------------- */
1122 /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility
1123 with wx/msw/setup.h */
1124 #define wxUSE_XPM_IN_MSW wxUSE_XPM
1126 #endif /* __WIN32__ */
1128 /* --------------------------------------------------------*
1129 * This stuff is static, it doesn't get modified directly
1133 #include "wx/chkconf.h"
1136 define some constants identifying wxWindows version in more details than
1137 just the version number
1140 /* wxLogChain class available */
1141 #define wxHAS_LOG_CHAIN
1143 /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1144 #undef wxHAS_WORKING_GTK_DC_BLIT
1147 #endif /* __WX_SETUP_H__ */