Disable wxMediaCtrl and wxWebView when OLE is disabled in wxMSW
Avoid errors in wx/msw/chkconf.h during compilation by proactively turning these options off in configure if wxUSE_OLE==0.
This commit is contained in:
parent
37d8b6018c
commit
db846f15ab
2 changed files with 25 additions and 1 deletions
14
configure
vendored
14
configure
vendored
|
|
@ -35450,9 +35450,21 @@ if test "$USE_WIN32" = 1 ; then
|
|||
|
||||
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
|
||||
else
|
||||
wxUSE_CLIPBOARD=no
|
||||
wxUSE_CLIPBOARD=no
|
||||
wxUSE_DRAG_AND_DROP=no
|
||||
wxUSE_DATAOBJ=no
|
||||
|
||||
if test "$wxUSE_MEDIACTRL" = "yes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMediaCtrl requires wxUSE_OLE... disabled" >&5
|
||||
$as_echo "$as_me: WARNING: wxMediaCtrl requires wxUSE_OLE... disabled" >&2;}
|
||||
wxUSE_MEDIACTRL=no
|
||||
fi
|
||||
|
||||
if test "$wxUSE_WEBVIEW" = "yes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView requires wxUSE_OLE... disabled" >&5
|
||||
$as_echo "$as_me: WARNING: wxWebView requires wxUSE_OLE... disabled" >&2;}
|
||||
wxUSE_WEBVIEW=no
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue