The issue was that it cannot find a 64 bits type because 'long int' is
32 bits and compilation of the test program with 'long long' failed
due to the use of -pedantic flag (and 'long long' is not part of
ISO C++ 1998 standard). It nevertheless defined _UINT64
which subsequently told systems headers to not redefine uint64 and
caused many compilation error in system headers.
This fixes Tremor autodetection.
tremor/config_types.h typedefs ogg_int64_t, which errors out with
"ISO C++ 1998 does not support ‘long long’" when using -pedantic.
This adapts the check to be similar to the find_type_with_size check, i.e. it
assigns a value to test_array and also returns 0. Should not be required, at
least builtbot went fine, but better be safe and sorry.
Except for the PSP port, nothing is actually using libpng symbols.
It is being linked against if it is available at compile time.
This needlessly creates a dependency.
This changes the set of engine options to ./configure to:
--enable-all-engines
--disable-all-engines
--enable-engine=<engine name>[,<engine name>...]
And if plugins are enabled:
--enable-engine-static=<engine name>[,<engine name>...]
--enable-engine-dynamic=<engine name>[,<engine name>...]
... level is specified
This preserves the old behavior of ports that used to always pass in -Os or -O3
It also allows --disable-release-optimization for those ports to function
This is a holdover from when it was going to warn on a per-engine basis.
This warning is now handled on a per-game basis with ADGF_UNSTABLE and
ADGF_TESTING.
It resulted in a lot of spam in config.h: a define for every single
engine and subengine that looks like this:
define ENGINE_WIP_SCUMM_7_8 false
It was not being used in-tree and I don't see it being used in the near future.
The improvements in this commit are mostly code formatting, variable
abstraction, and in one case, a performance enhancement as calculations
were made a one-time fire rather than being run with every mouse move
event.
On Mac OS X (Darwin), there are minor differences in the 'sed'
and 'install' tools that require slightly different usage. This
distinction has been made in webos.mk, made possible by an
additional flag in ./configure.