Commit Graph

872 Commits

Author SHA1 Message Date
Dmitry Smirnov
1d0df53355 BUILD: GNU Hurd & kFreeBSD support
From: Petr Salinger <Petr.Salinger@seznam.cz>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711320
Bug-ScummVM: https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3614268&group_id=37116
2013-06-06 18:51:26 +02:00
Marcus Comstedt
38b6779136 CONFIGURE: Fix 16bit test for Dreamcast
The Dreamcast backend is called "dc", not "dreamcast".
2013-05-12 16:26:56 +02:00
Max Horn
ab50935afc CONFIGURE: Do not pass LDFLAGS to compiler when -c is specified
This fixes compatibility issues with clang when using -enable-Werror:
clang generates a warning when being passed both "-c" and linker-only
flags like "-L" or "-l". Combined with -Werror, this causes a spurious
configure failure.
2013-04-18 19:56:07 +02:00
digitall
06afc39590 CONFIGURE: Fix OpenGL test broken in previous commit. 2013-04-17 20:02:09 +01:00
digitall
002c6dec0e CONFIGURE: Add workaround for MinGW Win32 antivirus false positive on build.
This is triggered by the scummvm-conf.exe binary produced from the OpenGL test.

It is detected by a generic signature in AVG, Malware-bytes and several other
antivirus programs, so not easy to get this fixed.

