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

6
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 58069 2009-01-13 12:01:30Z FM .
# From configure.in Id: configure.in 58155 2009-01-16 19:03:26Z VZ .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
#
@@ -3215,6 +3215,10 @@ fi
echo "${ECHO_T}$result" >&6; }
if test "$wxUSE_ALL_FEATURES" = "no"; then
DEFAULT_wxUSE_MEDIACTRL=no
fi
if test "$wxUSE_GUI" = "yes"; then

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 ---------------------------------------------------------------------------