X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8ba082ece665aa0467cfab0c00d521b58e71e4c..26dddf6c3455f95bef2dcb2a0a514fa0558b50ab:/include/wx/chkconf.h?ds=sidebyside diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 2049b2d224..4d5fd211a2 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -403,6 +403,19 @@ # endif #endif /* !defined(wxUSE_HTML) */ +#ifndef wxUSE_LIBMSPACK +# ifndef __UNIX__ + /* set to 0 on platforms that don't have libmspack */ +# define wxUSE_LIBMSPACK 0 +# else +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_LIBMSPACK must be defined." +# else +# define wxUSE_LIBMSPACK 0 +# endif +# endif +#endif /* !defined(wxUSE_LIBMSPACK) */ + #ifndef wxUSE_ICO_CUR # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_ICO_CUR must be defined." @@ -765,6 +778,17 @@ # endif #endif /* wxUSE_PROTOCOL */ +#if wxUSE_GZSTREAM +# if !wxUSE_ZLIB +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_GZSTREAM requires wxUSE_ZLIB" +# else +# undef wxUSE_ZLIB +# define wxUSE_ZLIB 1 +# endif +# endif +#endif /* wxUSE_GZSTREAM */ + /* have to test for wxUSE_HTML before wxUSE_FILESYSTEM */ #if wxUSE_HTML # if !wxUSE_FILESYSTEM