This workaround avoids this by adding some redundant output code to the binary
which changes it enough to avoid the signature.
2013-04-17 19:51:23 +01:00
Johannes Schickel
9fa5ac35bf Merge pull request #304 from lordhoto/configure-no-release-default
CONFIGURE: Never enable release_build by default.
2013-02-07 06:16:56 -08:00
hasufell
b65365e0d3 CONFIGURE: Fix build under et_EE locale
Freetype-config reports a broken include dir
when et_EE locale is used. We set LC_ALL
and LANGUAGE to "C" explicitly like autoconf
does to force consistent behavior.
2013-02-01 19:31:15 +01:00
Johannes Schickel
0c5bcc3be8 CONFIGURE: Use -O3 for OpenPandora when optimizations are requested.
Formerly -O3 was only used for release builds.
2013-01-31 01:26:00 +01:00
Johannes Schickel
3a7627812d CONFIGURE: Never enable release_build by default.
This changes the default for Caanoo, GP2x, GP2xWiz, OpenPandora and PS2.
For those now we only disable debug symbols and enable optimizations by
default.
2013-01-26 15:27:34 +01:00
Johannes Schickel
d198ccac26 CONFIGURE: Add option to build as C++11. 2013-01-09 07:53:41 +01:00
Johannes Schickel
ed53292194 CONFIGURE: Allow amd64 as alias for x86_64.
Patch from #3599990 "CONFIGURE: Equate amd64 with x86_64".
2013-01-09 05:10:42 +01:00
D G Turner
19eea946ec CONFIGURE: Use correct prefixed binaries for AmigaOS cross-compile. 2012-11-16 10:18:02 +00:00
D G Turner
e6a4bd8055 CONFIGURE: Force static build when crosscompiling for AmigaOS. 2012-11-14 20:43:27 +00:00
Johannes Schickel
b52274d011 CONFIGURE: Use -fPIC instead of -fpic on Linux and FreeBSD.
This allows compilation of plugins on PowerPC. This is done similar to what
was proposed in patch #3575572 "Fails to build on Linux PowerPC when using plugins".
I chose to use -fPIC unconditionally, since it will only make a difference on
platforms, which will require -fPIC, like PowerPC. On amd64 for example gcc
produces the same code.
2012-10-22 23:16:07 +02:00
David-John Willis
686775138d CONFIGURE: Clean up OpenPandora flags and add define for USE_ARM_NEON_ASPECT_CORRECTOR 2012-10-21 18:46:58 +01:00
Willem Jan Palenstijn
7cdda8efd2 CONFIGURE: Fix subengine status output
We were reporting subengine status before checking its dependencies.
2012-09-24 17:26:41 +02:00
Willem Jan Palenstijn
f16bb13f94 CONFIGURE: Update add_engine comment 2012-09-13 14:25:24 +02:00
Willem Jan Palenstijn
f8e93ea9f7 CONFIGURE: Clarify all-games status output checks 2012-09-11 21:12:52 +02:00
Willem Jan Palenstijn
1b20f731d1 CONFIGURE: Clean up subengine string generation 2012-09-11 21:12:52 +02:00
Willem Jan Palenstijn
8a796d0766 CONFIGURE: Move engine base support strings to configure.engines 2012-09-11 21:11:25 +02:00
Willem Jan Palenstijn
08d641a0be CONFIGURE: Add base engine descriptions to more engines
Only SCUMM and SAGA had such a description previously.
2012-09-11 19:16:51 +02:00
Willem Jan Palenstijn
f98a8bb98c CONFIGURE: Automatically enable parent engine if subengine is enabled 2012-09-11 18:39:03 +02:00
Willem Jan Palenstijn
8ac07bc349 CONFIGURE: Clean up all-games test 2012-09-11 18:38:40 +02:00
Willem Jan Palenstijn
08bc6f85ad CONFIGURE: Fix more unintentional globbing 2012-09-11 18:38:14 +02:00
Willem Jan Palenstijn
7c23394b37 CONFIGURE: Prevent [] in subengine list from triggering globbing 2012-09-11 10:50:59 +02:00
Willem Jan Palenstijn
000feae4cf CONFIGURE: Do dependency checking for all enabled engines
Engines with manually specified dynamic/static were skipped previously.
2012-09-11 09:57:42 +02:00
Johannes Schickel
afcc8ecddc CONFIGURE: behaviour -> behavior.
Done to trigger a full rebuild on buildbot.
2012-09-09 18:40:24 +02:00
Johannes Schickel
ac720acc67 CONFIGURE: Update documentation for add_engine. 2012-09-04 20:38:21 +02:00
Johannes Schickel
a83bca79da CONFIGURE: Add initial virtual feature support.
This is used to support features as dependencies, which can be supplied by
multiple sources, like it is the case for Vorbis support.
2012-09-04 20:38:17 +02:00
Willem Jan Palenstijn
2a5eaf4d4a CONFIGURE: Use new engine dependency mechanism for sword25/zlib 2012-08-31 23:07:55 +02:00
Johannes Schickel
1cc58ce679 CONFIGURE: Allow dependency checks for engines.
Also adds PNG as a dependency for sword25 and removes the hardcoded check for
it.
2012-08-31 22:30:25 +02:00
Bertrand Augereau
ede8b063cc SCUMM: Workaround : USE_ARM_COSTUME_ASM is buggy as visible during Indy 4 intro on OpenPandora, iPhone and probably others.
(The appearing logo is distorted)
2012-08-31 19:08:50 +02:00
Bastien Bouclet
1d58ebe133 PS3: Force use of freetype from ps3toolchain 2012-08-21 16:21:10 +02:00
Johannes Schickel
eff6ea09fb Revert "CONFIGURE: Don't disable the sword25 engine when libpng is not found"
This reverts commit 7543c3ba5f.
We depend on libpng for PNG decoding again, thus disable sword25 when libpng
is not available.
2012-08-21 02:13:19 +02:00
Johannes Schickel
05eb6eecfc Merge pull request #262 from somaen/pngwithlibpng
GRAPHICS: Reimplement the PNG-decoder using libpng
2012-08-20 17:12:52 -07:00
Einar Johan Trøan Sømåen
af05b1b80e GRAPHICS: Reimplement the PNG-decoder using libpng 2012-08-20 21:14:59 +02:00
Matthew Hoops
eccb55570e BUILD: Fix statically compiling with libfluidsynth on Mac OS X 2012-08-19 20:41:34 -04:00
David-John Willis
e7ae58f2e4 CONFIGURE: Set DISABLE_SAVELOADCHOOSER_GRID for the GPH backend.
* Move some backend settings from the host selection to the backend.
* Also remove stale referances to the old GP2X backend.
2012-08-16 10:57:44 +01:00
David-John Willis
fbf193f756 CONFIGURE: Add case for selecting OpenGL ES support on the OpenPandora. 2012-08-08 13:49:48 +01:00
Fabio Battaglia
ed3d9d26dc CONFIGURE: Set dingux optimization level to -O3 2012-06-22 14:08:33 +02:00
Fabio Battaglia
6fb8009db4 Disable Alsa Midi in Dingux/OpenDingux port
Disabling (useless) Alsa Midi solves a compilation problem
on the OpenDingux port
2012-06-22 13:11:57 +02:00
Max Horn
5de3f9c765 ALL: Correct spelling of "Mac OS X" in various places 2012-05-31 10:30:29 +02:00
Jonathan Gray
8cfe25cd65 MIDI: add sndio midi backend
New sndio MIDI backend for OpenBSD written by Alexandre Ratchov.
Tested with an external MT-32 and fluidsynth.
2012-05-15 16:39:21 +10:00
Bastien Bouclet
cc2b95b068 PS3: Fix build using lastest ps3toolchain 2012-04-27 14:12:55 +02:00
Joost Peters
fe4cd8d9ff CONFIGURE: fix typo in --with-freetype2-prefix help message 2012-04-26 21:27:08 +02:00
Alyssa Milburn
4520b115e9 CONFIGURE: Fix out-of-tree builds. 2012-04-19 10:23:38 +02:00
Max Horn
c638730fbc BUILD: Move list of engines out of configure
The new file engines/configure.engines is currently manually created
and maintained, but could be regenerated by a script in the future.
2012-04-18 15:44:11 +02:00
Paweł Kołodziejski
fb3ac5a5ec OSX: allow make bundle with static freetype2 library 2012-03-21 06:36:40 +01:00
Johannes Schickel
7be7ef5a71 IPHONE: Update default build settings. (Disable scalers, mt32, timidity).
I took the freedom of also removing the unused OBJCFLAGS flag with this.
2012-02-26 01:31:22 +01:00
Johannes Schickel
69ab2a5279 IPHONE: Enable 16bpp support in configure. 2012-02-26 01:29:56 +01:00