Commit graph

18 commits

Author SHA1 Message Date
Vadim Zeitlin
ff59ef301b Merge branch 'master' into webview-chromium 2024-01-17 00:22:39 +01:00
Vadim Zeitlin
e21b27019f Merge branch 'mac-build'
Improve Mac build documentation and build itself.

See #24128.
2024-01-03 20:27:00 +01:00
Vadim Zeitlin
00dff6e3bc Stop using $EGREP in configure.ac unnecessarily
We don't have DISABLED_UTILS or DISABLED_DEMOS variables, so it's
useless to exclude them from the makefiles list -- just stop doing it.

This fixes a problem with using EGREP without preceding AC_PROG_EGREP
with autoconf 2.72, as EGREP is not defined any longer with this
version.

See #24168.
2023-12-29 19:03:28 +01:00
Paul Cornett
ce1d317768 Remove GLU dependency
See #23721
2023-12-28 14:49:42 -08:00
Vadim Zeitlin
7adcc8f954 Don't use arm64 for universal binaries by default under macOS 10
This architecture is supported since macOS 11.
2023-12-19 02:11:06 +01:00
Vadim Zeitlin
be4c71f74b Default to arm64 + x86_64 universal binaries for wxOSX
Using i386 by default isn't useful any more -- but using arm64 is.
2023-12-11 18:30:09 +01:00
Vadim Zeitlin
4816448cff Assume release CEF build by default under Unix
This prevents wxWebViewChromium from referencing debug-only functions
that are not defined in the release build of libcef_dll_wrapper.

Unfortunately, CEF build doesn't provide any way to detect if the
wrappers were built in debug or in release mode, so just assume the
latter and add --enable-cef-debug configure option to build with a debug
build of CEF wrapper if necessary.
2023-09-19 00:36:07 +02:00
Vadim Zeitlin
ae8619b6dd Don't build separate webview_chromium library
Just include wxWebViewChromium in the webview library if it's enabled
during the build.

There doesn't seem to be any reason to build a separate library for it,
it's not really different from the other disabled by default wxWebView
backend (Edge).

And now that we don't need to link with an extra library, there is also
no need to have a separate webview_chromium sample, so just add a
possibility to run webview sample itself using Chromium backend by
setting WX_WEBVIEW_BACKEND environment variable.
2023-09-15 01:56:08 +02:00
Vadim Zeitlin
118ca49284 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.
2023-09-13 21:26:42 +02:00
Vadim Zeitlin
704e5f1419 Improve CEF detection in configure
Check for the libraries too and not just for headers.

Also cache the result of the check.
2023-09-06 03:50:05 +02:00
Vadim Zeitlin
b4380b5f9e Use C++14 by default in configure when using CEF
Don't default to C++11 as CEF headers are not compatible with it, so
configure would succeed but the build would then fail.
2023-09-06 03:50:05 +02:00
Vadim Zeitlin
6762d5eaa5 Merge branch 'master' into webview-chromium
Merge the changes required by wxWebViewChromium, notably support for the
entry hooks and new wxDynamicLibrary::ListLoaded() Unix implementation.
2023-09-06 03:49:49 +02:00
Vadim Zeitlin
aec49d9c9d Use dl_iterate_phdr() in wxDynamicLibrary::ListLoaded()
This has the advantage of returning libraries in their load order, which
is more useful than the unspecified order that was used before.

It also means that this function now has a chance of working under other
systems such as FreeBSD, which also provides dl_iterate_phdr().
2023-09-06 00:40:11 +02:00
Vadim Zeitlin
8ed74043fa Fix configure option for enabling CEF backend
Remove space between WX_ARG_ENABLE and the opening parenthesis, this is
not allowed in m4 syntax.

Also give an error, not a warning, if CEF header is not found as it
should exist if this option was explicitly specified.
2023-08-30 02:03:13 +02:00
Vadim Zeitlin
b6bfdd97c9 Merge branch 'master' into webview-chromium
Update to the latest master.
2023-08-30 02:03:00 +02:00
Vadim Zeitlin
e8fdb66741 Merge branch 'improve-configure'
Modernize configure.

See #23730.
2023-07-28 13:25:52 +02:00
Vadim Zeitlin
d0ebba6f68 Increase required autoconf version to 2.69
This is pretty ancient by now (released 2012-04-24) and anything older
than it is really unlikely to be used on any development machine.
2023-07-24 00:12:05 +02:00
Vadim Zeitlin
a921f558d9 Remove configure.in to configure.ac
This is the extension expected by all non-ancient autoconf versions.
2023-07-24 00:11:26 +02:00
Renamed from configure.in (Browse further)