Improve reporting of enabled wxWebView backends in configure
Don't report "IE" backend as being enabled just because it's enabled by default under MSW. Also give a warning if any of MSW-specific backends is enabled when not building wxMSW.
This commit is contained in:
parent
2ef44570fd
commit
118ca49284
2 changed files with 32 additions and 0 deletions
16
configure
vendored
16
configure
vendored
|
|
@ -12660,6 +12660,11 @@ fi
|
|||
eval "$wx_cv_use_wxdib"
|
||||
|
||||
|
||||
if test "$wxUSE_MSW" != 1; then
|
||||
DEFAULT_wxUSE_WEBVIEW_IE=no
|
||||
fi
|
||||
|
||||
|
||||
enablestring=
|
||||
defaultval=$wxUSE_ALL_FEATURES
|
||||
if test -z "$defaultval"; then
|
||||
|
|
@ -39696,6 +39701,17 @@ fi
|
|||
$as_echo "#define wxUSE_WEBVIEW_EDGE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
else
|
||||
if test "$wxUSE_WEBVIEW_IE" = "yes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView IE backend only available under MSW, ignoring --enable-webviewie" >&5
|
||||
$as_echo "$as_me: WARNING: wxWebView IE backend only available under MSW, ignoring --enable-webviewie" >&2;}
|
||||
wxUSE_WEBVIEW_IE=no
|
||||
fi
|
||||
if test "$wxUSE_WEBVIEW_EDGE" = "yes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView Edge backend only available under MSW, ignoring --enable-webviewedge" >&5
|
||||
$as_echo "$as_me: WARNING: wxWebView Edge backend only available under MSW, ignoring --enable-webviewedge" >&2;}
|
||||
wxUSE_WEBVIEW_EDGE=no
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$wxUSE_WEBVIEW_CHROMIUM" = "yes"; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue