configure takes a lot of time
This ticket is a placeholder for configure slowness issue.
I did a quick test to understand why it takes 5x more time to configure in wasm-emscripten, compared to linux for example. Forcing CFLAGS/CXXFLAGS to disable optimizations for conftest.c compilation adds a 5 second speedup.
libvlc configuration: -O0
--------------------
version : 4.0.0-dev
system : emscripten
architecture : wasm32
optimizations : yes
build vlc executable : no
To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
real 0m45.816s
user 0m42.492s
sys 0m8.851s
libvlc configuration: -g -O2 (default)
--------------------
version : 4.0.0-dev
system : emscripten
architecture : wasm32
optimizations : yes
build vlc executable : no
To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
real 0m51.078s
user 0m50.229s
sys 0m10.476s