X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/include/wx/dfb/chkconf.h diff --git a/include/wx/dfb/chkconf.h b/include/wx/dfb/chkconf.h index 860ea06cee..705890fc7b 100644 --- a/include/wx/dfb/chkconf.h +++ b/include/wx/dfb/chkconf.h @@ -17,4 +17,26 @@ # error "wxDirectFB cannot be built without wxUniversal" #endif +#if !wxUSE_CONFIG +# error "wxFileConfig is required by wxDFB port" +#endif + +#if wxUSE_SOCKETS && !wxUSE_CONSOLE_EVENTLOOP +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxSocket requires wxSelectDispatcher in wxDFB" +# else +# undef wxUSE_CONSOLE_EVENTLOOP +# define wxUSE_CONSOLE_EVENTLOOP 1 +# endif +#endif + +#if wxUSE_DATAOBJ +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxDataObject not supported in wxDFB" +# else +# undef wxUSE_DATAOBJ +# define wxUSE_DATAOBJ 0 +# endif +#endif + #endif /* _WX_DFB_CHKCONF_H_ */