1 # Need to specify --host and --build to enable cross-compilation mode
2 # See https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Hosts-and-Cross_002dCompilation.html
3 --host=asmjs-local-emscripten
4 --build=x86_64-unknown-linux-gnu
6 # Disable unnecessary stuff
11 --disable-sdremote-bluetooth
12 --disable-gstreamer-0-10
13 --disable-gstreamer-1-0
16 --disable-postgresql-sdbc
17 --disable-firebird-sdbc
25 --disable-report-builder
34 --without-helppack-integration
35 --without-system-dicts
39 # Build fails when disabling these
40 #--disable-cairo-canvas
43 # This helps spotting build errors
46 # Emscripten doesn't support dynamic loading
47 --disable-dynamic-loading
49 # Not sure whether we need this
52 # Specify Emscripten compiler