From: Václav Slavík Date: Thu, 22 Nov 2007 13:41:57 +0000 (+0000) Subject: added checks for more wxUSE_SVG dependencies: wxUSE_IMAGE and wxUSE_LIBPNG X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d5cbee178f213c1bae361abca0113646bf323584?ds=inline added checks for more wxUSE_SVG dependencies: wxUSE_IMAGE and wxUSE_LIBPNG git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 0738e43cc7..237b479b54 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1833,6 +1833,24 @@ # endif #endif /* wxUSE_SVG */ +#if wxUSE_SVG && !wxUSE_IMAGE +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_SVG requires wxUSE_IMAGE" +# else +# undef wxUSE_SVG +# define wxUSE_SVG 0 +# endif +#endif /* wxUSE_SVG */ + +#if wxUSE_SVG && !wxUSE_LIBPNG +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_SVG requires wxUSE_LIBPNG" +# else +# undef wxUSE_SVG +# define wxUSE_SVG 0 +# endif +#endif /* wxUSE_SVG */ + #if !wxUSE_VARIANT # if wxUSE_DATAVIEWCTRL # ifdef wxABORT_ON_CONFIG_ERROR