X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fae866418727b6ee9e524b754cd70a18e5b80c62..61478ea03f87607cc9060e67a8f2656b83448636:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 5f6604c5b2..c808d500f1 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -10,6 +10,8 @@ */ /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */ +#ifndef _WX_CHKCONF_H_ +#define _WX_CHKCONF_H_ /* Platform-specific checking. @@ -35,6 +37,10 @@ # include "wx/x11/chkconf.h" #endif +#ifdef __UNIX__ +# include "wx/unix/chkconf.h" +#endif + #ifdef __WXUNIVERSAL__ # include "wx/univ/chkconf.h" #endif @@ -83,6 +89,14 @@ please keep the options in alphabetical order! */ +#ifndef wxUSE_CONSOLE_EVENTLOOP +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_CONSOLE_EVENTLOOP must be defined." +# else +# define wxUSE_CONSOLE_EVENTLOOP 0 +# endif +#endif /* !defined(wxUSE_CONSOLE_EVENTLOOP) */ + #ifndef wxUSE_CRASHREPORT /* this one is special: as currently it is Windows-only, don't force it to be defined on other platforms */ @@ -1812,6 +1826,15 @@ # endif #endif /* wxUSE_SOCKETS */ +#if wxUSE_SVG && !wxUSE_STREAMS +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_SVG requires wxUSE_STREAMS" +# else +# undef wxUSE_SVG +# define wxUSE_SVG 0 +# endif +#endif /* wxUSE_SVG */ + #if !wxUSE_VARIANT # if wxUSE_DATAVIEWCTRL # ifdef wxABORT_ON_CONFIG_ERROR @@ -1833,3 +1856,5 @@ #endif /* wxUSE_VARIANT */ #endif /* wxUSE_GUI */ + +#endif /* _WX_CHKCONF_H_ */