disable wxUSE_MEDIACTRL when wxUSE_ALL_FEATURES==no (closes #10415)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-21 17:26:25 +00:00
parent 00aa89f498
commit 055400c94e
2 changed files with 13 additions and 1 deletions

View File

@@ -430,6 +430,14 @@ fi
WX_ARG_DISABLE(all-features,[ --disable-all-features disable all optional features to build minimal library], wxUSE_ALL_FEATURES)
if test "$wxUSE_ALL_FEATURES" = "no"; then
dnl this is a bit ugly but currently we have no choice but to manually
dnl reset all the options with default value of auto if all features are to
dnl be disabled because we can't have an option with default value of
dnl "auto-or-no-if-wxUSE_ALL_FEATURES-is-disabled"
DEFAULT_wxUSE_MEDIACTRL=no
fi
dnl ---------------------------------------------------------------------------
dnl port selection
dnl ---------------------------------------------------------------------------