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 : 15 March 2005 *
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 /* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
128 /* MS-DOS with DJGPP */
131 /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
152 /* --- start common options --- */
160 #define WXWIN_COMPATIBILITY_2_2 1
162 #define WXWIN_COMPATIBILITY_2_4 1
164 #define wxDIALOG_UNIT_COMPATIBILITY 1
168 #define wxUSE_DEBUG_CONTEXT 0
170 #define wxUSE_DEBUGREPORT 0
172 #define wxUSE_MEMORY_TRACING 0
174 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
176 #define wxUSE_DEBUG_NEW_ALWAYS 0
178 #define wxUSE_ON_FATAL_EXCEPTION 0
180 #define wxUSE_STACKWALKER 0
183 #ifndef wxUSE_UNICODE
184 #define wxUSE_UNICODE 0
187 #define wxUSE_UNICODE_MSLU 0
189 #define wxUSE_WCHAR_T 1
192 #define wxUSE_EXCEPTIONS 0
194 #define wxUSE_EXTENDED_RTTI 0
200 #define wxUSE_LOGWINDOW 1
202 #define wxUSE_LOGGUI 1
204 #define wxUSE_LOG_DIALOG 0
206 #define wxUSE_CMDLINE_PARSER 1
208 #define wxUSE_THREADS 1
210 #define wxUSE_STREAMS 1
212 #define wxUSE_STD_IOSTREAM 0
215 #define wxUSE_LONGLONG 1
218 #define wxUSE_FFILE 1
220 #define wxUSE_FSVOLUME 1
222 #define wxUSE_STDPATHS 1
224 #define wxUSE_TEXTBUFFER 1
226 #define wxUSE_TEXTFILE 1
230 #define wxUSE_DATETIME 1
232 #define wxUSE_TIMER 1
234 #define wxUSE_STOPWATCH 1
236 #define wxUSE_CONFIG 1
238 #define wxUSE_CONFIG_NATIVE 0
240 #define wxUSE_DIALUP_MANAGER 1
242 #define wxUSE_DYNLIB_CLASS 1
244 #define wxUSE_DYNAMIC_LOADER 0
246 #define wxUSE_SOCKETS 1
248 #define wxUSE_FILESYSTEM 1
250 #define wxUSE_FS_ZIP 1
252 #define wxUSE_FS_INET 1
254 #define wxUSE_ARCHIVE_STREAMS 1
256 #define wxUSE_ZIPSTREAM 1
260 #define wxUSE_APPLE_IEEE 0
262 #define wxUSE_JOYSTICK 0
264 #define wxUSE_FONTMAP 1
266 #define wxUSE_MIMETYPE 1
268 #define wxUSE_PROTOCOL 1
270 #define wxUSE_PROTOCOL_FILE 1
271 #define wxUSE_PROTOCOL_FTP 1
272 #define wxUSE_PROTOCOL_HTTP 1
276 #define wxUSE_URL_NATIVE 0
278 #define wxUSE_REGEX 0
280 #define wxUSE_SYSTEM_OPTIONS 1
282 #define wxUSE_SOUND 1
284 #define wxUSE_MEDIACTRL 1
286 #define wxUSE_QUICKTIME 1
288 #define wxUSE_DIRECTSHOW 1
290 #define wxUSE_GSTREAMER 0
301 #define wxUSE_CONTROLS 1
304 #define wxUSE_POPUPWIN 0
306 #define wxUSE_POPUPWIN 1
309 #define wxUSE_TIPWINDOW 1
311 #define wxUSE_BUTTON 1
312 #define wxUSE_BMPBUTTON 1
313 #define wxUSE_CALENDARCTRL 1
314 #define wxUSE_CHECKBOX 1
315 #define wxUSE_CHECKLISTBOX 1
316 #define wxUSE_CHOICE 1
317 #define wxUSE_COMBOBOX 1
318 #define wxUSE_DATEPICKCTRL 1
319 #define wxUSE_GAUGE 1
320 #define wxUSE_LISTBOX 1
321 #define wxUSE_LISTCTRL 1
322 #define wxUSE_RADIOBOX 1
323 #define wxUSE_RADIOBTN 1
324 #define wxUSE_SCROLLBAR 1
325 #define wxUSE_SLIDER 1
326 #define wxUSE_SPINBTN 1
327 #define wxUSE_SPINCTRL 1
328 #define wxUSE_STATBOX 1
329 #define wxUSE_STATLINE 1
330 #define wxUSE_STATTEXT 1
331 #define wxUSE_STATBMP 1
332 #define wxUSE_TEXTCTRL 1
333 #if defined (__WXMOTIF__) || defined( __WXGTK__ )
334 #define wxUSE_TOGGLEBTN 1
336 #define wxUSE_TOGGLEBTN 0
338 #define wxUSE_TREECTRL 1
340 #define wxUSE_STATUSBAR 1
342 #define wxUSE_NATIVE_STATUSBAR 0
344 #define wxUSE_TOOLBAR 1
345 #define wxUSE_TOOLBAR_NATIVE 1
347 #define wxUSE_NOTEBOOK 1
349 #define wxUSE_LISTBOOK 1
351 #define wxUSE_CHOICEBOOK 1
353 #define wxUSE_TAB_DIALOG 1
357 #define wxUSE_MINIFRAME 1
360 #define wxUSE_ACCEL 1
362 #define wxUSE_HOTKEY 1
364 #define wxUSE_CARET 1
366 #define wxUSE_DISPLAY 1
368 #define wxUSE_GEOMETRY 1
370 #define wxUSE_IMAGLIST 1
372 #define wxUSE_MENUS 1
376 #define wxUSE_SPLITTER 1
378 #if defined (__WXMOTIF__) || defined( __WXX11__ )
379 #define wxUSE_TOOLTIPS 0
381 #define wxUSE_TOOLTIPS 1
384 #define wxUSE_VALIDATORS 1
387 #define wxUSE_COMMON_DIALOGS 1
389 #define wxUSE_BUSYINFO 1
391 #define wxUSE_CHOICEDLG 1
393 #define wxUSE_COLOURDLG 1
395 #define wxUSE_DIRDLG 1
398 #define wxUSE_FILEDLG 1
400 #define wxUSE_FINDREPLDLG 1
402 #define wxUSE_FONTDLG 1
404 #define wxUSE_MSGDLG 1
406 #define wxUSE_PROGRESSDLG 1
408 #define wxUSE_STARTUP_TIPS 1
410 #define wxUSE_TEXTDLG 1
412 #define wxUSE_NUMBERDLG 1
414 #define wxUSE_SPLASH 1
416 #define wxUSE_WIZARDDLG 1
419 #define wxUSE_METAFILE 1
420 #define wxUSE_ENH_METAFILE 1
421 #define wxUSE_WIN_METAFILES_ALWAYS 1
426 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
428 #define wxUSE_MDI_ARCHITECTURE 1
430 #define wxUSE_PRINTING_ARCHITECTURE 1
434 #define wxUSE_GLCANVAS 1
437 #define wxUSE_CLIPBOARD 1
439 #define wxUSE_DATAOBJ 1
442 #define wxUSE_DRAG_AND_DROP 1
444 #define wxUSE_DRAG_AND_DROP 0
447 #define wxUSE_ACCESSIBILITY 0
450 #define wxUSE_SNGLINST_CHECKER 1
452 #define wxUSE_DRAGIMAGE 1
458 #define wxUSE_MS_HTML_HELP 0
461 #define wxUSE_WXHTML_HELP 1
463 #define wxUSE_RESOURCES 1
468 #define wxUSE_PROLOGIO 1
470 #define wxUSE_CONSTRAINTS 1
473 #define wxUSE_SPLINES 1
476 #define wxUSE_MOUSEWHEEL 1
480 #define wxUSE_POSTSCRIPT 1
482 #define wxUSE_AFM_FOR_POSTSCRIPT 1
486 #define wxODBC_FWD_ONLY_CURSORS 1
488 #define wxODBC_BACKWARD_COMPATABILITY 0
491 #define REMOVE_UNUSED_ARG 1
493 #define wxUSE_IOSTREAMH 1
497 #define wxUSE_IMAGE 1
499 #define wxUSE_LIBPNG 1
501 #define wxUSE_LIBJPEG 1
503 #define wxUSE_LIBTIFF 1
515 #define wxUSE_ICO_CUR 1
517 #define wxUSE_PALETTE 1
519 /* --- end common options --- */
521 /* for some features we don't have dedicated configure switches, so just choose
522 * the common values automatically */
523 #if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__)
524 #define wxUSE_OWNER_DRAWN 1
527 #if defined(__WXPM__)
528 #define wxUSE_OWNER_DRAWN 1
531 /* enable rich edit under Win32 */
532 #if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
533 #define wxUSE_RICHEDIT 1
535 #define wxUSE_RICHEDIT 0
544 * Define if your compiler supports the explicit keyword
546 #define HAVE_EXPLICIT 1
549 * Define if your compiler supports const_cast<>()
551 #define HAVE_CONST_CAST 1
554 * Define if your compiler supports reinterpret_cast<>()
556 #define HAVE_REINTERPRET_CAST 1
559 * Define if your compiler supports const_cast<>()
561 #define HAVE_STATIC_CAST 1
564 * Define if your compiler has C99 va_copy
569 * Define if va_list type is an array
571 #undef VA_LIST_IS_ARRAY
574 * Define if your compiler has std::wstring
576 /* #unfine HAVE_STD_WSTRING */
578 * Define if your compiler has compliant std::string::compare
580 #undef HAVE_STD_STRING_COMPARE
582 * Define if your compiler has <hash_map>
586 * Define if your compiler has <ext/hash_map>
588 #undef HAVE_EXT_HASH_MAP
590 * Define if your compiler has std::hash_map/hash_set
592 #undef HAVE_STD_HASH_MAP
594 * Define if your compiler has __gnu_cxx::hash_map/hash_set
596 #undef HAVE_GNU_CXX_HASH_MAP
599 * The built-in regex supports advanced REs in additional to POSIX's basic
600 * and extended. Your system regex probably won't support this, and in this
601 * case WX_NO_REGEX_ADVANCED should be defined.
603 #undef WX_NO_REGEX_ADVANCED
605 * Use SDL for audio (Unix)
607 #define wxUSE_LIBSDL 0
609 * Use GNOME print for printing under GTK+ 2.0
611 #define wxUSE_LIBGNOMEPRINT 0
615 #define wxUSE_BUILTIN_IODBC 0
619 #define wxUSE_FREETYPE 1
623 #define wxHAVE_GLIBC2 0
627 #define wxHAVE_LIB_XPM 1
629 * Use consistent PostScript fonts for AFM and printing (!)
631 #define wxUSE_NORMALIZED_PS_FONTS 1
634 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
639 #define wxUSE_OPENGL 1
642 * Set to 1 to compile MS Windows XP theme engine support
644 /* #define wxUSE_UXTHEME 1 */
647 * Set to 1 to auto-adapt to MS Windows XP themes where possible
648 * (notably, wxNotebook pages)
650 /* #define wxUSE_UXTHEME_AUTO 1*/
653 * Work around a bug in GNU libc 5.x wcstombs() implementation.
655 * Note that you must link your programs with libc.a if you enable this and you
656 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
657 * thread-safe version of wcstombs()).
659 #define wxUSE_WCSRTOMBS 0
662 * Use the new experimental implementation of wxString::Printf()?
664 * Warning: enabling this may cause internal compiler errors with gcc!
666 #define wxUSE_EXPERIMENTAL_PRINTF 0
669 * Use wxGetResource & wxWriteResource (change .Xdefaults)
671 #define wxUSE_X_RESOURCES 1
677 /* for compatibility */
678 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
681 * Use wxWindows help facility
685 * Use built-in HTML-based help controller
687 #define wxUSE_WXHTML_HELP 1
689 * Use MS HTML Help controller (win32)
691 #define wxUSE_MS_HTML_HELP 0
693 * Use MS HTML Help via libmspack (Unix)
695 #define wxUSE_LIBMSPACK 1
698 * Matthews garbage collection (used for MrEd?)
700 #define WXGARBAGE_COLLECTION_ON 1
705 #define wxUSE_WEBKIT 1
708 * The const keyword is being introduced more in wxWindows.
709 * You can use this setting to maintain backward compatibility.
710 * If 0: will use const wherever possible.
711 * If 1: will use const only where necessary
712 * for precompiled headers to work.
713 * If 2: will be totally backward compatible, but precompiled
714 * headers may not work and program size will be larger.
716 #define CONST_COMPATIBILITY 0
718 /* define with the name of timezone variable */
721 /* The type of 3rd argument to getsockname() - usually size_t or int */
722 #define SOCKLEN_T size_t
724 /* The type of 5th argument to getsockopt() - usually size_t or int */
725 #define SOCKOPTLEN_T size_t
727 /* The type of statvfs(2) argument */
730 /* The signal handler prototype */
731 #undef wxTYPE_SA_HANDLER
733 /* gettimeofday() usually takes 2 arguments, but some really old systems might
734 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
735 #undef WX_GETTIMEOFDAY_NO_TZ
737 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
738 #define WX_GMTOFF_IN_TM
740 /* Define if you have poll(2) function */
743 /* Define if you have pw_gecos field in struct passwd */
746 /* Define if you have __cxa_demangle() in <cxxabi.h> */
747 #undef HAVE_CXA_DEMANGLE
749 /* Define if you have dlopen() */
750 #define HAVE_DLOPEN 1
752 /* Define if you have gettimeofday() */
753 #define HAVE_GETTIMEOFDAY
755 /* Define if you have ftime() */
758 /* Define if you have support for large (64 bit size) files */
759 #undef HAVE_LARGEFILE_SUPPORT
761 /* Define if you have localtime() */
762 #define HAVE_LOCALTIME
764 /* Define if you have nanosleep() */
765 #undef HAVE_NANOSLEEP
767 /* Define if you have sched_yield */
768 #undef HAVE_SCHED_YIELD
770 /* Define if you have pthread_mutexattr_t and functions to work with it */
771 #undef HAVE_PTHREAD_MUTEXATTR_T
773 /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
774 #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
776 /* Define if you have pthread_cancel */
777 #define HAVE_PTHREAD_CANCEL 1
779 /* Define if you have sigaction() */
780 #define HAVE_SIGACTION 1
782 /* Define if you have sigemptyset() */
783 #define HAVE_SIGEMPTYSET 1
785 /* Define if you have the putenv function. */
786 #define HAVE_PUTENV 1
788 /* Define if you have the setenv function. */
791 /* Define if you have shl_load() */
794 /* define if you have statfs function */
797 /* define if you have statvfs function */
800 /* Define if you have strptime() */
801 #define HAVE_STRPTIME 1
803 /* Define if you have all functions to set thread priority */
804 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
806 /* Define if you can specify exit functions to a thread */
807 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
809 /* Define if you have timegm() function */
812 /* Define if you have vsnprintf() */
813 #undef HAVE_VSNPRINTF
815 /* Define if you have vsnprintf() declaration in the header */
816 #undef HAVE_VSNPRINTF_DECL
818 /* Define if you have usleep() */
819 #define HAVE_USLEEP 1
821 /* Define if you have wcslen function */
822 #define HAVE_WCSLEN 1
824 /* define if you have vsscanf function */
827 /* The number of bytes in a char. */
828 #define SIZEOF_CHAR 1
830 /* The number of bytes in a wchar_t. */
831 #define SIZEOF_WCHAR_T 4
833 /* The number of bytes in a int. */
836 /* The number of bytes in a pointer. */
837 #define SIZEOF_VOID_P 4
839 /* The number of bytes in a long. */
840 #define SIZEOF_LONG 4
842 /* The number of bytes in a long long. */
843 #define SIZEOF_LONG_LONG 8
845 /* The number of bytes in a short. */
846 #define SIZEOF_SHORT 2
848 /* The number of bytes in a size_t. */
849 #define SIZEOF_SIZE_T 4
851 /* Define if size_t on your machine is the same type as unsigned int. */
852 #define wxSIZE_T_IS_UINT 1
854 /* Define if size_t on your machine is the same type as unsigned long. */
855 #undef wxSIZE_T_IS_ULONG
857 /* Define if you have the dlopen function. */
858 #define HAVE_DLOPEN 1
860 /* Define if you have the dlerror function. */
861 #define HAVE_DLERROR 1
863 /* Define if you have Posix fnctl() function. */
866 /* Define if you have BSD flock() function. */
869 /* Define if you have the gethostname function. */
870 #define HAVE_GETHOSTNAME 1
872 /* Define if you have the inet_addr function. */
873 #define HAVE_INET_ADDR 1
875 /* Define if you have the inet_aton function. */
876 #undef HAVE_INET_ATON
878 /* Define if you have the mktemp function. */
879 #define HAVE_MKTEMP 1
881 /* Define if you have the mkstemp function. */
882 #define HAVE_MKSTEMP 1
884 /* Define if you have the nanosleep function. */
885 #undef HAVE_NANOSLEEP
887 /* Define if you have the putenv function. */
888 #define HAVE_PUTENV 1
890 /* Define if you have the setenv function. */
893 /* Define if you have the shl_load function. */
896 /* Define if you have strtok_r function. */
899 /* Define if you have thr_setconcurrency function */
900 #undef HAVE_THR_SETCONCURRENCY
902 /* Define if you have the uname function. */
905 /* Define if you have the usleep function. */
906 #define HAVE_USLEEP 1
908 /* Define if you have the <X11/XKBlib.h> header file. */
909 #undef HAVE_X11_XKBLIB_H
911 /* Define if you have the fnmatch() function */
914 /* Define if you have the <fnmatch.h> header file. */
915 #undef HAVE_FNMATCH_H
917 /* Define if you have the <iostream> header file. */
920 /* Define if you have the <linux/joystick.h> header file. */
921 #undef HAVE_LINUX_JOYSTICK_H
923 /* Define if you have the <sched.h> header file. */
926 /* Define if you have the <unistd.h> header file. */
927 #define HAVE_UNISTD_H 1
929 /* Define if you have the <fcntl.h> header file. */
930 #define HAVE_FCNTL_H 1
932 /* Define if you have the <wchar.h> header file. */
933 #define HAVE_WCHAR_H 1
935 /* Define if you have the <wcstr.h> header file. */
938 /* Define if you have the <wctype.h> header file. */
941 /* Define if you have the <iconv.h> header file and iconv() symbol. */
942 #define HAVE_ICONV_H 1
944 /* Define as "const" if the declaration of iconv() needs const. */
947 /* Define if you have the <langinfo.h> header file. */
948 #define HAVE_LANGINFO_H 1
950 /* Define if you have the <w32api.h> header file (mingw,cygwin). */
953 /* Define if you have the <esd.h> header file. */
954 /* #undef HAVE_ESD_H */
956 /* Define if you have the <sys/soundcard.h> header file. */
957 /* #undef HAVE_SYS_SOUNDCARD_H */
959 /* Define if you have wcsrtombs() function */
960 #define HAVE_WCSRTOMBS 1
962 /* Define this if you have wputc() */
965 /* Define this if you have wputchar() */
966 #define HAVE_WPUTCHAR 1
968 /* Define this if you have putws() */
971 /* Define this if you have fputws() */
972 #define HAVE_FPUTWS 1
974 /* Define this if you have strcasecmp() function in <string.h> */
975 #define HAVE_STRCASECMP_IN_STRING_H 1
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 */
981 #define HAVE_WPRINTF 1
983 /* Define this if you have vswprintf() and related functions */
984 #define HAVE_VSWPRINTF 1
986 /* Define this if you have _vsnwprintf */
987 #undef HAVE__VSNWPRINTF
989 /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
992 /* Define if fseeko and ftello are available. */
993 #define HAVE_FSEEKO 1
995 /* Define this is you have X11/extensions/shape.h */
996 #define HAVE_XSHAPE 1
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 you have Pango xft support */
1005 #undef HAVE_PANGO_XFT
1007 /* ---------------------------------------------------------------------
1008 Win32 adjustments section
1009 ---------------------------------------------------------------------
1014 /* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil
1015 with wx/msw/setup.h */
1016 #define wxUSE_XPM_IN_MSW wxUSE_XPM
1018 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
1020 #endif /* __WIN32__ */
1022 /* --------------------------------------------------------*
1023 * This stuff is static, it doesn't get modified directly
1027 #include "wx/chkconf.h"
1030 define some constants identifying wxWindows version in more details t
1031 just the version number
1034 /* wxLogChain class available */
1035 #define wxHAS_LOG_CHAIN 1
1037 /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1038 #define wxHAS_WORKING_GTK_DC_BLIT 1
1040 #endif /* __WX_SETUP_H__ */