aboutsummaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2018-12-06BUILD: Re-introduce hardcoded libz and MAD on DreacmastMarcus Comstedt
The attempts at making a more accurate auto-detection have been postponed, so put the hardcoded enablers back for now.
2018-12-06BUILD: Revert f4fe15fd4d and a85be202deMarcus Comstedt
More work is needed to make this function correctly with SDL on MinGW. Reverting for now.
2018-12-05BUILD: Also add $LIBS in cc_check()Marcus Comstedt
This should hopefully fix the problems caused by -Dmain=SDL_main in the MinGW build.
2018-12-04BUILD: Add $DEFINES and $INCLUDES in cc_check()Marcus Comstedt
When actually compiling things Makefile.common adds these variables to the command line, so they should be there when testing if something can be compiled as well, otherwise we could get both false negatives and positives. This fixes detection of zlib and MAD on Dreamcast, when installed in $RONINDIR.
2018-11-26IOS7: Enable Building Scalers By DefaultD G Turner
This override prevented the previous IOS7 commit to enable software scalers on 2018-11-21 having any effect.
2018-11-213DS: Fix compilation of the test runnerCameron Cawley
2018-11-213DS: Disable 'pedantic' and add bzip2 for FreeType2Nitrus
2018-11-16BUILD: Set PKG_CONFIG_LIBDIR only when needed when running configureBastien Bouclet
Remember if PKG_CONFIG_LIBDIR is set when running configure manually, when automatically running configure, only set PKG_CONFIG_LIBDIR if it was set during the manual run. Fixes #10807.
2018-11-16BUILD: Free the a52 state in the configure compilation testBastien Bouclet
So ASan does not print a leak report in the middle of the configure output when it is enabled.
2018-11-15WIN32: Move the Windows-specific packaging rules into a separate fileCameron Cawley
2018-11-04CONFIGURE: Add detection of liba52Torbjörn Andersson
This is for an experiment aiming to decode audio for the hi-res videos in Zork: Grand Inquisitor. I don't know if we want to add a dependency on liba52, but the license should allow us to include the code verbatim, if that's preferrable.
2018-10-25BUILD: Fix Dreamcast crt0 link orderThomas Sowell
Correct a regression introduced in 7557f17ed2 which caused the Dreamcast to hang at the license screen when running SCUMMVM.BIN from a CD. 7557f17ed2 fixed configure's feature detection by moving crt0.o from LDFLAGS to LIBS, but that changed the linking order resulting in the start symbol from crt0 being located at an address other than 0x8c010000. ELF binaries loaded over serial or TCP/IP were unaffected (presumably because the loaders use the start address from the ELF header instead of a fixed address) which is probably why this went unnoticed. This commit corrects the link order by moving crt0 back into LDFLAGS and adds "-lronin -lm" to LDFLAGS to ensure that configure checks continue to work.
2018-10-25BUILD: Remove flags from translation cc_checkThomas Sowell
Remove $LDFLAGS and $CXXFLAGS from cc_check call in translation support check. Both variables are redundant because they are already expanded in cc_check, and expanding LDFLAGS twice causes duplicate symbol errors for targets that include crt0.o in LDFLAGS.
2018-09-14PS2: Fix compilation with latest PS2SDKCameron Cawley
2018-08-18DREAMCAST: Fix compilationCameron Cawley
2018-08-18BUILD: Update flags for compiling on FreeMiNTColin Snover
2018-08-18BUILD: Use normal host alias auto-prefixing for riscos and amigaosColin Snover
2018-08-18VIDEO: More fixes when building with Theora and TremorCameron Cawley
2018-08-18BUILD: List all used environmental variables in configure helpColin Snover
2018-08-18BUILD: Use split-dwarf debug symbol files by default, when availableColin Snover
This should improve linker time as well as reduce the size of the built binaries (though this does not affect runtime memory usage since the debug segments are not loaded into memory except by a debugger) whilst still giving debug information.
2018-08-18BUILD: Fix broken Dreamcast ronin handling & feature detectionColin Snover
$(ronindir) and the explicit crt0 may have happened to work because library detection state for libmad was forced, but it was always breaking the feature detection of the build system. Now we can compile to Dreamcast using the normal detection system.
2018-08-18BUILD: Remove bogus commentColin Snover
2018-08-18BUILD: Enable Sparkle updates in release modeColin Snover
2018-08-04BUILD: Save the PKG_CONFIG_LIBDIR environment variable across rebuildsBastien Bouclet
2018-08-04BUILD: Check if pkg-config is availableBastien Bouclet
2018-08-04BUILD: Prefer pkg-config over freetype-config if possibleLars Wendler
As of freetype-2.9.1 the freetype-config script no longer gets installed by default.
2018-08-04BUILD: List all used environmental variables in configure helpColin Snover
2018-08-04BUILD: Respect all build tool overrides from environmentColin Snover
Previously, only CXX could be overridden by the environment, which made it impossible to correctly set tools for cross-compiler toolchains which were not compatible with the default system tools.
2018-08-03VIDEO: Fix Theora playback when building with TremorCameron Cawley
2018-07-08CONFIGURE: Use -Wno-pragma-pack only when availableAdrian Frühwirth
2018-07-08CONFIGURE: Reword compiler flag checksAdrian Frühwirth
2018-07-07CONFIGURE: Do not add -Wno-pragma-pack on macOSEugene Sandulenko
macOS' clang does not support this directive (yet), which leads to tons of useless warnings
2018-07-06CONFIGURE: Disable -Wpragma-pack for >=clang-6.0Adrian Frühwirth
Clang 6 enables -Wpragma-pack which warns when leaving an included file which changes the current alignment. Our common/pack-{start,end}.h trigger this and it cannot easily and portably be disabled inside pack-{start,end}.h so we disable it globally for now.
2018-06-29CONFIGURE: JANITORIAL: Fix indentationAdrian Frühwirth
2018-06-15RISCOS: Add a script to open the README file based on the system territoryCameron Cawley
2018-05-30CONFIGURE: Make Bink an engine dependencyCameron Cawley
2018-05-10CONFIGURE: Revert unintended changesEugene Sandulenko
2018-05-10AGOS: Mark 25th Anniversary releases as MT-32 hack, not a fixEugene Sandulenko
2018-04-08AUDIO: add support for OPL2LPTVincent Bernat
The OPL2LPT is an OPL2 chip plugged on a parallel port. It is write-only but otherwise acts as a classic AdLib. This commit adds support for this device. User is expected to have the right permissions on the parallel port. By default, the first suitable parallel port is used. It is possible to override that with the hidden configuration setting "opl2lpt_parport". It depends on the presence of the libieee1284 library which abstracts a bit parallel port handling. An alternative would be to access directly /dev/parportX on Linux. This would amount of code but it would be Linux-only. Tested with Indy 3 and SOMI.
2018-04-07DS: Use -isystem when adding include directories for portlibsCameron Cawley
2018-04-07JANITORIAL: Fix typoCameron Cawley
2018-04-07CONFIGURE: Do not even try to build Nuked OPL when disabledEugene Sandulenko
2018-04-07CONFIGURE: Add option to disable Nuked OPL and disable it on low-end platformsEugene Sandulenko
2018-04-07DS: Fix detection of external librariesCameron Cawley
2018-04-07DS: Disable highres games by defaultCameron Cawley
2018-04-07DS: Fix compilation with devkitARM r47Cameron Cawley
2018-03-12CONFIGURE: Add a static builds switchHubert Maier
Configure will still build every target with shared objects by default. Done: - Added a configure switch (--enable-static) for static builds - Right now only tested for SDL targets (checked working on AmigaOS4 with SDL1/2) Missing: - Add the platforms that need the switch for cross-compiling (macOS, iOS, probably more) (I can´t do that myself as i have never cross-compiled and wouldn´t be able to check) @csnover asked on the forums to create a PR for it, so, with my limited (non-existant is more like it) knowledge, i wrapped something up. I *know* that it isn´t enough, as there already is some kind of static builds flag in configure (_engines_built_static). As i don´treally know if this is the same or a different cause (static plugins?), i´m not touching it. But please feel free to add or change what needs to be done.
2018-02-04PS3: Enable the mt32 emulatorBastien Bouclet
Either the newer munt, the newer toolchain or the better compiler flags made it run well enough.
2018-02-04PS3: Use -mno-fp-in-toc instead of -mminimal-tocBastien Bouclet
-mno-fp-in-toc is enough not to overflow the TOC. According to the GCC documentation this allows for faster code to be generated than with -mminimal-toc.
2018-01-26RISCOS: Don't list RISC OS as a POSIX platformCameron Cawley