1 /*****************************************************************************
3 * Template for the set.h file for VMS *
4 * Created from setup.h_in *
5 * Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
6 * Date : 9 November 1999 *
8 *****************************************************************************/
10 /* This define (__WX_SETUP_H__) is used both to insure setup.h is included
11 * only once and to indicate that we are building using configure. */
12 #ifndef __WX_SETUP_H__
13 #define __WX_SETUP_H__
19 #include <wx/vms_x_fix.h>
21 /* never undefine inline or const keywords for C++ compilation */
24 /* Define to empty if the keyword does not work. */
27 /* Define as __inline if that's what the C compiler calls it. */
30 #endif /* __cplusplus */
32 /* fill in with the string wxGetOsDescription() will return */
33 #define WXWIN_OS_DESCRIPTION "OpenVMS"
35 /* the installation location prefix from configure */
36 #undef wxINSTALL_PREFIX
38 /* Define this to get extra features from GNU libc. */
41 /* Define to `int' if <sys/types.h> doesn't define. */
44 /* Define to `int' if <sys/types.h> doesn't define. */
47 /* Define to `long' if <sys/types.h> doesn't define. */
50 /* Define to `int' if <sys/types.h> doesn't define. */
53 /* Define to `unsigned' if <sys/types.h> doesn't define. */
56 /* Define if ssize_t type is available. */
57 #define HAVE_SSIZE_T 1
59 /* Define if you have the ANSI C header files. */
62 /* Define to `int' if <sys/types.h> doesn't define. */
65 /* Define if your processor stores words with the most significant
66 byte first (like Motorola and SPARC, unlike Intel and VAX). */
67 #undef WORDS_BIGENDIAN
69 /* Define this if you want to use GPE features */
70 /* #undef __WXGPE__ */
72 /* Define this if your version of Motif is greater than 2.0 */
73 /* #undef __WXMOTIF20__ */
76 /* Define this if your version of GTK+ is greater than 1.2 */
79 /* Define this if your version of GTK+ is greater than 1.2.7 */
80 #define __WXGTK127__ 1
82 /* Define this if your version of GTK+ is greater than 2.0 */
83 /* #undef __WXGTK20__ */
85 /* Define this if your version of GTK+ is greater than 2.4 */
86 /* #undef __WXGTK24__ */
90 * Define to 1 for Unix[-like] system
119 /* NanoX (with wxX11) */
120 #define wxUSE_NANOX 0
122 /* PowerPC Darwin & Mac OS X */
125 /* MS-DOS with DJGPP */
128 /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
149 /* --- start common options --- */
157 #define WXWIN_COMPATIBILITY_2_2 1
159 #define WXWIN_COMPATIBILITY_2_4 1
161 #define wxDIALOG_UNIT_COMPATIBILITY 1
165 #define wxUSE_DEBUG_CONTEXT 0
167 #define wxUSE_MEMORY_TRACING 0
169 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
171 #define wxUSE_DEBUG_NEW_ALWAYS 0
173 #define wxUSE_ON_FATAL_EXCEPTION 0
175 #define wxUSE_STACKWALKER 0
178 #ifndef wxUSE_UNICODE
179 #define wxUSE_UNICODE 0
182 #define wxUSE_UNICODE_MSLU 0
184 #define wxUSE_WCHAR_T 1
187 #define wxUSE_EXCEPTIONS 0
189 #define wxUSE_EXTENDED_RTTI 0
195 #define wxUSE_LOGWINDOW 1
197 #define wxUSE_LOGGUI 1
199 #define wxUSE_LOG_DIALOG 0
201 #define wxUSE_CMDLINE_PARSER 1
203 #define wxUSE_THREADS 1
205 #define wxUSE_STREAMS 1
207 #define wxUSE_STD_IOSTREAM 0
210 #define wxUSE_LONGLONG 1
213 #define wxUSE_FFILE 1
215 #define wxUSE_FSVOLUME 1
217 #define wxUSE_TEXTBUFFER 1
219 #define wxUSE_TEXTFILE 1
223 #define wxUSE_DATETIME 1
225 #define wxUSE_TIMER 1
227 #define wxUSE_STOPWATCH 1
229 #define wxUSE_CONFIG 1
231 #define wxUSE_CONFIG_NATIVE 0
233 #define wxUSE_DIALUP_MANAGER 1
235 #define wxUSE_DYNLIB_CLASS 1
237 #define wxUSE_DYNAMIC_LOADER 0
239 #define wxUSE_SOCKETS 1
241 #define wxUSE_FILESYSTEM 1
243 #define wxUSE_FS_ZIP 1
245 #define wxUSE_FS_INET 1
247 #define wxUSE_ARCHIVE_STREAMS 1
249 #define wxUSE_ZIPSTREAM 1
253 #define wxUSE_APPLE_IEEE 0
255 #define wxUSE_JOYSTICK 0
257 #define wxUSE_FONTMAP 1
259 #define wxUSE_MIMETYPE 1
261 #define wxUSE_PROTOCOL 1
263 #define wxUSE_PROTOCOL_FILE 1
264 #define wxUSE_PROTOCOL_FTP 1
265 #define wxUSE_PROTOCOL_HTTP 1
269 #define wxUSE_URL_NATIVE 0
271 #define wxUSE_REGEX 0
273 #define wxUSE_SYSTEM_OPTIONS 1
275 #define wxUSE_SOUND 1
277 #define wxUSE_MEDIACTRL 1
279 #define wxUSE_QUICKTIME 1
281 #define wxUSE_DIRECTSHOW 1
283 #define wxUSE_GSTREAMER 0
294 #define wxUSE_CONTROLS 1
297 #define wxUSE_POPUPWIN 0
299 #define wxUSE_POPUPWIN 1
302 #define wxUSE_TIPWINDOW 1
304 #define wxUSE_BUTTON 1
305 #define wxUSE_BMPBUTTON 1
306 #define wxUSE_CALENDARCTRL 1
307 #define wxUSE_CHECKBOX 1
308 #define wxUSE_CHECKLISTBOX 1
309 #define wxUSE_CHOICE 1
310 #define wxUSE_COMBOBOX 1
311 #define wxUSE_DATEPICKCTRL 1
312 #define wxUSE_GAUGE 1
313 #define wxUSE_LISTBOX 1
314 #define wxUSE_LISTCTRL 1
315 #define wxUSE_RADIOBOX 1
316 #define wxUSE_RADIOBTN 1
317 #define wxUSE_SCROLLBAR 1
318 #define wxUSE_SLIDER 1
319 #define wxUSE_SPINBTN 1
320 #define wxUSE_SPINCTRL 1
321 #define wxUSE_STATBOX 1
322 #define wxUSE_STATLINE 1
323 #define wxUSE_STATTEXT 1
324 #define wxUSE_STATBMP 1
325 #define wxUSE_TEXTCTRL 1
326 #if defined (__WXMOTIF__) || defined( __WXGTK__ )
327 #define wxUSE_TOGGLEBTN 1
329 #define wxUSE_TOGGLEBTN 0
331 #define wxUSE_TREECTRL 1
333 #define wxUSE_STATUSBAR 1
335 #define wxUSE_NATIVE_STATUSBAR 0
337 #define wxUSE_TOOLBAR 1
338 #define wxUSE_TOOLBAR_NATIVE 1
340 #define wxUSE_NOTEBOOK 1
342 #define wxUSE_LISTBOOK 1
344 #define wxUSE_CHOICEBOOK 1
346 #define wxUSE_TAB_DIALOG 1
350 #define wxUSE_MINIFRAME 1
353 #define wxUSE_ACCEL 1
355 #define wxUSE_HOTKEY 1
357 #define wxUSE_CARET 1
359 #define wxUSE_DISPLAY 1
361 #define wxUSE_GEOMETRY 1
363 #define wxUSE_IMAGLIST 1
365 #define wxUSE_MENUS 1
369 #define wxUSE_SPLITTER 1
371 #if defined (__WXMOTIF__) || defined( __WXX11__ )
372 #define wxUSE_TOOLTIPS 0
374 #define wxUSE_TOOLTIPS 1
377 #define wxUSE_VALIDATORS 1
380 #define wxUSE_COMMON_DIALOGS 1
382 #define wxUSE_BUSYINFO 1
384 #define wxUSE_CHOICEDLG 1
386 #define wxUSE_COLOURDLG 1
388 #define wxUSE_DIRDLG 1
391 #define wxUSE_FILEDLG 1
393 #define wxUSE_FINDREPLDLG 1
395 #define wxUSE_FONTDLG 1
397 #define wxUSE_MSGDLG 1
399 #define wxUSE_PROGRESSDLG 1
401 #define wxUSE_STARTUP_TIPS 1
403 #define wxUSE_TEXTDLG 1
405 #define wxUSE_NUMBERDLG 1
407 #define wxUSE_SPLASH 1
409 #define wxUSE_WIZARDDLG 1
412 #define wxUSE_METAFILE 1
413 #define wxUSE_ENH_METAFILE 1
414 #define wxUSE_WIN_METAFILES_ALWAYS 1
419 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
421 #define wxUSE_MDI_ARCHITECTURE 1
423 #define wxUSE_PRINTING_ARCHITECTURE 1
427 #define wxUSE_GLCANVAS 1
430 #define wxUSE_CLIPBOARD 1
432 #define wxUSE_DATAOBJ 1
435 #define wxUSE_DRAG_AND_DROP 1
437 #define wxUSE_DRAG_AND_DROP 0
440 #define wxUSE_ACCESSIBILITY 0
443 #define wxUSE_SNGLINST_CHECKER 1
445 #define wxUSE_DRAGIMAGE 1
451 #define wxUSE_MS_HTML_HELP 0
454 #define wxUSE_WXHTML_HELP 1
456 #define wxUSE_RESOURCES 1
461 #define wxUSE_PROLOGIO 1
463 #define wxUSE_CONSTRAINTS 1
466 #define wxUSE_SPLINES 1
469 #define wxUSE_MOUSEWHEEL 1
473 #define wxUSE_POSTSCRIPT 1
475 #define wxUSE_AFM_FOR_POSTSCRIPT 1
479 #define wxODBC_FWD_ONLY_CURSORS 1
481 #define wxODBC_BACKWARD_COMPATABILITY 0
484 #define REMOVE_UNUSED_ARG 1
486 #define wxUSE_IOSTREAMH 1
490 #define wxUSE_IMAGE 1
492 #define wxUSE_LIBPNG 1
494 #define wxUSE_LIBJPEG 1
496 #define wxUSE_LIBTIFF 1
508 #define wxUSE_ICO_CUR 1
510 #define wxUSE_PALETTE 1
512 /* --- end common options --- */
514 /* for some features we don't have dedicated configure switches, so just choose
515 * the common values automatically */
516 #if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__)
517 #define wxUSE_OWNER_DRAWN 1
520 #if defined(__WXPM__)
521 #define wxUSE_OWNER_DRAWN 1
524 /* enable rich edit under Win32 */
525 #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
526 #define wxUSE_RICHEDIT 1
528 #define wxUSE_RICHEDIT 0
537 * Define if your compiler supports the explicit keyword
539 #define HAVE_EXPLICIT 1
542 * Define if your compiler supports const_cast<>()
544 #define HAVE_CONST_CAST 1
547 * Define if your compiler supports reinterpret_cast<>()
549 #define HAVE_REINTERPRET_CAST 1
552 * Define if your compiler supports const_cast<>()
554 #define HAVE_STATIC_CAST 1
557 * Define if your compiler has C99 va_copy
562 * Define if va_list type is an array
564 #undef VA_LIST_IS_ARRAY
567 * Define if your compiler has std::wstring
569 /* #unfine HAVE_STD_WSTRING */
571 * Define if your compiler has compliant std::string::compare
573 #undef HAVE_STD_STRING_COMPARE
575 * Define if your compiler has <hash_map>
579 * Define if your compiler has <ext/hash_map>
581 #undef HAVE_EXT_HASH_MAP
583 * Define if your compiler has std::hash_map/hash_set
585 #undef HAVE_STD_HASH_MAP
587 * Define if your compiler has __gnu_cxx::hash_map/hash_set
589 #undef HAVE_GNU_CXX_HASH_MAP
592 * The built-in regex supports advanced REs in additional to POSIX's basic
593 * and extended. Your system regex probably won't support this, and in this
594 * case WX_NO_REGEX_ADVANCED should be defined.
596 #undef WX_NO_REGEX_ADVANCED
598 * Use SDL for audio (Unix)
600 #define wxUSE_LIBSDL 0
602 * Use GNOME print for printing under GTK+ 2.0
604 #define wxUSE_LIBGNOMEPRINT 0
608 #define wxUSE_BUILTIN_IODBC 0
612 #define wxUSE_FREETYPE 1
616 #define wxHAVE_GLIBC2 0
620 #define wxHAVE_LIB_XPM 1
622 * Use consistent PostScript fonts for AFM and printing (!)
624 #define wxUSE_NORMALIZED_PS_FONTS 1
627 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
632 #define wxUSE_OPENGL 1
635 * Set to 1 to compile MS Windows XP theme engine support
637 /* #define wxUSE_UXTHEME 1 */
640 * Set to 1 to auto-adapt to MS Windows XP themes where possible
641 * (notably, wxNotebook pages)
643 /* #define wxUSE_UXTHEME_AUTO 1*/
646 * Work around a bug in GNU libc 5.x wcstombs() implementation.
648 * Note that you must link your programs with libc.a if you enable this and you
649 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
650 * thread-safe version of wcstombs()).
652 #define wxUSE_WCSRTOMBS 0
655 * Use the new experimental implementation of wxString::Printf()?
657 * Warning: enabling this may cause internal compiler errors with gcc!
659 #define wxUSE_EXPERIMENTAL_PRINTF 0
662 * Use wxGetResource & wxWriteResource (change .Xdefaults)
664 #define wxUSE_X_RESOURCES 1
670 /* for compatibility */
671 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
674 * Use wxWindows help facility
678 * Use built-in HTML-based help controller
680 #define wxUSE_WXHTML_HELP 1
682 * Use MS HTML Help controller (win32)
684 #define wxUSE_MS_HTML_HELP 0
686 * Use MS HTML Help via libmspack (Unix)
688 #define wxUSE_LIBMSPACK 1
691 * Matthews garbage collection (used for MrEd?)
693 #define WXGARBAGE_COLLECTION_ON 1
698 #define wxUSE_WEBKIT 1
701 * The const keyword is being introduced more in wxWindows.
702 * You can use this setting to maintain backward compatibility.
703 * If 0: will use const wherever possible.
704 * If 1: will use const only where necessary
705 * for precompiled headers to work.
706 * If 2: will be totally backward compatible, but precompiled
707 * headers may not work and program size will be larger.
709 #define CONST_COMPATIBILITY 0
711 /* define with the name of timezone variable */
714 /* The type of 3rd argument to getsockname() - usually size_t or int */
715 #define SOCKLEN_T size_t
717 /* The type of 5th argument to getsockopt() - usually size_t or int */
718 #define SOCKOPTLEN_T size_t
720 /* The type of statvfs(2) argument */
723 /* The signal handler prototype */
724 #undef wxTYPE_SA_HANDLER
726 /* gettimeofday() usually takes 2 arguments, but some really old systems might
727 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
728 #undef WX_GETTIMEOFDAY_NO_TZ
730 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
731 #define WX_GMTOFF_IN_TM
733 /* Define if you have poll(2) function */
736 /* Define if you have pw_gecos field in struct passwd */
739 /* Define if you have __cxa_demangle() in <cxxabi.h> */
740 #undef HAVE_CXA_DEMANGLE
742 /* Define if you have dlopen() */
743 #define HAVE_DLOPEN 1
745 /* Define if you have gettimeofday() */
746 #define HAVE_GETTIMEOFDAY
748 /* Define if you have ftime() */
751 /* Define if you have support for large (64 bit size) files */
752 #undef HAVE_LARGEFILE_SUPPORT
754 /* Define if you have localtime() */
755 #define HAVE_LOCALTIME
757 /* Define if you have nanosleep() */
758 #undef HAVE_NANOSLEEP
760 /* Define if you have sched_yield */
761 #undef HAVE_SCHED_YIELD
763 /* Define if you have pthread_mutexattr_t and functions to work with it */
764 #undef HAVE_PTHREAD_MUTEXATTR_T
766 /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
767 #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
769 /* Define if you have pthread_cancel */
770 #define HAVE_PTHREAD_CANCEL 1
772 /* Define if you have sigaction() */
773 #define HAVE_SIGACTION 1
775 /* Define if you have sigemptyset() */
776 #define HAVE_SIGEMPTYSET 1
778 /* Define if you have the putenv function. */
779 #define HAVE_PUTENV 1
781 /* Define if you have the setenv function. */
784 /* Define if you have shl_load() */
787 /* define if you have statfs function */
790 /* define if you have statvfs function */
793 /* Define if you have strptime() */
794 #define HAVE_STRPTIME 1
796 /* Define if you have all functions to set thread priority */
797 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
799 /* Define if you can specify exit functions to a thread */
800 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
802 /* Define if you have timegm() function */
805 /* Define if you have vsnprintf() */
806 #undef HAVE_VSNPRINTF
808 /* Define if you have vsnprintf() declaration in the header */
809 #undef HAVE_VSNPRINTF_DECL
811 /* Define if you have usleep() */
812 #define HAVE_USLEEP 1
814 /* Define if you have wcslen function */
815 #define HAVE_WCSLEN 1
817 /* define if you have vsscanf function */
820 /* The number of bytes in a char. */
821 #define SIZEOF_CHAR 1
823 /* The number of bytes in a wchar_t. */
824 #define SIZEOF_WCHAR_T 4
826 /* The number of bytes in a int. */
829 /* The number of bytes in a pointer. */
830 #define SIZEOF_VOID_P 4
832 /* The number of bytes in a long. */
833 #define SIZEOF_LONG 4
835 /* The number of bytes in a long long. */
836 #define SIZEOF_LONG_LONG 8
838 /* The number of bytes in a short. */
839 #define SIZEOF_SHORT 2
841 /* The number of bytes in a size_t. */
842 #define SIZEOF_SIZE_T 4
844 /* Define if size_t on your machine is the same type as unsigned int. */
845 #define wxSIZE_T_IS_UINT 1
847 /* Define if size_t on your machine is the same type as unsigned long. */
848 #undef wxSIZE_T_IS_ULONG
850 /* Define if you have the dlopen function. */
851 #define HAVE_DLOPEN 1
853 /* Define if you have the dlerror function. */
854 #define HAVE_DLERROR 1
856 /* Define if you have Posix fnctl() function. */
859 /* Define if you have BSD flock() function. */
862 /* Define if you have the gethostname function. */
863 #define HAVE_GETHOSTNAME 1
865 /* Define if you have the inet_addr function. */
866 #define HAVE_INET_ADDR 1
868 /* Define if you have the inet_aton function. */
869 #undef HAVE_INET_ATON
871 /* Define if you have the mktemp function. */
872 #define HAVE_MKTEMP 1
874 /* Define if you have the mkstemp function. */
875 #define HAVE_MKSTEMP 1
877 /* Define if you have the nanosleep function. */
878 #undef HAVE_NANOSLEEP
880 /* Define if you have the putenv function. */
881 #define HAVE_PUTENV 1
883 /* Define if you have the setenv function. */
886 /* Define if you have the shl_load function. */
889 /* Define if you have strtok_r function. */
892 /* Define if you have thr_setconcurrency function */
893 #undef HAVE_THR_SETCONCURRENCY
895 /* Define if you have the uname function. */
898 /* Define if you have the usleep function. */
899 #define HAVE_USLEEP 1
901 /* Define if you have the <X11/XKBlib.h> header file. */
902 #undef HAVE_X11_XKBLIB_H
904 /* Define if you have the fnmatch() function */
907 /* Define if you have the <fnmatch.h> header file. */
908 #undef HAVE_FNMATCH_H
910 /* Define if you have the <iostream> header file. */
913 /* Define if you have the <linux/joystick.h> header file. */
914 #undef HAVE_LINUX_JOYSTICK_H
916 /* Define if you have the <sched.h> header file. */
919 /* Define if you have the <unistd.h> header file. */
920 #define HAVE_UNISTD_H 1
922 /* Define if you have the <fcntl.h> header file. */
923 #define HAVE_FCNTL_H 1
925 /* Define if you have the <wchar.h> header file. */
926 #define HAVE_WCHAR_H 1
928 /* Define if you have the <wcstr.h> header file. */
931 /* Define if you have the <wctype.h> header file. */
934 /* Define if you have the <iconv.h> header file and iconv() symbol. */
935 #define HAVE_ICONV_H 1
937 /* Define as "const" if the declaration of iconv() needs const. */
940 /* Define if you have the <langinfo.h> header file. */
941 #define HAVE_LANGINFO_H 1
943 /* Define if you have the <w32api.h> header file (mingw,cygwin). */
946 /* Define if you have the <esd.h> header file. */
947 /* #undef HAVE_ESD_H */
949 /* Define if you have the <sys/soundcard.h> header file. */
950 /* #undef HAVE_SYS_SOUNDCARD_H */
952 /* Define if you have wcsrtombs() function */
953 #define HAVE_WCSRTOMBS 1
955 /* Define this if you have wputc() */
958 /* Define this if you have wputchar() */
959 #define HAVE_WPUTCHAR 1
961 /* Define this if you have putws() */
964 /* Define this if you have fputws() */
965 #define HAVE_FPUTWS 1
967 /* Define this if you have strcasecmp() function in <string.h> */
968 #define HAVE_STRCASECMP_IN_STRING_H 1
970 /* Define this if you have strcasecmp() function in <strings.h> */
971 #undef HAVE_STRCASECMP_IN_STRINGS_H
973 /* Define this if you have wprintf() and related functions */
974 #define HAVE_WPRINTF 1
976 /* Define this if you have vswprintf() and related functions */
977 #define HAVE_VSWPRINTF 1
979 /* Define this if you have _vsnwprintf */
980 #undef HAVE__VSNWPRINTF
982 /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
985 /* Define if fseeko and ftello are available. */
986 #define HAVE_FSEEKO 1
988 /* Define this is you have X11/extensions/shape.h */
989 #define HAVE_XSHAPE 1
991 /* Define this if you have type SPBCDATA */
994 /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
995 #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
997 /* Define if you have Pango xft support */
998 #undef HAVE_PANGO_XFT
1000 /* ---------------------------------------------------------------------
1001 Win32 adjustments section
1002 ---------------------------------------------------------------------
1007 /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil
1008 with wx/msw/setup.h */
1009 #define wxUSE_XPM_IN_MSW wxUSE_XPM
1011 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
1013 #endif /* __WIN32__ */
1015 /* --------------------------------------------------------*
1016 * This stuff is static, it doesn't get modified directly
1020 #include "wx/chkconf.h"
1023 define some constants identifying wxWindows version in more details t
1024 just the version number
1027 /* wxLogChain class available */
1028 #define wxHAS_LOG_CHAIN 1
1030 /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1031 #define wxHAS_WORKING_GTK_DC_BLIT 1
1033 #endif /* __WX_SETUP_H__ */