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:
6
configure
vendored
6
configure
vendored
@@ -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
|
||||
|
||||
|
@@ -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 ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user